Metal scraps

block survival:metal-scraps · from game

Game logic (C#)

The C# classes this block'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
Behavior GroundStorable CollectibleBehaviorGroundStorable CollectibleBehavior/BehaviorGroundStorable.cs
Behavior Unplaceable BlockBehaviorUnplaceable BlockBehavior/BehaviorUnplaceable.cs
Behavior RightClickPickup BlockBehaviorRightClickPickup BlockBehavior/BehaviorRightClickPickup.cs
Behavior UnstableFalling BlockBehaviorUnstableFalling BlockBehavior/BehaviorUnstableFalling.cs

Used in (5)

Filters
RecipeCategoryIngredients → output
bomb-scrap grid
bomb-scrap grid
Scrap weapon kit (Item Recipe) grid
dye-black barrel
Gray dye ×10L + Metal scraps → Black dye ×10L
dye-gray barrel
Water ×10L + Metal scraps → Gray dye ×10L

Dropped by (47)

Filters
SourceKindMechanismChance / Quantity
Wooden pan block panning 0.20%
Ruined barred gate block blockDrop ×3
Ruined barred gate block blockDrop ×3
Ruined barred gate block blockDrop ×3
Ruined windowed gate block blockDrop ×3
Ruined windowed gate block blockDrop ×3
Ruined windowed gate block blockDrop ×3
Ruined solid gate block blockDrop ×3
Ruined solid gate block blockDrop ×3
Ruined solid gate block blockDrop ×3
Ruined barred gate block blockDrop ×3
Ruined barred gate block blockDrop ×3
Ruined barred gate block blockDrop ×3
Ruined windowed gate block blockDrop ×3
Ruined windowed gate block blockDrop ×3
Ruined windowed gate block blockDrop ×3
Ruined solid gate block blockDrop ×3
Ruined solid gate block blockDrop ×3
Ruined solid gate block blockDrop ×3
Ruined barred gate block blockDrop ×3
Ruined barred gate block blockDrop ×3
Ruined barred gate block blockDrop ×3
Ruined windowed gate block blockDrop ×3
Ruined windowed gate block blockDrop ×3
Ruined windowed gate block blockDrop ×3
Ruined solid gate block blockDrop ×3
Ruined solid gate block blockDrop ×3
Ruined solid gate block blockDrop ×3
Large pile of junk metal block blockDrop ×1
Large pile of junk metal block blockDrop ×1
Large pile of junk metal block blockDrop ×1
Large pile of junk metal block blockDrop ×1
Tiny pile of junk metal block blockDrop ×1
Small pile of junk metal block blockDrop ×1
Medium pile of junk metal block blockDrop ×1
Large pile of junk metal block blockDrop ×1
Locust nest (Cage) block blockDrop ×1
Metal spikes block blockDrop ×0.2
Metal spikes block blockDrop ×0.5
Metal spikes block blockDrop ×1
Metal spikes block blockDrop ×1.5
Locust nest block blockDrop ×1
Locust nest block blockDrop ×1
Locust nest block blockDrop ×1
Bell entity entityDrop ×3.5
Corrupt Sawblade Locust entity entityDrop ×0.75
Immobilized eidolon entity entityDrop ×3

Can be generated by (3)

Random-stack placeholders (placed in world-generated chests and similar) whose pool includes this. The chance is among that placeholder's results, not the chance of finding it.

PlaceholderChance
Food and kitchen tools randomizer 10.40%
Mining materials randomizer 10.00%
Resource randomizer 3.46%

Bought by traders (1)

Filters
TraderPrice min (per stack)Price max (per stack)Stock min (stacks)Stock max (stacks)Items per stack
Building materials trader 0.75 1.25 2.25 3.75 5

Found in structures (27)

StructureKind
small structure
medium structure
large structure
common structure
specialsurfaceruins structure
average-village-common village
agricultural-village-main village
guild-village-main village
average-town-common village
military-town-main village
Lazaret area storystructure
resonancearchiveentrance hookgenerated
Resonance Archive storystructure
rare structure
underground-verycommon structure
underground-rare structure
underground-samgrey-2 structure
calix storystructure
sunrift storystructure
university storystructure
megastructures-wolfstonecastle-desert-par structure
megastructures-wolfstonecastle-dryclimate-par structure
megastructures-wolfstonecastle-normalclimate-par structure
megastructures-wolfstonecastle-forest-par structure
surfaceunderground-dampuscave-dampus structure
mediumruins structure
largeruins-0401-samgrey-o7 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 block → 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.