Devlogs
1st update : Inventory System
Posted November 01, 2024 by EliaxFox
#update
We're excited to announce our first major update for the game, focusing on improving the inventory system!
Players (and ourselves) wanted a better way to carry items and streamline the crafting experience. That's why we've introduced a brand-new inventory system.
The backpack has also been revamped and can now be unlocked for 200 coins. When equipped, it will add 8 slots to the player inventory.
Changelog (for the tech-savvy)
- Inventory system & UI
- The player now has an inventory with 2 slots, expandable to 10 slots. A new UI shows the inventory content and the selected item.
- All stations, displays, and resource nodes have been updated to use the new inventory system, mainly relying on the selected slot.
- Backpack
- Backpacks have been redesigned to serve as inventory extensions instead of providing hidden capacity for raw resources (like logs and ores).
- Item tagging system
- Introduced a new type system for items, allowing for easier tagging with properties without relying on inheritance. This improvement simplifies item categorization and management, easing future developments.
- Displays now use this tagging system to identify compatible products.
- Customers now buy any item crafted by the player that has a "sellable" tag.
- Cleaning
- Removed code from obsolete features and conducted refactoring to improve overall code quality.