ProceduralDistributions
CrateFabric_Cotton
Project Zomboid B42 loot table with 5 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
FabricRoll_Cotton | Cotton Fabric Roll | 50 |
FabricRoll_Cotton | Cotton Fabric Roll | 20 |
FabricRoll_Cotton | Cotton Fabric Roll | 20 |
FabricRoll_Cotton | Cotton Fabric Roll | 10 |
FabricRoll_Cotton | Cotton Fabric Roll | 10 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["CrateFabric_Cotton"]
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