Files
timmy-home/scripts
Alexander Payne 355d4c243e
Some checks failed
Self-Healing Smoke / self-healing-smoke (pull_request) Failing after 20s
Smoke Test / smoke (pull_request) Failing after 21s
Agent PR Gate / gate (pull_request) Failing after 29s
Agent PR Gate / report (pull_request) Successful in 6s
feat(tower): add world event system with weather, forge decay, garden growth, discovery
Weather: 10% chance per tick rain at Bridge, lasts exactly 6 ticks.
Decay: Forge fire dims after 4 ticks without any visitor; goes cold after 12 ticks.
Growth: Garden grows deterministically every 20 ticks (max stage 5).
Discovery: 5% chance per tick for wizard to find something; flagged in state.
Day/night cycle already present; no changes needed.
Added event_history log to state for WORLD_STATE.json visibility.
Updated __init__ state defaults and load() to merge new fields.

Also added corresponding event system to standalone scripts/tower_game.py
for simulation/unit tests, with matching parameters.

Closes #450
2026-04-26 03:45:21 -04:00
..
2026-04-16 00:02:55 -04:00
2026-04-15 00:31:06 -04:00
2026-04-20 22:46:50 -04:00