• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

tModLoader Encumbrance - Inventory use burdens your movement

hamstar

Steampunker


Note: Requires Mod Helpers

Carrying items beyond your player's hotbar is now a burden to movement. Jumping, attacking, grappling, or mounting in such conditions may cause your items to randomly drop. Additionally, movement will become increasingly sluggish with more item slots in use. Other configurable effects can be applied. Carrying capacity can also be configured.


Source available here. API also available.

Available config fields are defined here.




 
Last edited:

hamstar

Steampunker
v1.1.1
  • Updated for TML11.5
  • Implemented FloatInputElement for config
v1.1.0
  • Updated to TML11.4 and MH5b (including config, .csproj)
  • Removed lingering snake case
v1.0.1.1
  • Fixed item drops failing during MP
  • Restructured code to queue item drops
  • Altered overlay drawing to remove incorrect scaling when opening chests and talking to NPCs
  • Fixed item dropping to correctly regard current capacity
v1.0.0
  • Initial release.
 

Attachments

Last edited:

hamstar

Steampunker
Keep in mind this mod is intended as a game mode component. The API now supports enabling and disabling, so you can bind the encumbrance effect (or its removal) to an accessory or something.
 
Seems to. Looking at it now it's pretty straightforward, I don't know what confused me before.

I'm curious what these three options do, though:
"DropAlwaysAtLeastOf":
"DropOnDeath":
"DropPerDamageAmount":
 

hamstar

Steampunker
Seems to. Looking at it now it's pretty straightforward, I don't know what confused me before.

I'm curious what these three options do, though:
DropAlwaysAtLeastOf = Adjusts least amount of items dropped. Not implemented, currently.
DropOnDeath = Like lightweight mediumcore; indicates how much is dropped on death.
DropPerDamageAmount = How much is dropped per amount of damage taken per hit. Works incorrectly at the moment. Will fix shortly.
 
Top Bottom