ProceduralDistributions
GymMats
Project Zomboid B42 loot table with 4 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Mov_GymnMat | Gym Mat | 20 |
Mov_GymnMat | Gym Mat | 20 |
Mov_GymnMat | Gym Mat | 10 |
Mov_GymnMat | Gym Mat | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["GymMats"]
if dist and dist.items then
table.insert(dist.items, "MiMod.MiItem")
table.insert(dist.items, 2)
endGoes inside a function hooked to Events.OnPostDistributionMerge. Full loot guide (Spanish) → · All lists