Files
Project-M/Assets/_Project/Scripts/Server
kronic aeb979f8d5 LANTERN P1 step 8: light-as-territory relevancy prototype (★)
Per connection, marks every ENEMY ghost OUTSIDE the player's lamp radius
IRRELEVANT (monsters in the dark aren't replicated — the gamma test). Modelled
on the proven RegionRelevancySystem: SetIsIrrelevant so players/global ghosts
stay relevant for free. Shared-set discipline — RegionRelevancySystem is the SOLE
clearer (runs every tick); LightRelevancySystem is [UpdateAfter] it and only ADDs
light hides via TryAdd (no clear; defensive against a region+light overlap dup).
Gated on GymTag (LANTERN-only; legacy region relevancy untouched). Pure decision
in LightRelevancyMath (+3 EditMode tests, 500 green). Per-player dim/bright
(variable radius) + the L3 gamma-test verification are follow-ups; the ★adversarial
netcode review is recommended before this ships.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-15 08:51:24 -07:00
..
2026-07-02 20:41:43 -07:00
2026-07-02 20:41:43 -07:00
2026-06-04 00:06:18 -07:00
2026-05-31 21:35:12 -07:00
2026-05-31 14:27:52 -07:00
2026-05-31 21:35:12 -07:00
2026-06-03 22:41:27 -07:00
2026-06-02 18:28:23 -07:00
2026-07-02 20:41:43 -07:00
2026-06-07 22:29:25 -07:00
2026-06-03 22:41:27 -07:00