You are viewing a potentially older version of this package. View all versions.
SirJose-OmniTool-1.5.2 icon

OmniTool

Craftable multi-tool: hammer building, chest-to-chest and preset (Advanced) transfer, inventory assistant, workbench-area repair and remote destroy. Install on every player and the server.

By SirJose
Date uploaded 2 weeks ago
Version 1.5.2
Download link SirJose-OmniTool-1.5.2.zip
Downloads 30
Dependency string SirJose-OmniTool-1.5.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

Omni Tool 1.5.2

A craftable tool (Workbench: 10 Wood, 5 Resin, 3 Copper) inspired by ARK's Omni-tool. Hold it and middle-click to open the mode menu: click a mode to pick it, use the < > arrows, or close it with X, Esc or middle-click. The right side of the menu explains each mode and has its options (auto-run, confirm destroy).

Mode Left-click Right-click
Build place a piece (works like the hammer; tap middle-click removes, hold it for the menu) build menu
Transfer aim at a chest: move everything from the source into it (hold Left Shift: only matching items). Aim at nothing: run the active preset aim at a chest: pick it as source. Aim at nothing: open Advanced Transfer
Inventory Assistant open your inventory with the rules panel run the rules now
Repair repair every damaged piece in this workbench's area repair the piece you aim at
Destroy destroy the piece you aim at (click twice to confirm), full refund like the hammer –

Advanced Transfer (ARK style): save presets that move items from sources to targets.

  1. Sources - your inventory (hotbar can be left alone) and/or nearby storages, ticked one by one or "every storage named ..."
  2. Items - everything, whole categories (Materials, Food, Weapons, Armor, Ammo, Tools, Trophies, Other) or single items
  3. Targets - storages and stations (smelters, kilns, furnaces, windmills...: ore and fuel go in up to their limit), ticked or by name
  4. Save / Run now. "Aa" renames a preset; "-" twice deletes it. The selected preset is the one left-click runs.

Items go into targets that already hold that item first. Storages are found within 40 m (AdvancedTransfer.Range). Storage names come from: the Omni Tool's own Rename button (saved on the chest, everyone with the mod sees it), then other rename mods, then a sign within ~1.8 m of the chest, then the normal name. Presets are saved in BepInEx/config/com.burks.omnitool.presets.json.

Repair and Destroy need a workbench. You must stand within a workbench's range, and the tool only reaches pieces inside that workbench's build radius. Wards, no-build zones and "missing station" rules apply just like the hammer.

Inventory Assistant: pick items from your inventory, set how many to keep, and choose Drop or Destroy for the rest. Equipped items are never touched. Optional auto-run after pickup (while the tool is in your inventory) only does Destroy rules unless you turn on AutoApplyDropsToo.

It adds a new item, so every player and the server need it.

Settings: BepInEx/config/com.burks.omnitool.cfg (menu on/off and size, reach, modes on/off, workbench name, destroy confirmation, optional switch-mode key, assistant rules).

Model

If the model sits wrong in your hand, tune it in the console (F5): omnitool_pose held rx ry rz scale ox oy oz, or omnitool_pose ground .... Set UseCustomModel = false for the hammer look.

In Build mode a quick middle-click removes a piece like the hammer; hold middle-click (0.4 s) to open the menu (or Left Alt + middle-click).

On a gamepad, or with MiddleClickOpensMenu = false, middle-click just switches to the next mode.

CHANGELOG

Changelog

1.12.6

  • Searching the Sources and Targets lists now filters nearby matches. Click individual entries or use Select all to pick the matches on screen. Already-picked entries keep their selection.
  • Right-click a source to mark it with a red X and exclude it from the preset. Right-click again to remove the exclusion. Bulk selection and existing name rules respect exclusions.
  • Existing presets, including saved name rules, continue to work.

1.12.5

  • A preset that can't run inside a group (for example, no target storage in range) is now logged as a warning with the reason, and the group's summary says how many couldn't run. The log also lists every storage the preset wanted as a target and why it wasn't usable (too far, not player-built, outside a workbench area).
  • New icon.

1.12.4

  • New icon.

1.12.x

  • Range raised to 80 m.
  • Only works inside workbench areas, only on player-built storage, never takes items out of personal chests.
  • Category fixes: jerky, sausages, soups and anything made in a cauldron count as Meals (meads stay in Meads); Ancient Seeds go to Farm; unidentified Epic Loot gear goes to Weapons/Armor.

1.11.x

  • Groups: drag presets into a group and run them all at once.
  • Right-click a category to clear its left-out items.
  • "Added" tags on extra single items.
  • 4-column category grid.
  • Fixes: wood and stone showing in Farm, pukeberries in Meads.

1.10.0

  • Recipe changed to 10 Wood + 1 Stone.

1.9.x

  • Chest names come from My Little UI renames.
  • Chests are remembered by position, so they survive server restarts.
  • Quick Stack favorites are never taken from your inventory.
  • Presets saved in a new format that survives mod updates.
  • Ores, Metals, Wood and Stone are separate categories.
  • Leave single items out of a category (shows "-N").
  • Category fixes: nails, leather scraps, resin and crystal.

1.8.x

  • "Make a copy (+presets)" to give your presets to other players.
  • Presets backed up on your tool and saved with your character.
  • "Everything nearby" option for sources.
  • Search box for single items.
  • Fixes: typing in a search box no longer triggers game keys; duplication bug; Materials only holds leftover materials; sign names no longer label the wrong chest.

1.7.x

  • New categories: Meats, Fish, Forage, Meals, Meads & Potions, Hides & Leather.

1.6.x

  • New categories: Ores & Metals, Wood & Stone, Farm, Magic, Valuables.
  • Fixed the menu background disappearing.
  • Every transfer is logged, with a warning if item counts don't add up.

1.5.x

  • Advanced Transfer: presets with sources, items and targets.
  • Rename button for chests.
  • Smelters, kilns and furnaces take ore and fuel up to their limit.
  • Fixes: basic Transfer, overlapping buttons, Build mode getting stuck; tap middle-click to remove, hold it for the menu.

1.4.0

  • Build mode (works like the hammer).

1.3.0

  • Middle-click mode menu.

1.2.0

  • Repair and Destroy only work inside a workbench's area; Destroy needs two clicks and gives a full refund.
  • Inventory Assistant rules: keep N of an item, drop or destroy the rest.

1.1.0

  • First release: Transfer, Inventory Assistant, Repair and Destroy modes.