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