Epic: Sunset Legacy .alert() Pattern #190

Open
opened 2026-03-15 23:08:53 +00:00 by freemo · 0 comments
Owner

Background and Context

alert() is the oldest event mechanism, predating Wisper. It distributes Event objects via direct method calls. 5 call sites: GameObject#run (tick), Container#alert (propagation), Mobile (2 sites), experiments/sandbox.rb.

Demonstrable Outcome

Zero alert() calls remain. Old Event-object dispatch eliminated.

Acceptance Criteria

  • All alert() calls replaced with Wisper broadcasts
  • NPC reactions and tick behaviors continue working
## Background and Context `alert()` is the oldest event mechanism, predating Wisper. It distributes `Event` objects via direct method calls. 5 call sites: `GameObject#run` (tick), `Container#alert` (propagation), `Mobile` (2 sites), `experiments/sandbox.rb`. ## Demonstrable Outcome Zero `alert()` calls remain. Old Event-object dispatch eliminated. ## Acceptance Criteria - All `alert()` calls replaced with Wisper broadcasts - NPC reactions and tick behaviors continue working
freemo added this to the v1.2.0 milestone 2026-03-15 23:19:52 +00:00
freemo modified the milestone from v1.2.0 to v1.0.0 2026-03-16 00:27:54 +00:00
freemo self-assigned this 2026-03-16 01:26:59 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: aethyr/Aethyr#190
No description provided.