ezmameow
2 weeks ago
I made the old inventory prototype save, yet forgot objects make bad keys across sessions. So now I need to either remove it or focus tonight (or the next few days) to make an item asset and have that get loaded in and make sure the code to treat the key as read only. *roll around*
ezmameow
2 weeks ago
I just push an update that removes saving the old inventory until I update how items works and loads. I also improve the clear catch to also remove unused properties from the save state as well as player.inventory for now, but may remove it and hope no one has the old way cached locally when I re-add it. I might add save version and checks by that time.
ezmameow
2 weeks ago
Okay I change it to be a fish log since that currently what it is data wise. So it now saves and stack across all sessions when local save is enabled. Mew I did not want to rush myself with the inventory this soon *rolls around*
I learn I should add type to buttons (type="button") since the site button was refreshing the page when I was testing on google chrome. Not sure if chrome started treating buttons as summit or an extension did it. I just do not like chrome anymore, but I still should try to fix things to for more than one browser. I guess my site might not function correctly on other browser I have not tested *rolls around*