Skip to content
ASArcaneMP Scripting APIScripting reference
Global objectClient APIGenerated

FieldGuide

const FieldGuide: object

Defined in: client/api.d.ts:8176

The local character’s collections and challenges, for saving and restoring them per character.

challenges(prefix?): FieldGuideChallenge[] | null

Challenge records; null before ready().

string

Only ids starting with this, e.g. FGC_ for the Challenges menu.

FieldGuideChallenge[] | null

collections(category?): FieldGuideCollectionItem[] | null

Collection items with their state; null before ready().

string

Only this category, e.g. Exploration for Revelio pages.

FieldGuideCollectionItem[] | null

ready(): boolean

Whether the Field Guide state can be read and restored yet.

boolean

restore(snapshot): FieldGuideRestoreResult

Replaces the character’s collections, challenges, challenge locks and page world state with the snapshot’s, the way a save load does: nothing is collected, counted, paid or granted again, and no event fires. Absolute: what the snapshot leaves out goes back to its default.

FieldGuideSnapshot | null

A snapshot() result; null resets the character to a fresh Field Guide.

FieldGuideRestoreResult

snapshot(): FieldGuideSnapshot | null

Everything restore() takes back, as plain JSON; null before ready().

FieldGuideSnapshot | null