Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#88839·Cataclysm-DDA

encumbrance_modifier

Author: mechfax-jpgCreated Sep 27, 2026Updated Sep 27, 2026
Labels(S1 - Need confirmation)

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

Dravosburg-trimmed.tar.gz

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...

soul_binding_test_build-3.zip

Steps to reproduce

  1. 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 } ] } ] } ]

  1. Start the game and wear the item.
  2. Open the player/status screen and note the encumbrance of the affected body parts.
  3. Remove and re-equip the item if necessary to ensure the enchantment is active.
  4. 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

Image

shows it working

and here is the stable version. cdda-windows-with-graphics-and-sounds-x64-2026-09-19-2324.zip aka Ito-1.

Image

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...

debug_item_relic_test.json

Sorry if I have made an error in any of the steps trying to explain the issue..

Source: CleverRaven/Cataclysm-DDA

View original on GitHubView discussion on GitHub