Closed thuiop closed 2 months ago
We can do that yes. I am actually somewhat handling that for the stats page, where i create the variables with default values. We can move such logic to the main page itself, since these variables will be used everywhere.
Fixed in #17
Currently variables are only set when clicking on some button. However, this causes the game to crash when checking against an unset variable (e.g. if you have not invested any stats). We should look what the defaults are and set them at the start.