feat(bridge): a Place NPCs step's "drop loot" switch (runicnpc stage 7) #25

Merged
whitlocktech merged 1 commits from feat/runicnpc-stage7 into edge 2026-10-06 02:16:21 -05:00
Member

What

D296: world.place with a RunicNPC profile reads the step's dropLoot. When it is off, the NPCs spawn with {"loot":{"dropTable":false}} as their overrides. Their corpse still holds what the profile starts it with, but no table is rolled. When it is on, or absent (a step older than the switch), nothing changes.

  • RunicNpcApiNeeded = 6.
  • overlay.toml declares runicnpc_api = 6.
  • The wire is PROTOCOL.md §19.15 (in the docs PR).

Tested

Builds: Rust 2634.289.1 (buildid 25681086), Oxide 2.0.7801, Carbon 2.0.262.

  • Harness: the event-override check in RunicNPC's s7 group passed on both rigs.
  • Walk: walked on Oxide through the site. An event's Place NPCs step with "drop loot" off left an empty corpse and no crate. The placement's NPCs of the same profile dropped a locked crate.

Checklist

  • I have read CONTRIBUTING.md.
  • 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 D296: `world.place` with a RunicNPC profile reads the step's `dropLoot`. When it is off, the NPCs spawn with `{"loot":{"dropTable":false}}` as their overrides. Their corpse still holds what the profile starts it with, but no table is rolled. When it is on, or absent (a step older than the switch), nothing changes. - `RunicNpcApiNeeded = 6`. - `overlay.toml` declares `runicnpc_api = 6`. - The wire is `PROTOCOL.md` §19.15 (in the docs PR). ## Tested Builds: Rust 2634.289.1 (buildid 25681086), Oxide 2.0.7801, Carbon 2.0.262. - **Harness:** the event-override check in RunicNPC's `s7` group passed on both rigs. - **Walk:** walked on Oxide through the site. An event's Place NPCs step with "drop loot" off left an empty corpse and no crate. The placement's NPCs of the same profile dropped a locked crate. ## Checklist - [x] I have read CONTRIBUTING.md. - [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 1 commit 2026-10-06 01:44:04 -05:00
feat(bridge): a Place NPCs step's "drop loot" switch (runicnpc stage 7)
All checks were successful
PR Checks / plugin-checks (pull_request) Successful in 8s
1df3db57d3
world.place with a profile takes dropLoot (D296): false spawns the
NPCs with RunicNPC's {"loot":{"dropTable":false}} override, so they
keep their corpse's start but roll no table. Absent or true, as before.
runicnpc_api and RunicNpcApiNeeded are 6.

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

No dependencies set.

Reference: RunicGateway/Rust-Plugins#25
No description provided.