Info
Use c# to implement a stacking box. The box's condition is used for de-spawning and spawning stack-able items. Stores up to 1024 items with one entity.
Since this update introduces new implementation, a new mod is released for safety of user items.
Networking implemented but not tested. Help welcome.
Original mod:
https://steamcommunity.com/sharedfiles/filedetails/?id=2950040937
With this mod enabled, you can have other mods that have a stacking slot like this:
<Item xxxx>
<!-- other things -->
<ItemContainer xxxx/>
<ConditionStorage slotIndex="0" maxItemCount="1024" showCount="true" showIcon="true" iconScale="0.6" iconShiftX="0" iconShiftY="0.1" />
</Item>
All parameters in ConditionStorage are optional, default values are as above.
Open source git repo available at:
Repo[github.com]