这个插件将无缝处理所有副作用和故障。由于StackModifier的功能添加,使用该插件感觉就像Rust的默认设置!
已知冲突
- Magic Coin(使用一些相同的Hook);在其中正确设置配置以不冲突
- Custom Skin Stack Fix(不需要,本插件可以正确处理它)
- Stack Size Controller (不能有2个相同功能的插件)
- Extra Loot (重启时导致叠加bug)
- Compound Options
- 如果Stack Modifier在Compound Options之后加载,则在重新启动过程中可能无法设置某些设置。要修复,需要重新加载Compound Options
插件功能
- 聊天/控制台指令,没有lang文件
- 支持液体叠加
- 支持燃料容器的堆叠加(帽子、工具等)
- 支持武器叠加
- 支持皮肤叠加
- 支持SkinBox插件
- 支持自定义物品的叠加
- 支持叠加带有自定义显示名称的自定义物品
- 支持钥匙卡叠加,刷卡时不会丢失叠加
- C#中最大支持的值是2147483647,这意味着任何超过这个叠加大小的东西都会破坏插件功能
插件须知
- 这个插件与Custom Skin Stack Fix插件不兼容,但本插件已具备该插件的功能。
- 如果你已经有一个插件修改了游戏内的叠加,你将首先需要删除那个插件。
- 然后你只需将StackModifier加载到服务器,打开配置并开始编辑Modified的值至你想要的叠加数量。
- 编辑完成后,只需要保存配置文件并重载插件:
oxide.reload StackModifier
如何恢复默认
- 卸载本插件。
- 重启服务器。
配置文件
JSON:
{
"Revert to Vanilla Stacks on unload (Recommended true if removing plugin)": true,
"Disable Ammo/Fuel duplication fix (Recommended false)": false,
"Enable VendingMachine Ammo Fix (Recommended)": true,
"Category Stack Multipliers": {
"Attire": 1,
"Misc": 1,
"Items": 1,
"Ammunition": 1,
"Construction": 1,
"Component": 1,
"Traps": 1,
"Electrical": 1,
"Fun": 1,
"Food": 1,
"Resources": 1,
"Tool": 1,
"Weapon": 1,
"Medical": 1
},
"Stack Categories": {
"Attire": {
"hat.wolf": {
"DisplayName": "Wolf Headdress",
"Modified": 10
},
"horse.shoes.basic": {
"DisplayName": "Basic Horse Shoes",
"Modified": 10
}
},
"Misc": {
"fogmachine": {
"DisplayName": "Fogger-3000",
"Modified": 10
},
"sickle": {
"DisplayName": "Sickle",
"Modified": 10
}
},
"Items": {
"kayak": {
"DisplayName": "Kayak",
"Modified": 10
},
"map": {
"DisplayName": "Paper Map",
"Modified": 10
}
},
"Ammunition": {
"ammo.grenadelauncher.buckshot": {
"DisplayName": "40mm Shotgun Round",
"Modified": 20
},
"ammo.rocket.sam": {
"DisplayName": "SAM Ammo",
"Modified": 10
}
},
"Construction": {
"door.double.hinged.metal": {
"DisplayName": "Sheet Metal Double Door",
"Modified": 10
},
"building.planner": {
"DisplayName": "Building Plan",
"Modified": 10
}
},
"Component": {
"bleach": {
"DisplayName": "Bleach",
"Modified": 2
},
"vehicle.module": {
"DisplayName": "Generic vehicle module",
"Modified": 10
}
},
"Traps": {
"trap.bear": {
"DisplayName": "Snap Trap",
"Modified": 30
},
"samsite": {
"DisplayName": "SAM Site",
"Modified": 10
}
},
"Electrical": {
"ceilinglight": {
"DisplayName": "Ceiling Light",
"Modified": 10
},
"wiretool": {
"DisplayName": "Wire Tool",
"Modified": 100
}
},
"Fun": {
"firework.boomer.blue": {
"DisplayName": "Blue Boomer",
"Modified": 200
},
"telephone": {
"DisplayName": "Telephone",
"Modified": 10
}
},
"Food": {
"apple": {
"DisplayName": "Apple",
"Modified": 100
},
"woodtea.pure": {
"DisplayName": "Pure Wood Tea",
"Modified": 100
}
},
"Resources": {
"skull.human": {
"DisplayName": "Human Skull",
"Modified": 10
},
"wood": {
"DisplayName": "Wood",
"Modified": 10
}
},
"Tool": {
"tool.instant_camera": {
"DisplayName": "Instant Camera",
"Modified": 10
},
"bucket.water": {
"DisplayName": "Water Bucket",
"Modified": 10
}
},
"Weapon": {
"gun.water": {
"DisplayName": "Water Gun",
"Modified": 10
},
"spear.wooden": {
"DisplayName": "Wooden Spear",
"Modified": 10
}
},
"Medical": {
"blood": {
"DisplayName": "Blood",
"Modified": 100
},
"bandage": {
"DisplayName": "Bandage",
"Modified": 30
}
}
}
}