Weapon randomizer (Copper)

item survival:stackrandomizer-copperweapon · 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 (14)

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 31.91% 6–18
Copper spear item 26.60% 1
Copper arrow item 8.51% 2–14
Wooden club item 8.51% 1
Copper axe item 5.32% 1
Simple bow item 3.19% 1
Silver cleaver item 3.19% 1
Copper knife item 3.19% 1
Copper falx item 2.13% 1
Tin bronze knife item 2.13% 1
Tin bronze falx item 2.13% 1
Ornate gold spear item 1.06% 1
Ornate silver spear item 1.06% 1
Tuning Spear item 1.06% 1

Found in structures (62)

StructureKind
small structure
medium structure
common structure
common structure
specialsurfaceruins structure
raresurfaceruins structure
Resonance Archive storystructure
Arctic Supplies / Surface structure
underground-verycommon structure
underground-uncommon-lowerchance structure
underground-uncommon structure
underground-translocator-uncommon structure
underground-translocator-common structure
underground-rare structure
underground-common-lowerchance structure
underground-samgrey-5 structure
underground-samgrey-4 structure
underground-samgrey-2 structure
graves7 structure
graves6 structure
calix storystructure
coalmine storystructure
crossroads storystructure
forgottenvillage storystructure
forlornhopedungeon storystructure
largeforlornhopetower storystructure
halitequarry storystructure
shoppingcentre storystructure
sunrift storystructure
thepanopticon storystructure
university storystructure
quentin-waystones structure
bellcross-waystones structure
megastructures-oasis-stadrian structure
megastructures-wolfstonecastle-desert-par structure
megastructures-wolfstonecastle-forest-par structure
megastructures-destroyedlargechurch-bodlacek structure
megastructures-visingsborg-dampus structure
megastructures-mountaincastle-ogdred-o10 structure
megastructures-undergroundcastle-ogdred-o8 structure
megastructures-palaceofnestor-nybygget structure
megastructures-rockformation-niclass structure
megastructures-jumblerockcastle-dampus structure
megastructures-normancastle-par structure
megastructures-giantcathedral-dampus structure
megastructures-wallsegment-niclass structure
village-ogdred village
village-forest village
mediumruins structure
largeruins-0105-dampus-o7 structure
largeruins-0202-ifoz-o11 structure
largeruins-0203-ifoz-o11 structure
largeruins-0204-niclass-o7 structure
largeruins-0206-samgrey-o7 structure
largeruins-0207-samgrey-o7 structure
largeruins-0208-samgrey-o7 structure
largeruins-0401-samgrey-o7 structure
largeruins-0803-par-largeruin-whitehillcastleruin-o6 structure
largeruins-largeruins-o7-ogdred-bigcastleruin1 structure
largeruins-largeruins-shikitochi-o6-tinkersbakery structure
desertspecifc-o2-stadrian-cube1 structure
desertspecifc-o20-stadrian-undergroundwithentrance 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.