Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
2 days ago
Downloads
122
Size
41KB
ADDatHost Valheim hosting
30% off

SaveCrossbowStateIncludeHook

A client-side mod that remembers whether your crossbow or grappling hook is loaded. Put the weapon away, switch to something else, and when you take it out again it is still loaded. No more reloading every time you swap weapons.

Based on SaveCrossbowState

This mod is based on SaveCrossbowState by Azumatt. The original idea and implementation are his, and all credit for them goes to him. The original has not been updated for a long time and does not cover the new Grappling Hook, so this version extends it.

What is different from the original

  • Works with the Grappling Hook (GrapplingHook) in addition to crossbows.
  • Updated for the current version of Valheim and BepInExPack.
  • Optional debug logging for troubleshooting.

Features

  • A loaded crossbow stays loaded after you unequip it.
  • A loaded grappling hook stays loaded after you unequip it.
  • Firing the weapon resets the state, so you have to reload it as usual.
  • Client-side only. The server and other players do not need the mod.

Installation

  1. Install BepInExPack Valheim. A mod manager such as Thunderstore Mod Manager or r2modman installs it automatically as a dependency.
  2. Install this mod.
  3. Remove the original SaveCrossbowState if you have it. This mod will not load while the original is installed, because both do the same job and would conflict. Do not run it together with other mods that remember the crossbow state.

Configuration

The config file is BepInEx/config/Pan_kapkan.SaveCrossbowStateIncludeHook.cfg. It is created after the first launch.

Setting Default Description
DebugLogging false Writes details about reloadable items (prefab name, skill, reload state) to the BepInEx log when you unequip or fire them. Turn it on when reporting a problem.

Known limitations

  • Items of the same type share the reload state, so two grappling hooks (or two identical crossbows) in your inventory behave as one.

Credits

  • Azumatt, author of the original SaveCrossbowState.
  • Pan_kapkan, Grappling Hook support and update.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.