StackSizeController - 叠加控制

汉化 StackSizeController - 叠加控制 4.1.3

配置文件​

默认配置文件​

JSON:
{
  "RevertStackSizesToVanillaOnUnload": true,
  "AllowStackingItemsWithDurability": true,
  "HidePrefixWithPluginNameInMessages": false,
  "GlobalStackMultiplier": 1.0,
  "CategoryStackMultipliers": {
    "Weapon": 1.0,
    "Construction": 1.0,
    "Items": 1.0,
    "Resources": 1.0,
    "Attire": 1.0,
    "Tool": 1.0,
    "Medical": 1.0,
    "Food": 1.0,
    "Ammunition": 1.0,
    "Traps": 1.0,
    "Misc": 1.0,
    "All": 1.0,
    "Common": 1.0,
    "Component": 1.0,
    "Search": 1.0,
    "Favourite": 1.0,
    "Electrical": 1.0,
    "Fun": 1.0
  },
  "IndividualItemStackMultipliers": {},
  "IndividualItemStackSize": {},
  "VersionNumber": {
    "Major": 4,
    "Minor": 0,
    "Patch": 0
  }
}

配置文件示例​

JSON:
{
  "RevertStackSizesToVanillaOnUnload": true,
  "AllowStackingItemsWithDurability": true,
  "HidePrefixWithPluginNameInMessages": false,
  "GlobalStackMultiplier": 1.0,
  "CategoryStackMultipliers": {
    "Weapon": 1.0,
    "Construction": 5.0,
    "Items": 1.0,
    "Resources": 1.0,
    "Attire": 1.0,
    "Tool": 1.0,
    "Medical": 1.0,
    "Food": 1.0,
    "Ammunition": 1.0,
    "Traps": 1.0,
    "Misc": 1.0,
    "All": 1.0,
    "Common": 1.0,
    "Component": 1.0,
    "Search": 1.0,
    "Favourite": 1.0,
    "Electrical": 1.0,
    "Fun": 1.0
  },
  "IndividualItemStackMultipliers":
  {
    "-586342290": 10,
    "ammo.pistol": 20
  },
  "IndividualItemStackSize": {
    "abovegroundpool": 1,
    "aiming.module.mlrs": 1,
    "ammo.grenadelauncher.buckshot": 24,
    "ammo.grenadelauncher.he": 12,
    "ammo.grenadelauncher.smoke": 12,
    "ammo.handmade.shell": 64,
    "ammo.nailgun.nails": 64,
    "ammo.pistol": 128,
    "ammo.pistol.fire": 128,
    "ammo.pistol.hv": 128,
    "ammo.rifle": 128,
    "ammo.rifle.explosive": 128,
    (... 等等)
  },
  "VersionNumber": {
    "Major": 4,
    "Minor": 0,
    "Patch": 0
  }
}
  • RevertStackSizesToVanillaOnUnload - 如果设置为true。那么物品叠加会在插件卸载时恢复默认值。
  • AllowStackingItemsWithDurability - 如果设置为true。那么将允许有耐久的物品叠加(例如武器),但仅允许是满耐久状态下的。如果设置为false,那么将禁止所有有耐久的物品叠加。(叠加时会将物品的内容、配件、弹药全部返还给玩家)。
  • HidePrefixWithPluginNameInMessages - 目前没有作用,在未来版本时设置为true会隐藏聊天消息中的前缀。
  • GlobalStackMultiplier - 全部叠加倍数,所有物品叠加数量都会乘以这个值。
  • CategoryStackMultipliers - 每个分类下的物品的叠加数量都会乘以这里对应分类的值。
  • IndividualItemStackMultipliers - (允许 物品ID:倍数 ),使用stacksizecontroller.itemsearch可以搜索物品ID。
  • IndividualItemStackSize - 在这里可以为指定物品设置单独的叠加大小。