docs(runicnpc): stage 7 decisions D290–D299 (loot) #318

Merged
whitlocktech merged 5 commits from docs/runicnpc-stage7-decisions into main 2026-10-06 00:44:53 +00:00
Member

What

Your answers of 2026-10-05 for stage 7 (loot), in runicnpc/PLAN.md (§0, §7 and stage 7).

# Decision
D290 What a corpse starts with is the profile's: Rust's scientist loot (default, as today), the kit it wore, or nothing. Its loot table is added on top.
D291 A table is rows that always roll (each its own chance and amount), plus a pool that picks at most N by weight, with an optional "nothing". The pool is the cap.
D292 A profile may put its table into a crate instead: wooden box, military crate, elite crate, or the hackable locked crate.
D293 Anyone may loot, as in Rust.
D294 How long the corpse stays is the profile's: Rust's default, seconds, or none.
D295 One table per profile. The site edits it, but RunicNPC is first-class and does not depend on the website.
D296 An event's Place NPCs step has a "drop loot" switch, on by default.
D297 The locked crate's hack timer is the profile's, Rust's 15 minutes by default.
D298 Without a site, a table is edited in the data file and read again with rnpc.reload. No new in-game commands.
D299 One stage, spike first on both rigs, walked once.

Stage 7's section now lists the spike:

  • the corpse-loot hook, and whether our subclass can fill the corpse itself;
  • the crates;
  • whether the locked crate's timer can be set per crate (Rust's is one server-wide setting);
  • removing a corpse.

This branch sits on docs#317 (which itself carries docs#316), so the decisions table continues from D289. Merge those first and this diff is its own commit.

Checklist

  • I have read CONTRIBUTING.md.
  • Docs only.
  • AI tools were used. Tool(s): Claude Code (Claude Opus 5.5). The commit carries the Co-Authored-By trailer.
  • I agree that my contribution is licensed under GPL-3.0-or-later.

🤖 Generated with Claude Code

https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY

## What Your answers of 2026-10-05 for stage 7 (loot), in `runicnpc/PLAN.md` (§0, §7 and stage 7). | # | Decision | |---|---| | D290 | What a corpse starts with is the profile's: Rust's scientist loot (default, as today), the kit it wore, or nothing. Its loot table is added on top. | | D291 | A table is rows that always roll (each its own chance and amount), plus a pool that picks at most N by weight, with an optional "nothing". The pool is the cap. | | D292 | A profile may put its table into a crate instead: wooden box, military crate, elite crate, or the hackable locked crate. | | D293 | Anyone may loot, as in Rust. | | D294 | How long the corpse stays is the profile's: Rust's default, seconds, or none. | | D295 | One table per profile. The site edits it, but RunicNPC is first-class and does not depend on the website. | | D296 | An event's Place NPCs step has a "drop loot" switch, on by default. | | D297 | The locked crate's hack timer is the profile's, Rust's 15 minutes by default. | | D298 | Without a site, a table is edited in the data file and read again with `rnpc.reload`. No new in-game commands. | | D299 | One stage, spike first on both rigs, walked once. | Stage 7's section now lists the spike: - the corpse-loot hook, and whether our subclass can fill the corpse itself; - the crates; - whether the locked crate's timer can be set per crate (Rust's is one server-wide setting); - removing a corpse. **This branch sits on docs#317** (which itself carries docs#316), so the decisions table continues from D289. Merge those first and this diff is its own commit. ## Checklist - [x] I have read CONTRIBUTING.md. - [x] Docs only. - [x] AI tools were used. Tool(s): `Claude Code (Claude Opus 5.5)`. The commit carries the `Co-Authored-By` trailer. - [x] I agree that my contribution is licensed under GPL-3.0-or-later. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
wtclaude added 5 commits 2026-10-06 00:44:03 +00:00
D285 an event's boss rewards stay the Rust module's existing steps;
D286 spawn and death lines to everyone, phase lines to players near
the boss; D287 adds fight on after the boss dies; D288 a passive NPC
moves as its profile says; D289 the four example profiles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
API.md version 5: the profile's boss and use blocks, the passive role
and stand, the boss hooks and OnRunicNpcUsed, role and boss in
RunicNpc_List, RunicNpc_Despawn taking a boss's adds, the example kits
written once, and a Kits reload taking RunicNPC with it (D283).

PROTOCOL.md §19.14: npc.boss.spawned, npc.boss.phase and npc.boss.died,
their classes, and runicnpc_api 5.

PLAN.md stage 6: what was built, the builds it was tested on, the
harness and the site walk on both rigs, and what building it found.
The example kits' permission is kits.runicnpc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
The s6 group passed 41/41 on both rigs; its 42nd check (a dead boss's id
taking its adds) came with the walk's fix and has not been run in the
harness yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
The check that came with the adds teardown fix ran after the walk and
passed on both rigs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
Loot: the corpse's start is the profile's (Rust's scientist loot, the kit,
or nothing) with its table on top; a table is always-rows plus a pool
capped at N picks; an optional crate, the locked one included, with the
profile's hack timer; anyone loots; the corpse's time is the profile's;
one table per profile, edited in the data file without a site; an
event's Place NPCs step switches table loot; one stage, spike first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech merged commit cf34bbb339 into main 2026-10-06 00:44:53 +00:00
whitlocktech deleted branch docs/runicnpc-stage7-decisions 2026-10-06 00:44:54 +00:00
Sign in to join this conversation.
No description provided.