Barotrauma

Barotrauma

Not enough ratings
Item Box (deprecated)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
13.534 KB
20 Mar, 2023 @ 11:56pm
21 Mar, 2023 @ 5:29am
2 Change Notes ( view )

Subscribe to download
Item Box (deprecated)

Description
Use c# to implement a stacking box. The box's condition is used for despawning and spawning stackable items. Stores up to 1024 items with one entity.

Inspired by Material IO https://steamproxy.net/sharedfiles/filedetails/?id=2850153096

If you want contained items to show in inventory, the following mod is recommended.

Storage Icons
https://steamproxy.net/sharedfiles/filedetails/?id=2920200449

New users should use improved version:

https://steamproxy.net/sharedfiles/filedetails/?id=2950383008
2 Comments
shangjiaxuan  [author] 21 Mar, 2023 @ 5:00pm 
优化实现中有存档破坏性变化,因此新版本建议使用如下的内容:

https://steamproxy.net/sharedfiles/filedetails/?id=2950383008

主要优化内容:

1. 允许其它mod通过xml指定IO物品槽(参见新版本实现)

2. 可以显示内部物品和存储状态,图标位置和大小可以从xml指定, 堆叠个数可以从xml指定

3. 禁用mod时会正常不加载
Biff_W 21 Mar, 2023 @ 8:22am 
建议改名,Item IO。