Basic workshop clutter randomizer

item survival:stackrandomizer-clutter-workshop-basic · 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 (21)

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
Clutter
type: anvil-broken1
block 4.76% 1
Clutter
type: anvil-broken2
block 4.76% 1
Clutter
type: anvil-broken3
block 4.76% 1
Clutter
type: brazier2
block 4.76% 1
Clutter
type: brazier3
block 4.76% 1
Clutter
type: brazier4
block 4.76% 1
Clutter
type: pile-tools1
block 4.76% 1
Clutter
type: pile-tools2
block 4.76% 1
Clutter
type: pile-tools3
block 4.76% 1
Clutter
type: pile-tools4
block 4.76% 1
Clutter
type: pile-woodworkingtools
block 4.76% 1
Clutter
type: tool-spear
block 4.76% 1
Clutter
type: tool-scythe
block 4.76% 1
Clutter
type: tool-shovel
block 4.76% 1
Clutter
type: tool-pickaxe
block 4.76% 1
Clutter
type: tool-saw
block 4.76% 1
Clutter
type: tool-hoe
block 4.76% 1
Clutter
type: tool-knife
block 4.76% 1
Clutter
type: tool-axe
block 4.76% 1
Clutter
type: tool-hammer
block 4.76% 1
Clutter
type: pulley
block 4.76% 1

Found in structures (13)

StructureKind
small structure
medium structure
large structure
forgottenvillage storystructure
mansion storystructure
mine1 storystructure
mine2 storystructure
sunrift storystructure
thepanopticon storystructure
village-femursnapper village
surfaceunderground-virrnocave-virrno structure
desertspecifc-desertruin2-virrno-o4 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.

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.