feat: API 5, bosses, passive NPCs and the example profiles (stage 6) #10
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/stage-6"
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
RunicNPC stage 6 (docs/runicnpc/PLAN.md stage 6; decisions D273–D289; API.md version 5).
bossblock on any role but passive, with a health bar for players within its distance and anyone who hurt it, redrawn in place at most 4×/s;OnRunicNpcBossSpawned,OnRunicNpcBossPhaseandOnRunicNpcBossDied.GetBestTargetandAttackTickare refused through IAIAttack, since Rust's design picks targetsIsTargetnever sees;stand;OnPlayerInputwith a chat line or a window, at most once a second; hookOnRunicNpcUsed.data/RunicNPC/state.json). Each kit needskits.runicnpc, which nobody holds.RunicNpc_Despawn(<boss net id>)also removes the adds that boss summoned, even after it died, so an event's teardown removes them.[NonSerialized].s6group (42 checks);rnt.stockprobeandrnt.monprobe.Tested
Tested on Rust buildid 25681086 (2634.289.1), Oxide 2.0.7801 and Carbon 2.0.262. Each was checked against the latest release before the runs.
s6: 42 of 42 on both rigs, includings6.boss.despawnTakesAdds, which came with the teardown fix.rnt.run all: Oxide 244/246 and Carbon 243/246 before the two fixed checks. Each fixed check, and Carbon's escort check, then passed on both rigs.Results and findings: docs#317 (
runicnpc/PLAN.mdstage 6).Checklist
node scripts/checkPlugin.jspasses (API 5, 24 calls, 11 hooks, requires Kits).Claude Code (Claude Opus 5.5). The commits carry theCo-Authored-Bytrailer.🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY