feat(rust): loot on the NPC profile form, and the Place NPCs step's "drop loot" switch (runicnpc stage 7) #32

Merged
whitlocktech merged 2 commits from feat/runicnpc-stage7 into edge 2026-10-06 07:16:46 +00:00
Member

What

  • The profile form's Loot section (D295):
    • what the corpse starts with (Rust's scientist loot, the kit, or nothing);
    • rows that always roll, each with its chance;
    • a pool capped at its picks, with a "nothing" weight;
    • which crate the table goes into, and a locked crate's hack time in minutes;
    • how long the corpse stays.
  • The checks: the site checks the block as RunicNPC does, in its words. Whether an item exists on a server is left to RunicNPC on the push.
  • The Place NPCs step's dropLoot switch (D296): on by default, and sent only when off.
  • The profile list now says "own loot" for a profile with a table. Found on the walk.

Tested

  • Tests: 494 server and 67 client tests pass, and every check:* script.
  • Walk: walked on both rigs, signed in as an admin.
    • A loot profile was made on the form and pushed. The rig held the block as typed.
    • It was edited twice (an empty start with a military crate, then a 17-minute locked crate). Each edit reopened with its saved values.
    • Events: an event with "drop loot" off was authored, dry-run, published and started from the editor. Its NPC dropped no table.

Checklist

  • I have read CONTRIBUTING.md.
  • AI tools were used. Tool(s): Claude Code (Claude Opus 5.5). The commits carry 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 - **The profile form's Loot section (D295):** - what the corpse starts with (Rust's scientist loot, the kit, or nothing); - rows that always roll, each with its chance; - a pool capped at its picks, with a "nothing" weight; - which crate the table goes into, and a locked crate's hack time in minutes; - how long the corpse stays. - **The checks:** the site checks the block as RunicNPC does, in its words. Whether an item exists on a server is left to RunicNPC on the push. - **The Place NPCs step's `dropLoot` switch (D296):** on by default, and sent only when off. - **The profile list** now says "own loot" for a profile with a table. Found on the walk. ## Tested - **Tests:** 494 server and 67 client tests pass, and every `check:*` script. - **Walk:** walked on both rigs, signed in as an admin. - A loot profile was made on the form and pushed. The rig held the block as typed. - It was edited twice (an empty start with a military crate, then a 17-minute locked crate). Each edit reopened with its saved values. - Events: an event with "drop loot" off was authored, dry-run, published and started from the editor. Its NPC dropped no table. ## Checklist - [x] I have read CONTRIBUTING.md. - [x] AI tools were used. Tool(s): `Claude Code (Claude Opus 5.5)`. The commits carry 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 2 commits 2026-10-06 06:44:09 +00:00
The profile form's Loot section (D290-D301):

- what the corpse starts with (Rust's scientist loot, the kit, or
  nothing);
- rows that always roll, each with its chance;
- a pool capped at its picks, with a "nothing" weight;
- which crate the table goes into, and a locked crate's hack time;
- how long the corpse stays.

The site checks the block as RunicNPC does, in its words. Whether an
item exists on a server is RunicNPC's to say on the push.

The Place NPCs step's dropLoot switch (D296), on by default and sent
only when off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
fix(rust): the profile list says "own loot" for a profile with a loot table
All checks were successful
PR Checks / server-tests (pull_request) Successful in 27s
PR Checks / frozen-manifest (pull_request) Successful in 49s
PR Checks / client-build (pull_request) Successful in 7m42s
34ca84f6be
Found on the stage 7 walk: a profile with its own loot read exactly like
one without in the list under the form, where a boss already says
"boss".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech merged commit 3c3d154b36 into edge 2026-10-06 07:16:46 +00:00
whitlocktech deleted branch feat/runicnpc-stage7 2026-10-06 07:16:47 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RunicGateway/Module-Rust#32
No description provided.