net.anisota.player.state

anisota.net

Documentation

Ephemeral player state for cross-device sync. Singleton record (rkey: self), overwritten via putRecord.

main record

Ephemeral player state for cross-device sync. Singleton record (rkey: self), overwritten via putRecord.

Record Key any Any valid record key

Properties

activeBlocksIntentionDaily string Optional

Target active blocks per day (decimal string, e.g. '6')

activityIntentionConsuming7d string Optional

Deprecated: use activityIntentionTotal7d. Target weekly consuming count.

activityIntentionCreating7d string Optional

Deprecated: use activityIntentionTotal7d. Target weekly creating count.

activityIntentionTotal7d string Optional

Target total weekly activity count, sum of all actions (decimal string, e.g. '500')

activityIntentionX string Optional

Activity style intention X position as grid percentage (0-100, consuming axis)

activityIntentionY string Optional

Activity style intention Y position as grid percentage (0-100, creating axis)

currentLight string Optional

Current light charge in Wh (decimal string, e.g. '280.0')

currentStamina string Optional

Current stamina level (decimal string, e.g. '42.5')

equipped unknown Optional

Equipment slots: object mapping slotId (hands, backpack, camp) to arrays of equipped item ID strings

lastSessionStart string datetime Optional

When the current session started (for multi-device awareness)

lightDrainActive boolean Optional

Whether light drain was active when state was saved

slotCapacity unknown Optional

Slot capacity overrides: object mapping slotId to integer capacity (for upgrades). Slots not listed use default capacity.

starterItemsGranted boolean Optional

Whether the player has received their starter items

triggerSource string Optional

What caused this state snapshot (visibility_hidden, session_end, stamina_depleted, manual)

tutorialCompletedAt string datetime Optional

When the player completed (or skipped) the interactive tutorial. Presence of this field means the tutorial is done; absence means it has not been completed.

updatedAt string datetime Required

When this state snapshot was taken

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "updatedAt"
    ],
    "properties": {
      "equipped": {
        "type": "unknown",
        "description": "Equipment slots: object mapping slotId (hands, backpack, camp) to arrays of equipped item ID strings"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "When this state snapshot was taken"
      },
      "currentLight": {
        "type": "string",
        "description": "Current light charge in Wh (decimal string, e.g. '280.0')"
      },
      "slotCapacity": {
        "type": "unknown",
        "description": "Slot capacity overrides: object mapping slotId to integer capacity (for upgrades). Slots not listed use default capacity."
      },
      "triggerSource": {
        "type": "string",
        "description": "What caused this state snapshot (visibility_hidden, session_end, stamina_depleted, manual)"
      },
      "currentStamina": {
        "type": "string",
        "description": "Current stamina level (decimal string, e.g. '42.5')"
      },
      "lastSessionStart": {
        "type": "string",
        "format": "datetime",
        "description": "When the current session started (for multi-device awareness)"
      },
      "lightDrainActive": {
        "type": "boolean",
        "description": "Whether light drain was active when state was saved"
      },
      "activityIntentionX": {
        "type": "string",
        "description": "Activity style intention X position as grid percentage (0-100, consuming axis)"
      },
      "activityIntentionY": {
        "type": "string",
        "description": "Activity style intention Y position as grid percentage (0-100, creating axis)"
      },
      "starterItemsGranted": {
        "type": "boolean",
        "description": "Whether the player has received their starter items"
      },
      "tutorialCompletedAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the player completed (or skipped) the interactive tutorial. Presence of this field means the tutorial is done; absence means it has not been completed."
      },
      "activityIntentionTotal7d": {
        "type": "string",
        "description": "Target total weekly activity count, sum of all actions (decimal string, e.g. '500')"
      },
      "activeBlocksIntentionDaily": {
        "type": "string",
        "description": "Target active blocks per day (decimal string, e.g. '6')"
      },
      "activityIntentionCreating7d": {
        "type": "string",
        "description": "Deprecated: use activityIntentionTotal7d. Target weekly creating count."
      },
      "activityIntentionConsuming7d": {
        "type": "string",
        "description": "Deprecated: use activityIntentionTotal7d. Target weekly consuming count."
      }
    }
  },
  "description": "Ephemeral player state for cross-device sync. Singleton record (rkey: self), overwritten via putRecord."
}

Lexicon Garden

@