Lore randomizer (V)
item
survival:stackrandomizer-lore-villager
· 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.
| Role | Name in JSON | C# type | Source file |
|---|---|---|---|
| Item class | ItemStackRandomizer |
ItemStackRandomizer |
Systems/Loot/ItemStackRandomizer.cs |
Can generate (1)
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
| Result | Kind | Chance | Quantity |
|---|---|---|---|
| Scroll | item | 100.00% | 1 |
Found in structures (29)
| Structure | Kind |
|---|---|
| small | structure |
| medium | structure |
| common | 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 |
| underground-uncommon-lowerchance | structure |
| underground-rare | structure |
| underground-samgrey-5 | structure |
| underground-samgrey-1 | structure |
| forgottenvillage | storystructure |
| university | storystructure |
| megastructures-undergroundcastle-ogdred-o8 | structure |
| megastructures-undergroundlibrary-marlim | structure |
| village-ogdred | village |
| largeruins-0108-dampus-largeruin-o8 | structure |
| largeruins-0701-femursnapper-largeruin-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.