ProceduralDistributions
CrateGenerator
Lista de loot de Project Zomboid B42 con 7 ítems y 4 tiradas (rolls).
| ID | Nombre | Peso |
|---|---|---|
Screwdriver | Destornillador | 10 |
ElectronicsMag4 | Cómo usar generadores | 6 |
BookElectrician1 | Electricidad Vol. 1 | 2 |
BookElectrician2 | Electricidad Vol. 2 | 1 |
BookElectrician3 | Electricidad Vol. 3 | 0.5 |
BookElectrician4 | Electricidad Vol. 4 | 0.1 |
BookElectrician5 | Electricidad Vol. 5 | 0.05 |
junk rolls 20
Una segunda tirada con objetos de relleno.
| ID | Nombre | Peso |
|---|---|---|
Generator_Old | Generador - Viejo | 40 |
Generator | Generador eléctrico | 10 |
Generator_Blue | Generador - ValuTech | 10 |
Generator_Yellow | Generador - Premium | 10 |
Agregar tu ítem a esta lista
lua
local dist = ProceduralDistributions.list["CrateGenerator"]
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