Barotrauma

Barotrauma

218 betyg
Item IO Framework
5
2
3
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
31.147 KB
21 mar, 2023 @ 16:54
11 apr @ 5:53
21 ändringsnotiser ( visa )

Abonnera för att ladda ner
Item IO Framework

I 1 samling av shangjiaxuan
Explore europa
13 artiklar
Beskrivning
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://psteamcommunity.yuanyoumao.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]
Populära diskussioner Visa alla (1)
25
31 aug @ 14:56
Report multiplayer issues here
shangjiaxuan
203 kommentarer
碎语轻声  [skapare] 12 timmar sedan 
是的
墨诳 8 okt @ 8:23 
你好,如果使用这个MOD,是不是就不需要Material IO了?
Ryuu Jawzahr 28 sep @ 11:50 
thank you so much
碎语轻声  [skapare] 19 sep @ 5:11 
Modify the value of maxItemCount="1024" in the XML\ItemBox.xml file to the number you want.
Ryuu Jawzahr 18 sep @ 20:59 
Could you please tell me how to edit the mod myself to lower the max item per box from 1024 to something like 36 or 40? I want the item optimization part without being able to hold infinite items
概念 11 sep @ 1:50 
所以你们脑子抽了什么风要把售货机的物品箱价格改成10000?就两个钢筋的制作成本,在售货机买无非也就是图省事,除了把售货机的列表加长一格以外屁用没有
Pee Warmer 31 aug @ 16:47 
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) Вместо простой загрузки модов во время подключения к серверу вручную включили все необходимые моды и расставили их порядок загрузки как у хоста (то есть как у меня).
После этих шагов больше никого не отключает от сервера.
Надеюсь, кому-нибудь, да помог:)
碎语轻声  [skapare] 28 aug @ 4:30 
客户端也需要开启Lua以及Cs,不会的可以参考视频
https://www.bilibili.com/video/BV1bci3ebENf