Tuning Spear

item survival:spear-generic-hacking · from game

Attack a locust for a chance to convert it into an ally. It will follow and protect you, but you can only maintain one converted locust at a time. Bring the wayward children home.
Tags weaponweapon-meleeweapon-spear

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 ItemHackingSpear ItemHackingSpear Item/ItemHackingSpear.cs
Behavior GroundStorable CollectibleBehaviorGroundStorable CollectibleBehavior/BehaviorGroundStorable.cs
Behavior Buffable Not in vssurvivalmod (engine, VSEssentials, or a mod DLL)
Behavior AnimationAuthoritative Not in vssurvivalmod (engine, VSEssentials, or a mod DLL)

Produced by (1)

Filters
RecipeCategoryIngredients → output
Tuning Spear (Item Recipe) grid
spear-generic-* (tinbronze, bismuthbronze, blackbronze) + Temporal gear + Metal parts → Tuning Spear

Can be generated by (1)

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
Weapon randomizer (Copper) 1.06%

Found in structures (4)

StructureKind
graves7 structure
thepanopticon storystructure
university storystructure
desertspecifc-wildwest1-virrno-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.