ProceduralDistributions
OptometristGlasses
Project Zomboid B42 loot table with 7 items and 4 rolls.
| ID | Name | Weight |
|---|---|---|
Glasses_Normal | Prescription Glasses | 20 |
Glasses_Reading | Reading Glasses | 20 |
Glasses_Normal | Prescription Glasses | 10 |
Glasses_Reading | Reading Glasses | 10 |
Glasses_Prescription | Prescription Reflective Sunglasses | 8 |
Glasses_Prescription_Sun | Prescription Sunglasses | 8 |
Glasses_Prescription_Aviators | Prescription Aviator Glasses | 4 |
junk rolls 1
A second roll with filler items.
| ID | Name | Weight |
|---|---|---|
Mirror | Mirror | 100 |
Add your item to this list
lua
local dist = ProceduralDistributions.list["OptometristGlasses"]
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