Goldenrevolver-Loyal_Spears_Auto_Pickup_And_Return_To_Owner icon

Loyal Spears Auto Pickup And Return To Owner

Thrown spears are not auto picked up by other players and they automatically return to you (configurable)

Last updated 6 months ago
Total downloads 2060
Total rating 3 
Categories Hildir's Request Update
Dependency string Goldenrevolver-Loyal_Spears_Auto_Pickup_And_Return_To_Owner-1.0.1
Dependants 13 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2200 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2200

README

This mod makes thrown spears not get auto picked up by other players and they automatically return to you in a configurable amount of time.

It's a part of my spear mod collection

Auto Pickup

To make spears multiplayer friendly, your thrown spear will no longer be automatically picked up by other players all the time. Anyone can still pick up a spear manually by interacting with it.

Loyalty Return

Never worry about losing your fully upgraded spear again. A thrown spear returning into the players hand has been seen in games like Minecraft or in the mod Epic Loot already. In this mod, it's not intended to be an immediate return the second you hit (or miss) your enemy. Instead, it will return after a configurable amount of seconds and the default of 20 seconds is more so that you won't lose your spear if you can't find it again. But if you want you can always lower it down to one second to have a combat return (this config setting is server synced).

image

Credits

The Auto Pickup restriction is inspired by the mod HoldMySpear by Kevver. I didn't like the invasive permanent binding, so I opted for the approach of just preventing the auto pickup.

A part of the code is based on the 'Recall Weapon' effect from Epic Loot which has been taken with permission.


Source code available on github: https://github.com/Goldenrevolver/ValheimSpearModsAndFriends