Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface IQuestConfig.IQuestConfig
implements IBaseConfig
Re-export
import { type IQuestConfig } from "https://deno.land/x/sptaki@1.2.0/models/spt/mod.ts";
const { IQuestConfig } = IQuestConfig;

Properties

kind: "aki-quest"
redeemTime: number
questTemplateIds: IPlayerTypeQuestIds
showNonSeasonalEventQuests: boolean

Show non-seasonal quests be shown to player

eventQuests: Record<string, IEventQuestData>
repeatableQuests: IRepeatableQuestConfig[]
locationIdMap: Record<string, string>
bearOnlyQuests: string[]
usecOnlyQuests: string[]

Properties

kind: "aki-quest"
redeemTime: number
questTemplateIds: IPlayerTypeQuestIds
showNonSeasonalEventQuests: boolean

Show non-seasonal quests be shown to player

eventQuests: Record<string, IEventQuestData>
repeatableQuests: IRepeatableQuestConfig[]
locationIdMap: Record<string, string>
bearOnlyQuests: string[]
usecOnlyQuests: string[]

Properties

Elimination: string
Completion: string
Exploration: string

Properties

name: string
season: SeasonalEventType
startTimestamp: number
endTimestamp: number
yearly: boolean

Properties

id: string
name: string
side: string
types: string[]
resetTime: number
numQuests: number
minPlayerLevel: number
rewardScaling: IRewardScaling
locations: Record<ELocationName, string[]>
traderWhitelist: ITraderWhitelist[]
rewardBaseTypeBlacklist: string[]

Item base types to block when generating rewards

rewardBlacklist: string[]

Item tplIds to ignore when generating rewards

rewardAmmoStackMinSize: number

Properties

levels: number[]
experience: number[]
roubles: number[]
items: number[]
reputation: number[]
rewardSpread: number
skillRewardChance: number[]
skillPointReward: number[]

Properties

traderId: string
questTypes: string[]
rewardBaseWhitelist: string[]
rewardCanBeWeapon: boolean
weaponRewardChancePercent: number

Properties

Exploration: IExploration
Completion: ICompletion
Pickup: IPickup
Elimination: IEliminationConfig[]

Properties

maxExtracts: number
maxExtractsWithSpecificExit: number
specificExits: ISpecificExits

Properties

probability: number
passageRequirementWhitelist: string[]

Properties

minRequestedAmount: number
maxRequestedAmount: number
uniqueItemCount: number
minRequestedBulletAmount: number
maxRequestedBulletAmount: number
useWhitelist: boolean
useBlacklist: boolean

Properties

ItemTypeToFetchWithMaxCount: IPickupTypeWithMaxCount[]

Properties

itemType: string
maxPickupCount: number
minPickupCount: number

Properties

levelRange: MinMax
targets: ITarget[]
bodyPartProb: number
bodyParts: IBodyPart[]
specificLocationProb: number
distLocationBlacklist: string[]
distProb: number
maxDist: number
minDist: number
maxKills: number
minKills: number
minBossKills: number
maxBossKills: number
minPmcKills: number
maxPmcKills: number
weaponCategoryRequirementProb: number
weaponCategoryRequirements: IWeaponRequirement[]
weaponRequirementProb: number
weaponRequirements: IWeaponRequirement[]

Properties

possibleSkillRewards: string[]

Properties

isBoss: boolean
isPmc: boolean

Properties

data: string[]

Properties

data: string[]

Properties

key: string
relativeProbability: number
optional
data: any