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

Properties

optional
QuestName: string

SPT addition - human readable quest name

_id: string
canShowNotificationsInGame: boolean
description: string
failMessageText: string
name: string
note: string
traderId: string
location: string
image: string
isKey: boolean
deprecated
questStatus: QuestStatus
restartable: boolean
instantComplete: boolean
secretQuest: boolean
startedMessageText: string
successMessageText: string
acceptPlayerMessage: string
declinePlayerMessage: string
completePlayerMessage: string
templateId: string
rewards: IQuestRewards
status: string | number

Becomes 'AppearStatus' inside client

KeyQuest: boolean
changeQuestMessageText: string
side: string

"Pmc" or "Scav"

optional
sptStatus: QuestStatus

Status of quest to player

Properties

optional
QuestName: string

SPT addition - human readable quest name

_id: string
canShowNotificationsInGame: boolean
description: string
failMessageText: string
name: string
note: string
traderId: string
location: string
image: string
isKey: boolean
deprecated
questStatus: QuestStatus
restartable: boolean
instantComplete: boolean
secretQuest: boolean
startedMessageText: string
successMessageText: string
acceptPlayerMessage: string
declinePlayerMessage: string
completePlayerMessage: string
templateId: string
rewards: IQuestRewards
status: string | number

Becomes 'AppearStatus' inside client

KeyQuest: boolean
changeQuestMessageText: string
side: string

"Pmc" or "Scav"

optional
sptStatus: QuestStatus

Status of quest to player

Properties

Started: IQuestCondition[]
AvailableForFinish: IQuestCondition[]
AvailableForStart: IQuestCondition[]
Success: IQuestCondition[]

Properties

id: string
optional
index: number
optional
compareMethod: string
dynamicLocale: boolean
optional
visibilityConditions: VisibilityCondition[]
optional
globalQuestCounterId: string
optional
parentId: string
target: string[] | string
optional
value: string | number
optional
type: boolean
optional
status: QuestStatus[]
optional
availableAfter: number
optional
dispersion: number
optional
onlyFoundInRaid: boolean
optional
oneSessionOnly: boolean
optional
doNotResetIfCounterCompleted: boolean
optional
dogtagLevel: number
optional
maxDurability: number
optional
minDurability: number
optional
counter: IQuestConditionCounter
optional
plantTime: number
optional
zoneId: string
optional
countInRaid: boolean
optional
completeInSeconds: number
optional
isEncoded: boolean
optional
conditionType: string

Properties

id: string
dynamicLocale: boolean
optional
target: string[] | string
optional
completeInSeconds: number
optional
energy: IValueCompare
optional
exitName: string
optional
hydration: IValueCompare
optional
time: IValueCompare
optional
compareMethod: string
optional
value: number
optional
weapon: string[]
optional
distance: ICounterConditionDistance
optional
equipmentInclusive: string[][]
optional
weaponModsInclusive: string[][]
optional
weaponModsExclusive: string[][]
optional
enemyEquipmentInclusive: string[][]
optional
enemyEquipmentExclusive: string[][]
optional
weaponCaliber: string[]
optional
savageRole: string[]
optional
status: string[]
optional
bodyPart: string[]
optional
daytime: IDaytimeCounter
optional
conditionType: string
optional
enemyHealthEffects: IEnemyHealthEffect[]
optional
resetOnSessionEnd: boolean

Properties

bodyParts: string[]
effects: string[]

Properties

compareMethod: string
value: number

Properties

value: number
compareMethod: string

Properties

from: number
to: number

Properties

id: string
target: string
optional
value: number
optional
dynamicLocale: boolean
oneSessionOnly: boolean
conditionType: string

Properties

optional
AvailableForStart: IQuestReward[]
optional
AvailableForFinish: IQuestReward[]
optional
Started: IQuestReward[]
optional
Success: IQuestReward[]
optional
Fail: IQuestReward[]
optional
FailRestartable: IQuestReward[]
optional
Expired: IQuestReward[]

Properties

optional
value: string | number
optional
id: string
index: number
optional
target: string
optional
items: Item[]
optional
loyaltyLevel: number
optional
traderId: string

Hideout area id

optional
unknown: boolean
optional
findInRaid: boolean