LynxInc-LynxShredder icon

LynxShredder

Shredder build piece: pulls low-tier gear out of nearby chests and salvages it into materials. Optional Path of Valheiman, Kvist and ItemDrawers support.

By LynxInc
Last updated 9 minutes ago
Total downloads 0
Total rating 0 
Categories Deep North Update AI Generated Gear Crafting Server-side Client-side
Dependency string LynxInc-LynxShredder-1.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2

README

LynxShredder

A build piece that clears old gear out of your base. The Shredder pulls low-tier weapons, armour, shields, tools and capes out of nearby chests and salvages them into materials.

Using it

  • Build it with the Hammer (LynxStations tab) near a Forge.
  • E opens the output chest, where the materials go.
  • Shift+E opens the settings:
    • Weapons / Armour / Shields / Tools / Capes: shred items of this biome and below, or Off. Everything starts Off.
    • Work radius: shown as a ring while the window is open.
    • PoV rarity (only with Path of Valheiman): Common only, up to Magic, or up to Rare.
    • State: Running or Paused.
  • It shreds one item every few seconds and stops while the output chest is full.

Rules

  • An item's biome comes from the highest-tier material in its recipe. Axes count as Weapons; pickaxes and fishing rods count as Tools. Capes include anything in the back slot, such as gliders.
  • The item's crafting or repair station has to be within range.
  • It never takes from player inventories, open chests, tombstones, carts, ships, Kvist's nest, item drawers, other Shredders, private chests, or chests behind a ward the builder can't use.
  • Items without a recipe (disenchant-only items) are skipped.

Optional mods (detected automatically, never required)

  • Path of Valheiman: same salvage formula as manual salvage, the player's return bonuses, a rarity limit, and protection for uniques, legendaries, socketed gear and unidentified gear. No XP and no gear unlocks.
  • Kvist (GreydwarfSorter): the output chest is labelled "sort me", so Kvist empties it.
  • ItemDrawers: drawers are never touched.

Config (server values are sent to clients)

Setting Default
Piece.BuildCost FineWood:10,Iron:6,SurtlingCore:1
Piece.CraftingStation forge
Piece.BuildTab LynxStations any name = custom Jotunn tab; vanilla names also work
Work.SecondsPerItem 5
Work.DefaultRadius / MaxRadius 10 / 20 metres
Salvage.ReturnShareWithoutPoV 0.4 used only without PoV
Salvage.BiomeOverrides (empty) e.g. SwordBronze=Never, SomeModIngot=Plains
Debug.VerboseLog false logs every skip reason
Icon.Pitch / Icon.Yaw 25 / 30 build-menu icon camera angle (local)

Console (F5): lynxshredder_dump logs the nearest Shredder's parts and state; lynxshredder_icon [size] saves renders from 8 angles to BepInEx/config/LynxShredder_icons.