- 原地址
-
https://umod.org/plugins/better-loot
调整游戏内的战利品掉落
示例:data/BetterLoot/LootTable.json
聊天指令
- /blacklist 获取黑名单物品列表
- /blacklist [additem|deleteitem|addbp|deletebp] "物品名称" - 将指定物品添加到黑名单或从黑名单中移除。
物品参考
为了给您提供包含缺失物品的参考,您可以使用文件NamesList.json,其中包括所有物品和及其叠加大小,以及默认情况下未包含在表中的物品。配置文件
Blueprint Probability
生成蓝图的几率百分比。List updates on loaded
在每次加载时显示裂变的变化,用于调试。Remove stacked containers
移除可能在彼此之间叠加的容器。Watched prefabs
监视预制件列表Hammer loot cycle time
当使用木锤击打容器时,战利品会在多少秒后刷新。Loot multiplier
所有战利品的基本倍数Scrap multiplier
废料的倍数Rarity override
更改物品默认稀有度。物品的数字越高,其稀有度就越高。Enable hammer loot cycle
启用木锤击打容器进行战利品循环默认配置文件
JSON:
{
"Generic": {
"blueprintProbability": 0.11,
"listUpdatesOnLoaded": true,
"removeStackedContainers": true,
"WatchedPrefabs": [
"assets/bundled/prefabs/autospawn/resource/loot/loot-barrel-1.prefab",
"assets/bundled/prefabs/autospawn/resource/loot/loot-barrel-2.prefab",
"assets/bundled/prefabs/autospawn/resource/loot/trash-pile-1.prefab",
"assets/bundled/prefabs/radtown/crate_basic.prefab",
"assets/bundled/prefabs/radtown/crate_elite.prefab",
"assets/bundled/prefabs/radtown/crate_mine.prefab",
"assets/bundled/prefabs/radtown/crate_normal.prefab",
"assets/bundled/prefabs/radtown/crate_normal_2.prefab",
"assets/bundled/prefabs/radtown/crate_normal_2_food.prefab",
"assets/bundled/prefabs/radtown/crate_normal_2_medical.prefab",
"assets/bundled/prefabs/radtown/crate_tools.prefab",
"assets/bundled/prefabs/radtown/crate_underwater_advanced.prefab",
"assets/bundled/prefabs/radtown/crate_underwater_basic.prefab",
"assets/bundled/prefabs/radtown/dmloot/dm ammo.prefab",
"assets/bundled/prefabs/radtown/dmloot/dm c4.prefab",
"assets/bundled/prefabs/radtown/dmloot/dm construction resources.prefab",
"assets/bundled/prefabs/radtown/dmloot/dm construction tools.prefab",
"assets/bundled/prefabs/radtown/dmloot/dm food.prefab",
"assets/bundled/prefabs/radtown/dmloot/dm medical.prefab",
"assets/bundled/prefabs/radtown/dmloot/dm res.prefab",
"assets/bundled/prefabs/radtown/dmloot/dm tier1 lootbox.prefab",
"assets/bundled/prefabs/radtown/dmloot/dm tier2 lootbox.prefab",
"assets/bundled/prefabs/radtown/dmloot/dm tier3 lootbox.prefab",
"assets/bundled/prefabs/radtown/foodbox.prefab",
"assets/bundled/prefabs/radtown/loot_barrel_1.prefab",
"assets/bundled/prefabs/radtown/loot_barrel_2.prefab",
"assets/bundled/prefabs/radtown/loot_trash.prefab",
"assets/bundled/prefabs/radtown/minecart.prefab",
"assets/bundled/prefabs/radtown/oil_barrel.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/crate_ammunition.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/crate_elite.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/crate_food_1.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/crate_food_2.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/crate_fuel.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/crate_medical.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/crate_normal.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/crate_normal_2.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/crate_tools.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/tech_parts_1.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/tech_parts_2.prefab",
"assets/bundled/prefabs/radtown/underwater_labs/vehicle_parts.prefab",
"assets/bundled/prefabs/radtown/vehicle_parts.prefab",
"assets/content/props/roadsigns/roadsign1.prefab",
"assets/content/props/roadsigns/roadsign2.prefab",
"assets/content/props/roadsigns/roadsign3.prefab",
"assets/content/props/roadsigns/roadsign4.prefab",
"assets/content/props/roadsigns/roadsign5.prefab",
"assets/content/props/roadsigns/roadsign6.prefab",
"assets/content/props/roadsigns/roadsign7.prefab",
"assets/content/props/roadsigns/roadsign8.prefab",
"assets/content/props/roadsigns/roadsign9.prefab",
"assets/prefabs/deployable/chinooklockedcrate/chinooklockedcrate.prefab",
"assets/prefabs/deployable/chinooklockedcrate/chinooklockedcratecodelocked.prefab",
"assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
"assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate_oilrig.prefab",
"assets/prefabs/misc/supply drop/supply_drop.prefab",
"assets/prefabs/npc/m2bradley/bradley_crate.prefab",
"assets/prefabs/npc/patrol helicopter/heli_crate.prefab"
]
},
"Loot": {
"enableHammerLootCycle": false,
"hammerLootCycleTime": 3.0,
"lootMultiplier": 1,
"scrapMultiplier": 1
},
"Rarity": {
"Override": {
"autoturret": 4,
"lmg.m249": 4,
"targeting.computer": 3
}
}
}
存储数据
Better Loot在第一次启动时会在服务器data文件夹中的BetterLoot文件夹下创建以下文件:示例:data/BetterLoot/LootTable.json
代码:
Blacklist.json > 默认黑名单物品列表
LootTable.json > 默认战利品列表,如果需要可以在这里更改
NamesList.json > 所有蓝图和所有物品名称以及所有物品的最大叠加