encumbrance_modifier
Describe the bug
encumbrance_modifier provided by an active enchantment no longer appears to affect player bodypart encumbrance in 0.I-1.
I have a simple test item with an enchantment that applies -20 encumbrance to all body parts:
"encumbrance_modifier": [ { "part": "all", "add": -20 } ]
The enchantment is active while the item is worn, but the player's displayed body-part encumbrance does not change.
I verified that the same item and enchantment work correctly in an older experimental build, so this appears to be a regression rather than an issue with the JSON itself.
Attach save file
I don't think the save is needed here because it uses my own test mod... but here is the test mod in its entirety in case you do...
Steps to reproduce
- Create this test item json for ease of testing.
[ { "type": "ITEM", "subtypes": [ "ARMOR", "ARTIFACT" ], "id": "mie_test_relic_shirt", "copy-from": "tshirt", "name": { "str": "TEST relic encumbrance shirt" }, "description": "DEBUG ONLY. A plain t-shirt with an artifact passive_effect reducing its own encumbrance by a flat 20 on all covered parts. Wear it and compare its encumbrance to a normal t-shirt. If this ALSO shows no change, encumbrance_modifier is broken for item-attached enchantments too in this build, not just mutation-attached ones.", "passive_effects": [ { "has": "WORN", "condition": "ALWAYS", "encumbrance_modifier": [ { "part": "all", "add": -20 } ] } ] } ]
- Start the game and wear the item.
- Open the player/status screen and note the encumbrance of the affected body parts.
- Remove and re-equip the item if necessary to ensure the enchantment is active.
- Note that in the 2026-09-04 1715 build it does work but the stable build it does not.
Expected behavior
The enchantment's encumbrance_modifier should modify the player's body-part encumbrance while the enchantment is active.
This behavior worked correctly in the earlier experimental build but not the stable Ito-1...
Screenshots
shows it working
and here is the stable version. cdda-windows-with-graphics-and-sounds-x64-2026-09-19-2324.zip aka Ito-1.
no change to encumbrance.
Versions and configuration
OS: [Windows/Linux/etc.]
Build where bug occurs: 0.I-1 / Ito-1
Build where behavior still works: 2026-09-04 1715 experimental
Additional context
I originally encountered this while developing/testing a mod that uses enchantments. The enchantment itself loads correctly and other aspects of the item/enchantment system appear to function normally.
The important distinction is that encumbrance_modifier works in the 2026-09-04 experimental build but stops affecting displayed player encumbrance in Ito-1.
Here is the test json if you want the direct json used...
Sorry if I have made an error in any of the steps trying to explain the issue..
Source: CleverRaven/Cataclysm-DDA