Lantern randomizer

item survival:stackrandomizer-lantern · 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 (25)

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
Quartz chunk item 9.93% 10–20
Sleek door block 9.93% 1
Solid door block 9.93% 1
Forge block 9.93% 1
Empty Brass Torch holder block 9.93% 1–3
torchholder-aged-empty-north block 9.93% 1
Aged wooden bed block 7.09% 1
3-tall door block 7.09% 1
lantern-large-up block 4.96% 1
Iron door block 4.25% 1
lantern-large-up block 2.84% 1
2 by 2 gate block 2.84% 1
jonas-lamp
type: lightsource/on/lumi-pipe-v-lamp
block 2.84% 1
Chandelier block 2.84% 1
lantern-large-up block 2.13% 1
2 by 4 gate block 1.42% 1
lantern-large-up block 0.71% 1
lantern-large-up block 0.57% 1
lantern-large-up block 0.28% 1
lantern-large-up block 0.14% 1
lantern-large-up block 0.14% 1
Resonator block 0.14% 1
lantern-large-up block 0.07% 1
lantern-large-up block 0.07% 1
Chandelier block 0.01% 1

Found in structures (68)

StructureKind
small structure
medium structure
large structure
specialsurfaceruins structure
guild-village-main village
average-town-common village
military-town-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-rare structure
underground-common structure
underground-samgrey-4 structure
underground-samgrey-2 structure
underground-samgrey-1 structure
calix storystructure
forlornhopedungeon storystructure
largeforlornhopetower storystructure
halitequarry storystructure
mine1 storystructure
mine2 storystructure
shoppingcentre storystructure
thepanopticon storystructure
university storystructure
quentin-waystones 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-palaceofnestor-nybygget structure
megastructures-auldburg-dampusandtiggetagg structure
megastructures-undergroundlibrary-marlim structure
megastructures-giantcathedral-dampus 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
surface-translocators-3 structure
mediumruins structure
largeruins-0102-femursnapper-o7 structure
largeruins-0103-femursnapper-o7 structure
largeruins-0105-dampus-o7 structure
largeruins-0108-dampus-largeruin-o8 structure
largeruins-0206-samgrey-o7 structure
largeruins-0401-samgrey-o7 structure
largeruins-0405-vil-o7 structure
largeruins-0407-virrno-o7 structure
largeruins-0605-sirayne-o7 structure
largeruins-0612-sirayne-o6 structure
largeruins-0613-sirayne-o11 structure
largeruins-0617-sirayne-o4 structure
largeruins-0701-femursnapper-largeruin-o4 structure
desertspecifc-o4-femursnapper-japoasis structure
desertspecifc-lzmalpyramid-o6-1 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.

Find in schematics

Search every worldgen schematic for this item → Decodes the schematics in your browser to find where it is placed, what chiseled blocks use it, and which chests could hold it (including random placeholders), which the lists above don't cover.