Territory
Scent marks on the ground and the display rule between rival dragons.
Territory
Scent marks on the ground and the display rule between rival dragons.
Marking. While its dragon is grounded, each peer periodically rakes a
scent mark at the dragon's position. A claim — center, radius, score, up to
8 marks — persists in runtime_data.world under dragon/territory/<ownerId>,
so territory survives restarts and every peer renders every claim (dark
stain + tinted scent wisp per mark, owner-colored). Marks decay after
~10 minutes; each peer prunes only its own claim.
Rival resolution — the core MMO rule. When two dragons come within
~35 m, dominance resolves by DISPLAY, not combat. The local peer computes its
own Sim.displayScore(mass, traits, sacMoles, bodyK) and reads the rival's
visible fitness from its replicated DragonFlight fields (dispDisplayScore
when it has roared, else an honest estimate from dispMass / dispWingArea
/ dispArmor):
- Higher score wins without a blow — the loser's marks near the encounter are overwritten and its claim shrinks; the winner's claim grows.
- Scores within ~5% escalate to combat: kcal-expensive, staminal, and it spikes core heat — both sides pay, each applied by its own peer so every wound lands exactly once.
Everything is surfaced through Game.say so the player reads the politics as
it happens.
Scoped to this part · feeds back into the world's score.