docs(runicnpc): stage 6 spike, measured on both rigs; D283–D284 #314
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/runicnpc-stage6-spike"
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?
What
Stage 6's spike results (D282), in
runicnpc/PLAN.mdstage 6, "Measured", and your two answers to the questions they raised (D283, D284). The harness is runicnpc-rust#9:rnt.spike6, 26 of 26 on each rig.OnUseNPCon either framework, and Rust ignores the use button server-side. It goes throughOnPlayerInput, which costs ~7 ns a tick; a 3 m ray hits our NPC 9 times in 9.updateworks on both frameworks, so a redraw is 434 B. It costs 115–200 µs to build, and 6–8 µs to find who sees it with a distance loop (the sphere query costs 316–357 µs).EquipWeapon, or it holds nothing. 3–7 ms; ~100 ms the first time the server makes that weapon.data/Kits/kits_data.json. A reload picks up a written kit and keeps players' usage, including a claim held only in memory. Oxide 3.5–15 s, Carbon 0.4–2.3 s.IsHiddendoes not stop/kit <name>.// Requires: Kitsmakes every Kits reload unload RunicNPC too, on both frameworks, killing its NPCs, an event's included.Your answers (2026-10-05)
// Requires: Kits. A Kits reload reloads RunicNPC and loses the NPCs it had spawned; placements respawn, an event's NPCs do not. The operator documentation says not to reload Kits during an event.Proposed with D284; merging this PR approves them:
rnpc_raider,rnpc_campguard,rnpc_sniperandrnpc_juggernaut;RequiredPermission: runicnpc.examplekits, which nobody is granted, so players can't claim the kits by name;Checklist
Claude Code (Claude Opus 5.5). The commits carry theCo-Authored-Bytrailer.🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
docs(runicnpc): stage 6 spike, measured on both rigsto docs(runicnpc): stage 6 spike, measured on both rigs; D283–D284