ProceduralDistributions
StoreShelfSpices
Project Zomboid B42 loot table with 16 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Pepper | Pepper | 20 |
Salt | Salt | 20 |
SeasoningSalt | Seasoning Salt | 20 |
Pepper | Pepper | 10 |
Salt | Salt | 10 |
SeasoningSalt | Seasoning Salt | 10 |
PowderedGarlic | Garlic (Powdered) | 8 |
PowderedOnion | Onion (Powdered) | 8 |
Seasoning_Basil | Basil (Dried) | 4 |
Seasoning_Chives | Chives (Dried) | 4 |
Seasoning_Cilantro | Cilantro (Dried) | 4 |
Seasoning_Oregano | Oregano (Dried) | 4 |
Seasoning_Parsley | Parsley (Dried) | 4 |
Seasoning_Rosemary | Rosemary (Dried) | 4 |
Seasoning_Sage | Sage (Dried) | 4 |
Seasoning_Thyme | Thyme (Dried) | 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 (Spanish) → · All lists