Barotrauma

Barotrauma

315 ratings
4x Stack 4倍堆叠上限
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
792.993 KB
12 May, 2021 @ 1:19am
23 Dec, 2021 @ 6:23am
22 Change Notes ( view )

Subscribe to download
4x Stack 4倍堆叠上限

Description
now it's for 0.15.22.1

There seems to be an up limit at 32. Even if I change the number to 800, you still can't stack over 32

I am busy playing other games lately, so I can't promise it is up to date. So I just tell you how to mod vanilla files.

It's simple, just find [maxstacksize="8"] and replace it with [maxstacksize="32"]

These files need to be modded:

Barotrauma \ Content \ Items \ Gardening \ growableplants.xml and plantproducts.xml

Barotrauma \ Content \ Items \ Materials \ materials.xml medmaterials.xml and minerals.xml

Barotrauma \ Content \ Items \ Medical \ buffs.xml medical.xml poisons.xml

Barotrauma \ Content \ Items \ Weapons \ weapons.xml

if it occurs red text , try to change this mod to the first mod to be loaded.

------------------------------------------------------------------------------------------------------------------------------

鉴于我个人最近没怎么玩这个游戏,不能保证mod的更新。而且由于这个mod重定义了大多原作物品的属性,很容易和别的修改了原作物品属性的mod冲突,我放下玩家自己修改的教程吧。

很简单,只需要在几个文件中,查找maxstacksize="8"并替换为maxstacksize="32"即可

以下是需要修改的文件清单

首先找到游戏根目录,进入Barotrauma\Content\Items文件夹下

Gardening文件夹里面的growableplants.xml和plantproducts.xml,分别是植物的种子和果实

Materials文件夹里面的materials.xml medmaterials.xml和minerals.xml,分别是原材料,医疗材料和矿石

Medical文件夹里的buffs.xml medical.xml和poisons.xml,分别是各种加成药治疗药和毒药

Weapons文件夹里面的weapons.xml,里面是各种武器弹药

自己使用的话改这些就足够了,如果想自己做同样功能的mod,要注意以下几点:

1、医疗物品里面的文件格式是不规范的,必须手动把每个物品的代码头改为Item

2、部分物品的贴图在文件中路径是被省略的,如果要自己打包发布这个mod需要手动补全,或者在mod文件中加入贴图。贴图本身直接从官方文件里复制出来即可

3、本人测试即使是改到32以上的数字,比如改成800。实际游戏中依然只能堆叠到32。我未经完整测试就发布了这个mod导致这个mod文件夹名字其实是100x stack,实际只是4x。

mod更新与版本更新会导致mod加载顺序变动,跳红字提示乃至坏档,建议把此mod放在mod列表靠前的地方优先加载,让别的mod后加载覆盖这个mod,可以减少部分因对同一物品的重复定义导致的坏档问题

欢迎有热心的新人在未来的游戏更新中制作类似功能的mod
50 Comments
八级大狂风 19 Nov, 2023 @ 5:31pm 
不要使用这个mod,在游戏最新的更新后出现了更多bug——很多的弹药箱直接无法检测到,系统显示制作配方错误,我把一堆mod试了一遍发现就是这个mod
瀚星之翎 4 Oct, 2023 @ 8:46pm 
使用后即使取消mod,前哨站医生仍然不出售药品,如何解决
鱼厨 30 Jul, 2023 @ 9:23am 
问题很大不要用这个MOD
FATBROTHER.CN 6 Apr, 2023 @ 7:47pm 
不要使用此MOD!问题包括但不限于:
1.矿物图片错误;
2.A对B使用广谱抗生素时会造成B内脏损伤,而A获得寄生抗性;
3.皮虫净无效;
4.前哨站医生不销售药品。
DO NOT USE THIS MOD! Questions include but are not limited to:
1. Mineral picture error;
2. When A uses broad-spectrum antibiotics on B, it will cause damage to B's internal organs, and A will acquire parasitic resistance;
3. The net effect of skin insects;
4. Outpost doctors do not sell medicines.
zha_lan 6 Apr, 2023 @ 1:24am 
文件改堆叠上限,联机需要一起改吗
Prizrak070 22 Mar, 2023 @ 12:18am 
Также обнаружил проблему с использованием медикаментов на других игроках. Работают нормально, только если каждый член экипажа будет использовать их сам на себе (морфин, бинты, физ раствор и т.д.)
Prizrak070 20 Mar, 2023 @ 5:36am 
Очень сильно ломает изображения минералов. С такими багами неприятно (невозможно) играть
DragonWings 16 Mar, 2023 @ 10:10pm 
Sprites for the minerals encountered some errors.
电磁骑士 12 Mar, 2023 @ 11:59pm 
求更新 矿物贴图出问题了
✠SIgmaWolf✠999 21 Feb, 2023 @ 6:43pm 
Was able to stack 4 smg mags when I first used this recently but now only can 2. This is also making it impossible to treat others medically. All Health UI items will be used on SELF instead of the injured, making the npc medic die from overdosing himself on opiates when trying to treat others. Even swinging syringe on others still makes it used on self instead.