ashblue / unity-elastic-inventory

An easy to use Unity inventory framework built with scaling and extendability in mind
MIT License
45 stars 2 forks source link

Core logic with example #1

Closed ashblue closed 1 year ago

ashblue commented 1 year ago

feat: creation of bare bones inventory instance CRUD handling

chore: restructured the item definition to create the item entry

chore: migrated over inventory instance remove logic

chore: added ability to save inventory instances

chore: can now remove multiple inventory items

chore: added inventory load logic

chore: removed item entry save load for simplicity scoping reasons

chore: added get all method to inventory instance

chore: creation of item database ScriptableObject

chore: sample inventory item database window

chore: cRUD window now allows creating new SO items

chore: item types are now dynamically added to the item definition window

chore: table rows now print out as they are added and on init

chore: item entry editor window text is now binded to the display name of the definition

chore: added delete functionality for the item database

chore: editor window now automatically finds and syncs extrenal database changes

chore: version bump

chore: inventory instance helper script to quickly create an inventory

still need to write the save functionality

chore: inventory helper now handles saving to the database by calling a simple method

chore: added a debug print for the inventory helper component

chore: unique entries can now be added and removed (partial support)

chore: added a proposal for editable item entries

chore: tweaks to the custom item entry proposal

chore: items can now be retrieved by ID via get

chore: handled several inventory get and remove edge cases for instances

chore: get all now supports definition base types

chore: added a new item entry base class

chore: added the ability to retreive a casted definition off of the entry

chore: dataResolver now works with save and load

chore: moved data resolver onto definitions from the entries

chore: fixed a bug where items of zero quantity got added by the helper script

chore: item entries can now be swapped between inventories

chore: new inventory Add event

chore: added remove events

chore: added category support to definitions

chore: partial commit for dropdown refactor for categories

chore: added category support in editor window

chore: added search logic to the database window

chore: custom item definitions now appear as expected in the item database add dropdown

chore: categories now update when the database is edited

chore: consolidated GetAll methods and added a category option

chore: consolidated get, remove, and has inventory instance commands

chore: added support for item entry timestamps

chore: inventory instances now support sorting

chore: added a new updated at field that tracks item changes

chore: added updated at sorting

chore: added item ID repair tool

fix: database editor should no longer crash between script edits

chore: added a new wizard to help create the initial item database

chore: wizard now generates a sample getting started script for you

chore: added menu selection screen

chore: creation of sample inventory data

chore: creation of sample inventory static

chore: fixed a bug where the wizard would trigger on cloned project load

chore: created complete feedback loop for player sample inventory

chore: creation of example store

chore: database now supports generating unique IDs on demand

chore: swapped entry timestamps for unique indices

chore: completion of save data

chore: added release branches

ashblue commented 1 year ago

:tada: This PR is included in version 1.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: