Update 2023.04.10 New ItemProperty system
Updated resources:
- SFI_SYSTEM
- SFI_ITEMS_DATABASE
- SFI_ITEMS
- oInvControl
- SFI_Licence
- And Example resourses
I updated the system for creating item parameters.
I moved all enums from SFI_ITEMS to SFI_ITEMS_DATABASE because all changes to item parameters will now happen there. Default values are now specified in SFI_ITEMS. And in SFI_ITEMS_DATABASE all enums and item parameters are set. So, before upgrading, copy your parameters to any convenient place, import the new scripts, then return your item parameters and change them to the new format. Changing your current parameters to the new ones is not difficult. Below in the screenshot you can see the difference between the old method and the new one.
All places in the project where you used the "GetItemProp" function will have to change a little. You can use the project search function Ctrl + Shift + F ignoring the resources of the inventory itself. A screenshot for example below:
The parameters are now added to struct SFI_ItemProperty. You don't need to use the silly enum ITEM_PROPS anymore, just add parameters to this struct. I commented out the line for the example.
I also changed the folder structure of all my projects. They are now in a common folder called "Limekys".
I also updated the Documentation
Files
Get Lime.Inventory.2
Lime.Inventory.2
A modern and improved version of my inventory project
More posts
- Update 2023.04.30 Update DropAll functionFeb 20, 2024
- Update 2023.04.05 (Save & Load fix)Apr 06, 2023
- Update 2023.03.17 - Bug fix and item sorting improvementMar 17, 2023
- Important fix for YYC compilerOct 07, 2022
- Added DEMOOct 07, 2022
- Super Flexible Inventory 2!Sep 29, 2022
Leave a comment
Log in with itch.io to leave a comment.