ProceduralDistributions
CratePottery
Lista de loot de Project Zomboid B42 con 11 ítems y 4 tiradas (rolls).
| ID | Nombre | Peso |
|---|---|---|
Claybag | 50 | |
Brush | 20 | |
Claybag | 20 | |
ClayTool | 20 | |
Brush | 10 | |
ClayTool | 10 | |
BookPottery1 | 2 | |
BookPottery2 | 1 | |
BookPottery3 | 0.5 | |
BookPottery4 | 0.1 | |
BookPottery5 | 0.05 |
Agregar tu ítem a esta lista
lua
local dist = ProceduralDistributions.list["CratePottery"]
if dist and dist.items then
table.insert(dist.items, "MiMod.MiItem")
table.insert(dist.items, 2)
endVa dentro de una función conectada a Events.OnPostDistributionMerge. Guía completa de loot → · Todas las listas