TakeTreasure
Empty a cache or pile into the party's packs (one turn, RAW).
Full documentation: TakeTreasure. Wire type: take_treasure.
Legal session modes: exploring
JSON Schema
{
"description": "Empty a cache or pile into the party's packs (one turn, RAW).\n\nThe party must be exploring a dungeon (see\n[`EnterDungeon`][osrlib.crawl.commands.EnterDungeon]). `feature_id` names an\nauthored cache, an engine-generated cache, or the literal `pile` for goods\ndropped on the cell. The leading living member carries everything; taking a\ntrapped cache with its trap unresolved risks springing it.\n\nModes:\n `exploring`\n\nRejections:\n - `session.command.wrong_mode` \u2014 the session is not exploring a dungeon.\n - `session.command.no_living_members` \u2014 no one is left to carry.\n - `exploration.feature.unknown` \u2014 nothing by that id on this cell.\n - `exploration.feature.emptied` \u2014 the cache has already been emptied.\n\nEvents:\n [`ItemAcquiredEvent`][osrlib.crawl.events.ItemAcquiredEvent] listing the\n goods and coin value. An unresolved treasure trap rolls first\n ([`DetectionRolledEvent`][osrlib.crawl.events.DetectionRolledEvent], a\n [`TrapEvent`][osrlib.crawl.events.TrapEvent], and the trap's resolution\n when it springs). Under the immediate XP timing an\n [`XpAwardedEvent`][osrlib.crawl.events.XpAwardedEvent] follows per member.\n One turn passes.",
"properties": {
"command_type": {
"const": "take_treasure",
"default": "take_treasure",
"title": "Command Type",
"type": "string"
},
"feature_id": {
"title": "Feature Id",
"type": "string"
}
},
"required": [
"feature_id"
],
"title": "TakeTreasure",
"type": "object"
}