Initial implementation of fishing system. A couple bugs fixed, e.g. zombies that are killed by residents actually die.

This commit is contained in:
Storm Dragon
2026-01-24 14:01:38 -05:00
parent 63cf759002
commit 0d711095c1
23 changed files with 837 additions and 47 deletions
+5 -3
View File
@@ -75,10 +75,11 @@
### Snare System
- Snares become active when player moves away
- Check every minute for catching/escaping small game
- Catch chance starts at 5%, increases by 5% per minute (max 75%)
- Escape chance starts at 5%, increases by 5% per minute (max 95%)
- Check every hour for catching/escaping small game
- Catch chance starts at 5%, increases by 5% per hour (max 75%)
- Escape chance: 0% for first hour after catch, then increases by 2% per hour (max 95%)
- Snare sound plays within 2 tiles distance
- Residents can retrieve game from snares (daytime only, requires meat in storage)
### Tree System
- Trees regenerate fully after ~5 minutes (minute-by-minute refill logic)
@@ -208,5 +209,6 @@ Organized into categories:
- Use `notify()` for important game events that should be reviewable
- Use `screen_reader_speak()` for immediate feedback that doesn't need to be stored
- All menus must call `menu_background_tick()` each loop to keep game state updating
- **Time references**: When discussing time (hours, minutes, days), assume game time unless explicitly stated as "real time". Game time runs at 60x speed: 1 real minute = 1 game hour, 24 real minutes = 1 game day.
- See `docs/patterns.md` for module and creature patterns
- See `docs/rune_system.md` for rune data/effects/save requirements