feat(rust): Dangerous Treasures — feed, map, Treasure Hunter, Start a Dangerous Treasures event (PLAN_REDESIGNS §14.3.4) #47
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/dangerous-treasures"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stage 5 of the §14.3 integration plan, on protocol 14. Spec: docs
rust-link/PROTOCOL.md§20.8. Record:modules/rust/PLAN_REDESIGNS.md§14.3.18.Feed.
dt.startedanddt.wonare public kinds;dt.endedis staff's. The newdangerousTreasures.jsreads each row for its viewer:Lines, in the World events filter: "A Dangerous Treasures event has started · K12", "Alice won the treasure · K12 · 3 players fought for it".
Triggers
rust.dt.started(withbyEvent) andrust.dt.won: public, cooldown subject the server, names only.The step
rust.dt.start, Start a Dangerous Treasures event (riskchange, reversiblenone, budgetrust.dt.events): pick a server and a difficulty; DT picks the spot.console.pluginsis false (naming Rust-Plugins#34).dt-not-readyanswers "Dangerous Treasures is not ready yet" withretryAfterMs: 600000(D365, D371).dt-no-spotretries on core's ordinary delay. DT's own refusals are not retried.Treasure Hunter (D375):
treasuresWonis stored astreasures_won, with the title categorytreasureswonand a sortable Treasures column. The column shows where the server reports DT or a row already counts one.Map: a running chest is drawn on the world layer.
Server settings: the plugin line names DT and says whether a step can start one, from the admin integrations read's new
consolefield.Core pin:
coreApiis now^1.15.0, andci/core-ref.jsonis pinned to websitemainat #215's merge.Housekeeping:
ci/bundle.jsonships the two new files; the swagger fragment and engagement manifest are regenerated; README lists DT.Tested:
test/dangerousTreasures.test.js; imports, bundle, swagger and engagement checks pass.AI-assisted: written with Claude Code (disclosed per org policy).
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY