Barotrauma

Barotrauma

215 ratings
Item IO Framework
5
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
31.147 KB
21 Mar, 2023 @ 4:54pm
11 Apr @ 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://gtm.steamproxy.vip/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)
25
31 Aug @ 2:56pm
Report multiplayer issues here
shangjiaxuan
0
11 Dec, 2024 @ 9:52am
PIZ FIXXXXXXXXX
FitslashFPK
197 Comments
Pee Warmer 31 Aug @ 4:47pm 
The icon says it's 25 items while I put in 32
They do not vanish though.
Пытался играть с этим модом в мультиплеере. Я хост. После крафта контейнера из мода, всех, с кем я играл - отключило от сервера с ошибкой "Could not find the component "ConditionStorage” и т.д. После попытки подключения обратно - игроков подключало в лобби, но при попытке подключения к сессии - отключало от сервера.
Нашли решение проблемы:
1) Установили каждому игроку вручную Lua For Barotrauma и, естественно, включили CSharp Coding. Установку Lua производили "автоматическим" методом (ввели команду из пункта "Installing" из руководства к Lua For Barotrauma в Свойствах Barotrauma, в строке "Параметры запуска";
2) Вместо простой загрузки модов во время подключения к серверу вручную включили все необходимые моды и расставили их порядок загрузки как у хоста (то есть как у меня).
После этих шагов больше никого не отключает от сервера.
Надеюсь, кому-нибудь, да помог:)
碎语轻声  [author] 28 Aug @ 4:30am 
客户端也需要开启Lua以及Cs,不会的可以参考视频
https://www.bilibili.com/video/BV1bci3ebENf
超级战神猫猫人 28 Aug @ 1:40am 
联机除了房主,其他人制造台造东西会报错然后闪退出去:steamsad:
幻想具现 25 Aug @ 11:47pm 
一直弹红字,不知道为啥
‖color:#9370DB‖[Item IO Framework]‖color:end‖ Could not find the component "ConditionStorage" (C:/Users/W.D.Gaster/AppData/Local/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed/2950383008/XML/ItemBox.xml)
Fallen Noob 19 Aug @ 6:19am 
排雷排出来了,是有一个62x stack lua的mod,启用不仅会不生效,也会导致本mod失效
碎语轻声  [author] 19 Aug @ 4:34am 
再重复一遍,服务端需要正确手动安装Lua,并启用Cs For Barotrauma,如果不启用参考lua的wiki自行在根目录创建LuaCsSetupConfig.xml,以后有关服务端失效情况不作任何解释
Fallen Noob 19 Aug @ 4:30am 
单人情况下没问题,服务器情况下失效,箱子只能装7个,多余的会掉出来
KG 15 Aug @ 8:44am 
联机放东西进去报错