Barotrauma

Barotrauma

190 ratings
Item IO Framework
5
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
31.147 KB
Mar 21, 2023 @ 4:54pm
Apr 11 @ 5:53am
21 Change Notes ( view )

Subscribe to download
Item IO Framework

In 1 collection by shangjiaxuan
Explore europa
13 items
Description
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]
Popular Discussions View All (2)
21
Oct 25, 2024 @ 7:53pm
Report multiplayer issues here
shangjiaxuan
0
Dec 11, 2024 @ 9:52am
PIZ FIXXXXXXXXX
FitslashFPK
161 Comments
碎语轻声  [author] Apr 26 @ 2:04am 
只能堆叠一个的物品是放不进物品箱的
桀泽 Apr 25 @ 2:58am 
麻烦问下抗生素凝胶只能放进去一个是和什么模组冲突了吗
Kei Apr 16 @ 10:01pm 
@ArtyTheBoog Thanks that actually fixed it
ArtyTheBoog Apr 16 @ 7:10pm 
You have to host a lua server, then hit the f3 button to bring up the console. The you need to type in "install_cl_lua" without quotes and press enter. It should update and tell you to restart your game
Kei Apr 16 @ 6:38pm 
@ArtyTheBoog there is no such command in F3 though?
ArtyTheBoog Apr 16 @ 3:35pm 
The fix for the issue I reported is in chinese a little lower on the page but I will report what I did for us English speakers:
Reinstall lua using the F3 "install_cl_lua" command
ArtyTheBoog Apr 16 @ 2:48pm 
Currently broken after the April 16th Update with the error message:

"[Item IO Framework]Could not find the component "ConditionStorage" (C:/Users/<Username>/AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/2950383008/XML/ItemBox.xml)"

Repeated 6 times (1 for each Itembox perhaps)?
slashandwednesday Apr 16 @ 9:31am 
currently broken. item boxes hold 7, have no image on the box. and ate everything they had previously stored.
Lucifinel Apr 11 @ 11:03pm 
Item IO Framework(Temp Fixed)的部分還是不能用,能取出物品,但放不進去(放進去後的物品憑空消失,但數量不增加)
事實上,我覺得Item IO Framework(Temp Fixed)的壓制最大數量為7這個功能完全可以增加到這裡,那對於壓制Item數還是很有幫助的,尤其是加了什麼32堆疊後,那IO箱壓制Item數的功能基本廢了一半
GO!Ragnaros Apr 11 @ 9:33pm 
我重新安装一遍lua后就好了,谢谢大佬:steamhappy: