Day 12 — Persistence Hardening & Farming Completion
Context
With the farming loop in place, today was dedicated to polishing persistence and fixing edge cases.
Inventory Improvements
- Added Stack Drop support.
- Refined smart pickups to prevent overfilling.
Crop Persistence
- Implemented a “ratchet system” to ensure crops never regress when rejoining the world (i.e., When testing, the date always resets when restarting a session…but don’t regress the crops).
Critical Bug Fix
- Fixed a major issue where updating a tile incorrectly erased its saved growth stage.

Summary
What I accomplished:
- Completed farming persistence.
- Added advanced inventory behaviors.
- Fixed a major tile save corruption bug.
What I learned:
- Persistence must be validated at every step.
- Multi-day systems require safeguard logic.



