ProceduralDistributions
StoreShelfSpices
Project Zomboid B42 loot table with 16 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Pepper | 20 | |
Salt | 20 | |
SeasoningSalt | 20 | |
Pepper | 10 | |
Salt | 10 | |
SeasoningSalt | 10 | |
PowderedGarlic | 8 | |
PowderedOnion | 8 | |
Seasoning_Basil | 4 | |
Seasoning_Chives | 4 | |
Seasoning_Cilantro | 4 | |
Seasoning_Oregano | 4 | |
Seasoning_Parsley | 4 | |
Seasoning_Rosemary | 4 | |
Seasoning_Sage | 4 | |
Seasoning_Thyme | 4 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["StoreShelfSpices"]
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 → · All lists