Project Zomboid

Project Zomboid

Dismantle vehicle frame
 此主题已被置顶,因此可能具有重要性
weeeeez  [开发者] 2 月 10 日 下午 2:17
Drop table
Item name
Welding level 0
Welding level 10
Broken Glass
8%
33%
Electrical Wire
8%
33%
Iron Band - Small
7%
20%
Nuts and Bolts
8%
25%
Scrap Metal *
8%
33%
Spare EngineParts
5%
9%
Steel Bar
6%
14%
Steel Bar Half
7%
20%
Steel Bar Quarter
8%
25%
Steel Block
6%
14%
Steel Chunk
8%
25%
Steel Piece
8%
33%
Steel Pipe
7%
16%
Steel Rod
6%
25%
Steel Sheet
7%
16%
Steel Sheet - Small
8%
25%
Wire
8%
33%

There are (2 * max(5, welding skill level)) trials against each item.
At best luck and max welding skill level the max amount of each item is 20.
* Scrap Metal - could be dropped more than 20 items.
最后由 weeeeez 编辑于; 2 月 11 日 上午 3:58
< >
正在显示第 1 - 1 条,共 1 条留言
weeeeez  [开发者] 2 月 10 日 下午 3:12 
Mod API
Examples

Change drop probability of ElectricWire
if ActiveMods.getById("currentGame"):isModActive("AuthenticZStudderFix") then local loot = require("WeeezSalvageVehicleFrame/LootDefinition"); loot.setProbability("ElectricWire", 100)

Extend drop table with other loot
local loot = require("WeeezSalvageVehicleFrame/LootDefinition"); loot.addDefinition("Spiffo", 10)

Edit mod option in runtime
local options = require("WeeezSalvageVehicleFrame/SandboxOptions"); options.setRequiredMetalWeldingLevel(3) options.setPartsMustBeUninstalled(false)
最后由 weeeeez 编辑于; 2 月 10 日 下午 3:21
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50