Interrupt / delverengine

Delver game engine and editor
zlib License
794 stars 79 forks source link

[REFACTOR] Use BackpackSize Instead of InventorySize #286

Open PythooonUser opened 2 years ago

PythooonUser commented 2 years ago

Right now we have a hotbarSize and an inventorySize. inventorySize, however, is the combination of hotbar and backpack. It would be easier when we use a hotbarSize and backpackSize, and calculate the current inventorySize on the fly.

This way, we could easier track just how much upgrades for hotbar or backpack where used to trigger the achievement. Without the need of calculations of the actual sizes.

This would be a good refactor for the preparation of #215.