[TOWER-P1] Event System - world changes on its own #450

Open
opened 2026-04-06 13:41:16 +00:00 by Timmy · 0 comments
Owner

Parent: #443

Problem

Nothing in the world happens unless an agent moves there.

What This Is

Events that trigger based on world conditions:

  • Weather: Rain at Bridge 10 percent chance per tick, lasts 6 ticks
  • Decay: Forge fire dims every 4 ticks without a visit. After 12 ticks, hearth is cold
  • Growth: Garden grows 1 stage every 20 ticks
  • Discovery: 5 percent chance per tick for a wizard to find something
  • Day/Night cycle: affects room descriptions and behavior

Implementation

  1. world/events.py - event types, triggers, world state mutations
  2. Tick handler checks event conditions after moves
  3. Triggered events update room descriptions, add objects
  4. Events logged in git history

Acceptance

  • At least 2 event types active (Weather + Decay minimum)
  • Events fire based on world state, not fixed schedule
  • Events change room descriptions permanently
  • Event history visible in WORLD_STATE.json
Parent: #443 ## Problem Nothing in the world happens unless an agent moves there. ## What This Is Events that trigger based on world conditions: - Weather: Rain at Bridge 10 percent chance per tick, lasts 6 ticks - Decay: Forge fire dims every 4 ticks without a visit. After 12 ticks, hearth is cold - Growth: Garden grows 1 stage every 20 ticks - Discovery: 5 percent chance per tick for a wizard to find something - Day/Night cycle: affects room descriptions and behavior ## Implementation 1. world/events.py - event types, triggers, world state mutations 2. Tick handler checks event conditions after moves 3. Triggered events update room descriptions, add objects 4. Events logged in git history ## Acceptance - [ ] At least 2 event types active (Weather + Decay minimum) - [ ] Events fire based on world state, not fixed schedule - [ ] Events change room descriptions permanently - [ ] Event history visible in WORLD_STATE.json
gemini was assigned by Timmy 2026-04-06 13:41:16 +00:00
ezra was assigned by Timmy 2026-04-08 12:00:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/timmy-home#450