You are viewing a potentially older version of this package. View all versions.
Searica-SkilledCarryWeight-1.2.0 icon

SkilledCarryWeight

Configurable increase to max carry weight based on skill level per skill. Also adds a quick attach/detach feature to carts and can allow increasing your max carry weight to make carts easier to pull.

Date uploaded a year ago
Version 1.2.0
Download link Searica-SkilledCarryWeight-1.2.0.zip
Downloads 2346
Dependency string Searica-SkilledCarryWeight-1.2.0

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
ValheimModding-Jotunn-2.21.3 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.21.3

README

SkilledCarryWeight

Increases max carry weight based on skill level. The skills that increase max carry weight and the amount they increase it by are completely configurable. Also adds a quick attach/detach feature for carts and can configure increasing your max carry weight to make carts to be easier to pull. Uses Jotunn to sync configuration if installed on server.

Server-Side Info: This mod does work as a client-side only mod and only needs to be installed on the server if you wish to enforce configuration settings.

Details

Vanilla skills are automatically detected so if new skills get added in a future update this mod will let you configure how they affect your max carry weight.

Max carry weight is increased based on skill level for each skill enabled in the configuration using the following equation:

Increase = Coefficient * ((Skill Level) ^ Power)

Effective cart mass if calculated using the following equation if CarryWeightAffectsCart is enabled.

ModifiedMass = Max(
	Mass * (1 - MaxMassReduction), 
	Mass * (MinCarryWeight/MaxCarryWeight) ^ Power
)

Configuration

Changes made to the configuration settings will be reflected in-game immediately (no restart required) and they will also sync to clients if the mod is on the server. The mod also has a built in file watcher so you can edit settings via an in-game configuration manager (changes applied upon closing the in-game configuration manager) or by changing values in the file via a text editor or mod manager.

Global Section

These settings control how verbose the output to the log is.
Setting Server Sync Description
Verbosity No Low will log basic information about the mod. Medium will log information that is useful for troubleshooting. High will log a lot of information, do not set it to this without good reason as it will slow down your game.
  • Acceptable values: Low, Medium, High
  • Default value: Low

Cart Mass Section

These settings control how your maximum carry weight affects the mass of carts and how easy they are to pull.
Setting Server Sync Description
CarryWeightAffectsCart Yes Set to true/enabled to allow your max carry weight affect how easy carts are to pull by reducing the mass of carts you pull.
  • Acceptable values: False, True
  • Default value: true
MaxMassReduction Yes Maximum reduction in cart mass due to increased max carry weight. Limits effective cart mass to always be equal to or greater than:
Mass * (1 - MaxMassReduction).
  • Acceptable values: (0, 1)
  • Default value: 0.7
MinCarryWeight Yes Minimum value your maximum carry weight must be before it starts making carts easier to pull.
  • Acceptable values: (300, 1000)
  • Default value: 300
Power Yes Affects how much your maximum carry weight making pulling carts easier. Higher powers make your maximum carry weight reduce the mass of carts more.
  • Acceptable values: (0, 3)
  • Default value: 1

Quick Cart Section

These settings control how attaching and detaching to carts work.
Setting Server Sync Description
QuickCartKey No The hotkey used to attach to or detach from a nearby cart.
  • Acceptable values: KeyCode
  • Default value: G
AttachDistance Yes Maximum distance to attach a cart from.
  • Acceptable values: (2, 8)
  • Default value: 5
AttachOutOfPlace Yes Allow attaching the cart even when out of place.
  • Acceptable values: False, True
  • Default value: true

Individual Skill Sections

Each skill gets it's own section with the following configuration options.
Setting Server Sync Description
Enabled Yes Set to true/enabled to allow this skill to increase your max carry weight.
  • Acceptable values: False, True
  • Default value: Depends on the skill
Coefficient Yes Value to multiply the skill level by to determine how much extra carry weight it grants.
  • Acceptable values: (0, 10)
  • Default value: 0.25
Power Yes Power the skill level is raised to before multiplying by Coefficient to determine extra carry weight.
  • Acceptable values: (0, 10)
  • Default value: 1

Known Issues

None so far, tell me if you find any.

Donations/Tips

My mods will always be free to use but if you feel like saying thanks you can tip/donate.

My Ko-fi: ko-fi

Source Code

Source code is available on Github.

Github Repository: SkilledCarryWeight

Contributions

If you would like to provide suggestions, make feature requests, or reports bugs and compatibility issues you can either open an issue on the Github repository or tag me (@searica) with a message on my discord Searica's Mods.

I'm a grad student and have a lot of personal responsibilities on top of that so I can't promise I will respond quickly, but I do intend to maintain and improve the mod in my free time.

Shameless Self Plug (Other Mods By Me)

If you like this mod you might like some of my other ones.

Building Mods

Gameplay Mods

CHANGELOG

Version Notes
1.4.0
  • Updated for Bog Witch release.
1.3.0
  • Updated for Ashlands release.
1.2.1
  • Compiled against new version and update Jotunn dependency.
1.2.0
  • Added a quick attach/detach option for carts.
1.1.2
  • Bugfix for cart mass not being decreased correctly.
1.1.1
  • Fix README format.
1.1.0
  • Added options to reduce cart mass based on max carry weight.
  • Compiled against newest game version.
  • Minor performance optimizations.
  • Updated icon.
1.0.0/1.0.1
  • Initial release.
  • Add CHANGELOG