feat(bridge): count the twenty-three chat-title conditions in player.tally (PLAN_REDESIGNS §5) #20
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/title-conditions"
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 & why
PLAN_REDESIGNS §5 (D172–D175, D209): chat titles rank twenty-three conditions. The bridge counts them.
player.tallyfields:animalKills,weaponKills(by the killfeed's weapon prefab name),headshots,bestPvpM/bestPveM(this interval's longest),apcKills,heliKills,crafted(by item category),built,repaired,healed,rockets,explosivesandmissions. A field is left out when nothing moved.ExpectedHooks:OnEntityTakeDamage: remembers the last player to hurt an APC or helicopter, for a crash that names nobody.OnItemCraftFinished,OnEntityBuilt,OnRocketLaunched,OnMissionSucceeded.OnStructureRepair: counted only when the health has risen by the next tick.OnHealingItemUseandOnPlayerRevive: another player only; a syringe revive counts once.OnExplosiveThrown/OnExplosiveDropped: a damaging TimedExplosive only.npcKillsstill counts animals, so the public column doesn't change meaning mid-wipe. The site takes human NPCs as the difference (D209).WeaponOfandDistanceOfare split out ofDescribeAttacker, so the killfeed and the tally read the same weapon name and distance.f67f9e3): the crafter's owner, the mission's assignee as the hook's 3rd argument, and the heal target asobject.Spec: docs
docs/rust-title-conditions(PROTOCOL §19.10, PLAN_REDESIGNS §5.8). Site half: Module-Rustfeat/title-conditions.How it was tested
node scripts/checkPlugin.js: every hook is void and listed.Checklist
AI-assisted contributions (required)
Claude Code (Claude Opus 5.5). I have reviewed and understandevery change, and take responsibility for it. AI-authored commits are
marked with a
Co-Authored-By/Assisted-Bytrailer.License
(GNU GPL v3.0 or later), and I have the right to contribute it.
Merge note:
feat/zones-domes(§3) also editsRunicGateway.cs, so whichever merges second needs a small conflict fix.🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
Fix this
Fixed in
f7d5b4d(mergededgein). The one conflict was theExpectedHookslist: both phases' hooks are kept, 48 in all, every one void (checkPlugin.jspasses). The merged bridge compiled and loaded on both rigs, andrg.hookson Oxide lists both §3's and §5's hooks. It's mergeable again.