Resource randomizer

item survival:stackrandomizer-resource · 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 (34)

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
Stick item 7.97% 6–18
Torch (Extinguished) block 6.10% 2–14
Lime item 5.32% 8–24
Dry grass item 5.19% 17–33
Cattails item 5.19% 17–33
Rot item 5.19% 5–35
Flint item 4.55% 2–10
Coil of rope item 4.50% 1–5
Blue clay item 4.33% 15–35
Firewood item 4.33% 11–23
Saltpeter item 3.98% 6–20
Metal scraps block 3.46% 6–20
Bonemeal item 3.46% 5–25
Feather item 3.46% 6–10
Flax fibers item 3.46% 4–12
Fire clay item 3.46% 15–35
Lump of rendered fat item 2.60% 1–3
Resin item 2.60% 1–3
Flax twine item 2.38% 1–7
Horsetail Poultice (from reeds) item 2.16% 3–5
Copper bits item 2.16% 4–12
Clean bandage item 1.86% 1–5
Crushed alum item 1.73% 4–8
Salt item 1.73% 4–10
Beeswax item 1.60% 2–4
Beeswax item 1.30% 1–3
Compost item 1.30% 8–24
Crushed quartz item 0.87% 3–17
Saltpeter item 0.87% 13–27
Powdered borax item 0.87% 5–15
Filled beenade item 0.78% 1–2
Candle item 0.43% 2–4
Raw hide (Large) item 0.43% 1–3
Leather item 0.35% 1–3

Found in structures (144)

StructureKind
small structure
medium structure
large structure
common structure
common structure
specialsurfaceruins structure
average-town-uncommon village
average-village-common village
agricultural-village-main village
guild-village-main village
average-town-common village
military-town-main village
average-town-main village
guild-town-main village
agricultural-town-main village
surrfaceruins structure
average-village-main village
religious-village-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
Resonance Archive storystructure
Arctic Supplies / 1 below structure
underground-verycommon structure
underground-uncommon-lowerchance structure
underground-uncommon structure
underground-translocator-uncommon structure
underground-translocator-uncommon structure
underground-translocator-common structure
underground-rare structure
underground-common-lowerchance structure
underground-common structure
underground-samgrey-5 structure
underground-samgrey-4 structure
underground-samgrey-3 structure
underground-samgrey-2 structure
underground-samgrey-1 structure
graves6 structure
graves5 structure
graves4 structure
graves2 structure
graves1 structure
calix storystructure
coalmine storystructure
crossroads storystructure
forgottenvillage storystructure
forlornhopedungeon storystructure
largeforlornhopetower storystructure
halitequarry storystructure
huaca storystructure
mansion storystructure
mine1 storystructure
mine2 storystructure
shoppingcentre storystructure
sunrift storystructure
thepanopticon storystructure
university storystructure
quentin-waystones structure
bellcross-waystones structure
bellcross-waystones structure
bellcross-waystones structure
nybygget-translocatornexus structure
megastructures-forlornhopetower-common-niclass structure
megastructures-oasis-stadrian structure
megastructures-wolfstonecastle-desert-par structure
megastructures-wolfstonecastle-dryclimate-par structure
megastructures-wolfstonecastle-normalclimate-par structure
megastructures-wolfstonecastle-forest-par structure
megastructures-destroyedlargechurch-bodlacek structure
megastructures-castlewalls-catnoir structure
megastructures-visingsborg-dampus structure
megastructures-houseofusher-virrno structure
megastructures-mountaincastle-ogdred-o10 structure
megastructures-undergroundcastle-ogdred-o8 structure
megastructures-palaceofnestor-nybygget structure
megastructures-romanbathhouse-virrno structure
megastructures-rockformation-niclass structure
megastructures-settlementofkeykeepers-sirayne structure
megastructures-normancastle-par structure
megastructures-auldburg-dampusandtiggetagg structure
megastructures-undergroundlibrary-marlim structure
megastructures-giantcathedral-dampus structure
megastructures-wallsegment-niclass structure
village-vsvillage village
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-prison village
village-ogdred village
village-forest village
village-femursnapper village
village-desert village
surface-translocators-3 structure
surface-translocators-1 structure
surface-translocators-2 structure
surfaceunderground-tiggetaggcave1-tiggetagg structure
surfaceunderground-virrnocave-virrno structure
mediumruins structure
largeruins-0101-femursnapper-o7 structure
largeruins-0102-femursnapper-o7 structure
largeruins-0103-femursnapper-o7 structure
largeruins-0105-dampus-o7 structure
largeruins-0201-ifoz-o11 structure
largeruins-0202-ifoz-o11 structure
largeruins-0203-ifoz-o11 structure
largeruins-0204-niclass-o7 structure
largeruins-0205-niclass-o7 structure
largeruins-0206-samgrey-o7 structure
largeruins-0207-samgrey-o7 structure
largeruins-0208-samgrey-o7 structure
largeruins-0401-samgrey-o7 structure
largeruins-0403-vil-o7 structure
largeruins-0405-vil-o7 structure
largeruins-0407-virrno-o7 structure
largeruins-0408-virrno-o7 structure
largeruins-0501-freianofvoid-o16 structure
largeruins-0602-sirayne-o7 structure
largeruins-0603-sirayne-o7 structure
largeruins-0604-sirayne-o7 structure
largeruins-0605-sirayne-o7 structure
largeruins-0608-sirayne-o7 structure
largeruins-0611-sirayne-o6 structure
largeruins-0613-sirayne-o11 structure
largeruins-0701-femursnapper-largeruin-o4 structure
largeruins-0702-femursnapper-largeruin-o4 structure
largeruins-0801-par-largeruin-o5 structure
largeruins-0802-par-largeruin-o5 structure
largeruins-0803-par-largeruin-whitehillcastleruin-o6 structure
largeruins-0901-rowlyart-largeruin-o4 structure
largeruins-1001-ace-roadsideinn-largeruin-o6 structure
largeruins-largeruins-femur-o3-overgrownruin structure
largeruins-largeruins-o7-ogdred-bigcastleruin1 structure
largeruins-largeruins-shikitochi-o6-tinkersbakery structure
desertspecifc-o2-stadrian-deserthouse2 structure
desertspecifc-o20-stadrian-undergroundwithentrance structure
desertspecifc-desertruin2-virrno-o4 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.