Metal parts

block survival:metal-parts · 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 (15)

Filters
RecipeCategoryIngredients → output
Tuning Spear (Item Recipe) grid
spear-generic-* (tinbronze, bismuthbronze, blackbronze) + Temporal gear + Metal parts → Tuning Spear
Night vision mask (Item Recipe) grid
Night vision lens (Item Recipe) grid
Night vision entity elucidation lens (Item Recipe) grid
Night vision mask power assembly (Item Recipe) grid
Resonator (Item Recipe) grid
Base return teleporter (Item Recipe) grid
Base return teleporter alignment pylon (Item Recipe) grid
Base return teleporter thermal diffusion port (Item Recipe) grid
Base return teleporter reductive interval pylon (Item Recipe) grid
Terminus teleporter (Item Recipe) grid
Terminus teleporter thanatos coupling (Item Recipe) grid
Terminus teleporter transpressor (Item Recipe) grid
Terminus teleporter transit anodes (Item Recipe) grid
Rift ward (Item Recipe) grid

Dropped by (19)

Filters
SourceKindMechanismChance / Quantity
Wooden pan block panning 0.20%
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
Metal spikes block blockDrop ×0.02
Metal spikes block blockDrop ×0.07
Metal spikes block blockDrop ×0.2
Metal spikes block blockDrop ×0.5
Locust nest block blockDrop ×0.5
Locust nest block blockDrop ×0.5
Locust nest block blockDrop ×0.5
Bell entity entityDrop ×1.5
Corrupt Sawblade Locust entity entityDrop ×0.5
Immobilized eidolon entity entityDrop ×4.5

Can be generated by (2)

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
Building materials randomizer 3.64%
Gear randomizer 0.39%

Sold by traders (2)

Filters
TraderPrice min (per stack)Price max (per stack)Stock min (stacks)Stock max (stacks)Items per stack
Commodities trader 1.5 2.5 4.5 7.5 4
Treasure hunter trader 1.5 2.5 1.5 2.5 4

Found in structures (13)

StructureKind
medium structure
Trader camps in hot climate regions structure
Trader camps in forest structure
specialsurfaceruins structure
rare structure
underground-verycommon structure
underground-translocator-uncommon structure
underground-translocator-common structure
sunrift storystructure
surface-translocators-3 structure
surface-translocators-1 structure
surface-translocators-2 structure
largeruins-0405-vil-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.