Building materials randomizer

item survival:stackrandomizer-materials-building · from game

Game logic (C#)

The C# classes this item's JSON definition hands its behavior to. Files link to vssurvivalmod on GitHub, pinned to the commit the mapping was made from.

RoleName in JSONC# typeSource file
Item class ItemStackRandomizer ItemStackRandomizer Systems/Loot/ItemStackRandomizer.cs

Can generate (27)

This is a random-stack placeholder: when the game generates the chest, vessel or drop it sits in, it swaps this item for one of the results below, picked by the relative chance shown. A placed randomizer can also carry its own overall chance of generating nothing at all, which is per-instance data and not part of this definition.

Filters
ResultKindChanceQuantity
Chalk stone item 17.15% 8–24
Limestone stone item 17.15% 8–24
Aged oak planks block 15.38% 6–14
Aged oak log block 14.14% 4–10
Blue clay item 8.11% 6–18
Fire clay item 6.96% 6–18
Nails and strips (Copper) item 4.89% 1–3
Metal parts block 3.64% 2–4
Quicklime item 3.01% 4–12
Fireclay bricks block 1.66% 8–16
Bauxite ashlar blocks block 0.52% 8–16
Basalt ashlar blocks block 0.52% 8–16
Andesite ashlar blocks block 0.52% 8–16
Chalk ashlar blocks block 0.52% 8–16
Claystone ashlar blocks block 0.52% 8–16
Granite ashlar blocks block 0.52% 8–16
Sandstone ashlar blocks block 0.52% 8–16
Shale ashlar blocks block 0.52% 8–16
Chert ashlar blocks block 0.52% 8–16
Conglomerate ashlar blocks block 0.52% 8–16
Limestone ashlar blocks block 0.52% 8–16
Peridotite ashlar blocks block 0.52% 8–16
Phyllite ashlar blocks block 0.52% 8–16
Slate ashlar blocks block 0.52% 8–16
Tin bronze padlock item 0.21% 1–2
Bismuth bronze padlock item 0.21% 1–2
Black bronze padlock item 0.21% 1–2

Found in structures (65)

StructureKind
small structure
medium structure
large structure
specialsurfaceruins structure
average-village-main village
average-village-common village
religious-village-main village
average-town-main village
average-town-common village
average-town-uncommon village
military-town-main village
guild-town-main village
agricultural-town-main village
average-city-main village
agricultural-city-main village
guild-city-main village
military-city-main village
religious-city-main village
Lazaret area storystructure
underground-verycommon structure
underground-uncommon structure
underground-translocator-uncommon structure
underground-rare structure
underground-samgrey-5 structure
underground-samgrey-4 structure
underground-samgrey-3 structure
underground-samgrey-2 structure
calix storystructure
coalmine storystructure
huaca storystructure
mansion storystructure
mine1 storystructure
mine2 storystructure
shoppingcentre storystructure
sunrift storystructure
thepanopticon storystructure
university storystructure
nybygget-translocatornexus structure
virrno-monolith structure
megastructures-palaceofnestor-nybygget structure
megastructures-romanbathhouse-virrno structure
megastructures-settlementofkeykeepers-sirayne structure
megastructures-normancastle-par structure
village-samsvillage-redclay village
village-samsvillage-orange village
village-samsvillage-fireclay village
village-samsvillage-cream village
village-samsvillage-blackclay village
village-ruins-par village
village-ogdred village
village-forest village
village-femursnapper village
mediumruins structure
largeruins-0102-femursnapper-o7 structure
largeruins-0602-sirayne-o7 structure
largeruins-0603-sirayne-o7 structure
largeruins-0604-sirayne-o7 structure
largeruins-0605-sirayne-o7 structure
largeruins-0617-sirayne-o4 structure
largeruins-0701-femursnapper-largeruin-o4 structure
largeruins-0702-femursnapper-largeruin-o4 structure
largeruins-0801-par-largeruin-o5 structure
largeruins-1001-ace-roadsideinn-largeruin-o6 structure
desertspecifc-femuroasiso6 structure
desertspecifc-wildwest1-virrno-o4 structure

This confirms the schematic(s) contain this code somewhere, not where or how many times -- the per-instance block-entity decoding used for tapestries isn't run for every content type.