This PR fixes the non-persistent crops bug as described in issue #122 (i.e. the game not remembering which tiles were hoed and which held plants across rooms and sessions).
Notably, for this, the whole saving process had to be reworked as additional information was required (namely, the farmable tiles’ state). The game will ignore farmable tiles that were not hoed while saving so as to save space.
Checklist
[X] I have tested this change locally and it works as expected.
[X] I have made sure that the code follows the formatting and style guidelines of the project.
Summary
This PR fixes the non-persistent crops bug as described in issue #122 (i.e. the game not remembering which tiles were hoed and which held plants across rooms and sessions).
Notably, for this, the whole saving process had to be reworked as additional information was required (namely, the farmable tiles’ state). The game will ignore farmable tiles that were not hoed while saving so as to save space.
Checklist