You are viewing a potentially older version of this package. View all versions.
Loxley-Moorings-0.1.2 icon

Moorings

Mooring post: tie a boat to it and it can't be damaged by storms, rocks or docks.

Date uploaded 3 weeks ago
Version 0.1.2
Download link Loxley-Moorings-0.1.2.zip
Downloads 1592
Dependency string Loxley-Moorings-0.1.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2350
ValheimModding-Jotunn-2.30.0 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.0

README

Moorings

Valheim mod. Adds a Mooring post (Hammer → Misc, 6 Wood + 2 Resin at a Workbench): a log bollard with rope coiled round the top.

Interact with it to tie the nearest boat (within 12m). While moored the boat:

  • takes no damage from anything — wave slams, rocks, docks, rain, Ashlands
  • still rides the waves, but gets pulled back if its nearest end drifts more than 3m from the post (the line is sized to the hull, so a longship gets more room than a raft)

Interact again to cast off, or just take the rudder and push forward.

Requires BepInEx + Jötunn.

Build

dotnet build -c Release

Builds against the Steam install and copies the DLL into the r2modman Default profile's BepInEx/plugins/Moorings/.

Support

If this saved your longship, you can buy me a coffee on Ko-fi. More games and mods at loxley.games.

CHANGELOG

0.1.2

  • Slack now scales with hull length, so a longship isn't dragged up the beach. Slack in the config is measured from the boat's nearest end.

0.1.1

  • Post is now a log bollard with rope coiled round the top.
  • Fixed moorings breaking after a world reload (boat showed as moored, rope gone, couldn't cast off). Post and boat are now linked by a shared tag rather than object IDs, which the game reassigns on load. Boats moored before this update need tying again.
  • A post whose boat is gone can be interacted with to clear it.

0.1.0

  • Mooring post piece (Hammer → Misc). Tie the nearest boat; moored boats take no damage and stay by the post.