net.anisota.player.state
Ephemeral player state for cross-device sync. Singleton record (rkey: self), overwritten via putRecord.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | player.anisota.net |
| Commit rev | 3n2tvobpsxo26 |
| Indexed |
Showing version bafyreih4vv36375eadnkbzzg6kf3sy57kpcyunqggc4nuziwk23av5svju. Show the latest
Record
record · key anyProperties
acceptedTermsAt
string · datetimeISO datetime the player most recently accepted the Terms of Service / Privacy Policy.
acceptedTermsVersion
integerThe highest Terms of Service / Privacy Policy version this player has accepted (see src/utils/termsVersion.js TERMS_VERSION). Drives the first-run acceptance gate; when this is below the current TERMS_VERSION the user is re-prompted to accept.
Target active blocks per day (decimal string, e.g. '6')
Deprecated: use activityIntentionTotal7d. Target weekly consuming count.
Deprecated: use activityIntentionTotal7d. Target weekly creating count.
activityIntentionTotal7d
stringTarget total weekly activity count, sum of all actions (decimal string, e.g. '500')
activityIntentionX
stringActivity style intention X position as grid percentage (0-100, consuming axis)
activityIntentionY
stringActivity style intention Y position as grid percentage (0-100, creating axis)
appMode
stringRetired with the app mode: from the 2027 season the app leaves it out of its writes. Chosen app experience: 'story' (full immersive) or 'open' (simpler). Authoritative cross-device value for the mode picked during onboarding.
completedChapters
unknownObject mapping completed story/onboarding chapter ids (e.g. 'welcome') to the ISO datetime they were completed. Drives whether the onboarding/changelog overlays are shown.
currentLight
stringRetired with the lamp: from the 2027 season the app leaves it out of its writes. Current light charge in Wh (decimal string, e.g. '280.0')
currentStamina
stringCurrent stamina level (decimal string, e.g. '42.5')
equipped
unknownRetired with items and gear: from the 2027 season the app leaves it out of its writes. Equipment slots: object mapping slotId (hands, backpack, camp) to arrays of equipped item ID strings
inventoryMigrationV2
booleanRetired with items in the 2027 season, but kept on every record so an old cached build never re-runs its inventory migration. Whether the v2 inventory/equipment migration has been applied for this player.
inventoryMigrationV3
booleanRetired with items in the 2027 season, but kept on every record so an old cached build never re-runs its inventory migration. Whether the v3 inventory/equipment migration (power-station id remap) has been applied for this player.
lastSessionStart
string · datetimeWhen the current session started (for multi-device awareness)
lightDrainActive
booleanRetired with the lamp: from the 2027 season the app leaves it out of its writes. Whether light drain was active when state was saved
longestRestMinutes
stringRetired with walks: from the 2027 season the app leaves it out of its writes. Rest ledger high-water-mark: the longest rest stretch ever (time away from the forest between walks) in minutes, as a decimal string. Monotonic — only ever increases. Everything else the rest ledger shows is computed on read from the walk records; this is the one durable figure.
onboardingGoals
stringComma-joined list of goal ids the player selected during onboarding (e.g. 'offline-more,reply-more'). Stored as a string to avoid depending on array support.
slotCapacity
unknownRetired with items and gear: from the 2027 season the app leaves it out of its writes. Slot capacity overrides: object mapping slotId to integer capacity (for upgrades). Slots not listed use default capacity.
starterItemsGranted
booleanRetired with items in the 2027 season, but kept on every record so an old cached build never re-runs its inventory migration. Whether the player has received their starter items
triggerSource
stringWhat caused this state snapshot (visibility_hidden, session_end, stamina_depleted, manual)
tutorialCompletedAt
string · datetimeWhen the player completed (or skipped) the interactive tutorial. Presence of this field means the tutorial is done; absence means it has not been completed.
When this state snapshot was taken
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Quest system state for cross-device sync (dismissals, nudge timing, visited routes). One record per game season (rkey: self before the 2027 season, and the season id, e.g. 2027, from then on), overwritten via putRecord. Client-written (no backend signing). Distinct from net.anisota.chronicle.fieldwork (immutable, backend-signed completion records).