WENOPALBy players, for players

ProceduralDistributions

RailYardSpikes

Project Zomboid B42 loot table with 5 items and 6 rolls.

Data taken from the game files: Project Zomboid 42.21.0 · updated on

How loot works in Project Zomboid →

Where this list is on the map

Rooms where it spawns

railroad storage in Muldraugh, Project Zomboid map
railroad storage · Muldraugh 11605, 9982

Real locations on the game map (Build 42), with the room marked in pink and the building framed. They are examples: there are more places of each kind on the map. Coordinates are game map (x, y).

Containers

IDNameWeight
RailroadSpikeRailroad Spike50
RailroadSpikeRailroad Spike20
RailroadSpikeRailroad Spike20
RailroadSpikeRailroad Spike10
RailroadSpikeRailroad Spike10

Add your item to this list

lua
local dist = ProceduralDistributions.list["RailYardSpikes"]
if dist and dist.items then
    table.insert(dist.items, "MiMod.MiItem")
    table.insert(dist.items, 2)
end

Goes inside a function hooked to Events.OnPostDistributionMerge. Full loot guide → · All lists