Library randomizer

item survival:stackrandomizer-library · 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 (52)

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
Parchment item 8.93% 1–5
Gray rotten book item 1.79% 1
Brown rotten book item 1.79% 1
Rust rotten book item 1.79% 1
Purple rotten book item 1.79% 1
Green rotten book item 1.79% 1
Plain glasses item 1.79% 1
Ink and quill item 1.79% 1
Clutter
type: candlestub-single
block 1.79% 1
Clutter
type: candlestubs-bunch1
block 1.79% 1
Clutter
type: candlestubs-bunch2
block 1.79% 1
Clutter
type: candlestubs-bunch3
block 1.79% 1
Clutter
type: candlestubs-bunch4
block 1.79% 1
Clutter
type: bookshelves/large-book-closed
block 1.79% 1
Clutter
type: bookshelves/large-book-pile1
block 1.79% 1
Clutter
type: bookshelves/large-book-pile2
block 1.79% 1
Clutter
type: bookshelves/large-book-pile3
block 1.79% 1
Clutter
type: bookshelves/bookstand-verylarge-book-closed
block 1.79% 1
Clutter
type: bookshelves/bookstand-verylarge-book-open
block 1.79% 1
Clutter
type: bookshelves/lectern-large-book-closed
block 1.79% 1
Clutter
type: bookshelves/lectern-large-book-open
block 1.79% 1
Clutter
type: bookshelves/large-book-standing1
block 1.79% 1
Clutter
type: bookshelves/large-book-standing2
block 1.79% 1
Clutter
type: bookshelves/large-book-standing3
block 1.79% 1
Clutter
type: bookshelves/large-book-standing4
block 1.79% 1
Clutter
type: bookshelves/large-book-standing5
block 1.79% 1
Clutter
type: bookshelves/large-book-standing6
block 1.79% 1
Clutter
type: abacus1
block 1.79% 1
Clutter
type: abacus2
block 1.79% 1
Clutter
type: abacus3
block 1.79% 1
Clutter
type: abacus4
block 1.79% 1
Clutter
type: alidade
block 1.79% 1
Clutter
type: armillary1
block 1.79% 1
Clutter
type: armillary2
block 1.79% 1
Clutter
type: armillary3
block 1.79% 1
Clutter
type: astrolabe
block 1.79% 1
Clutter
type: diptych-dial
block 1.79% 1
Clutter
type: equi-dial
block 1.79% 1
Clutter
type: globe1
block 1.79% 1
Clutter
type: globe2
block 1.79% 1
Clutter
type: globe3
block 1.79% 1
Clutter
type: globe4
block 1.79% 1
Clutter
type: globe5
block 1.79% 1
Clutter
type: globe6
block 1.79% 1
Clutter
type: jonas-lamp/floor4
block 1.79% 1
Clutter
type: jonas-lamp/floor5
block 1.79% 1
Clutter
type: jonas-lamp/floor6
block 1.79% 1
Clutter
type: jonas-lamp/floor7
block 1.79% 1
Clutter
type: pile-drafting-instrument
block 1.79% 1
Clutter
type: machine6
block 1.79% 1
Omok piece (Lead) item 1.79% 1
Omok piece (Gold) item 1.79% 1

Found in structures (28)

StructureKind
medium structure
Resonance Archive storystructure
underground-translocator-uncommon structure
underground-translocator-common structure
underground-rare structure
underground-common-lowerchance structure
calix storystructure
forlornhopedungeon storystructure
largeforlornhopetower storystructure
mansion storystructure
shoppingcentre storystructure
sunrift storystructure
thepanopticon storystructure
university storystructure
special-sunrifteperimentsmallruin-sirayne structure
megastructures-forlornhopetower-common-niclass structure
megastructures-oasis-stadrian structure
megastructures-settlementofkeykeepers-sirayne 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
largeruins-0108-dampus-largeruin-o8 structure
largeruins-0206-samgrey-o7 structure
largeruins-0701-femursnapper-largeruin-o4 structure
desertspecifc-o2-stadrian-deserthouse2 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.