tModLoader Encumbrance - Inventory use burdens your movement

hamstar

Terrarian


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.

Encumbrance.png



 
Last edited:
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

  • Encumbrance v1.0.0.1.zip
    30.4 KB · Views: 209
  • Encumbrance v1.0.1.1.zip
    30.9 KB · Views: 198
  • Encumbrance v1.1.0.zip
    57.3 KB · Views: 170
  • Encumbrance v1.1.1.zip
    51.9 KB · Views: 173
Last edited:
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":
 
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.
 
Back
Top Bottom