Cataclysm-dda: Can't treat feet

Created on 14 Jul 2020  路  6Comments  路  Source: CleverRaven/Cataclysm-DDA

Game version: 0.E-4042-gcd7577a652

Operating system: linux

Tiles or curses: tiles

Mods active: Dark Days Ahead

Expected behavior

Wounded feet can be bandaged, disinfected, and splinted, either independently or as part of legs as in older versions

Actual behavior

Feet can't be treated in any way. Possibly related to https://github.com/CleverRaven/Cataclysm-DDA/pull/39068

Steps to reproduce the behavior

  1. Use map editor to add a pool of acid on a tile
  2. Stand in pool of acid until you get the "your limb breaks!" message
  3. Try to bandage, disinfect, splint, or use the autodoc to treat your feet.
    Screenshot from 2020-07-14 01-17-11
    Screenshot from 2020-07-14 01-17-38
    Screenshot from 2020-07-14 01-17-50
    Screenshot from 2020-07-14 01-17-59
<Bug> Character / Player

Most helpful comment

Now that you mention it, my character did have his mouth break from frostbite yesterday...

This seems to apply to all body parts that aren't legs, arms, torso or the head.

All 6 comments

Hmm but on the screenshots you have no damage to your limbs so it makes sense you cannot treat them. I think the bug is that you are getting all the pain from stepping on acid, but no actual damage to your leg limbs :thinking: .

That would make sense if it didn't say "Your limb breaks" in the message log, which means his foot is defiantly broken. this could potentially be related to #42041 because if his left foot is what was actually infected, would explain why he couldn't treat it.

Hmm but on the screenshots you have no damage to your limbs so it makes sense you cannot treat them. I think the bug is that you are getting all the pain from stepping on acid, but no actual damage to your leg limbs thinking .

The feet are indeed damaged as you can see from the debug menu to set hitpoints (the entry for "all" shows 0 which means there is some hidden broken limb). They also get cold from critical damage and breaking them fails the "Structural Integrity" achievement. This also affects hands as far as I can tell, but those are harder to test.

Now that you mention it, my character did have his mouth break from frostbite yesterday...

This seems to apply to all body parts that aren't legs, arms, torso or the head.

Can confirm, body parts are COMPLETELY out of whack in experimental.
And as soon as these "phantom" body parts start taking damage, it just snowballs: the more damaged they get, the easier they soak up even more damage from things like frostbite. But since it does not effect ACTUAL limb hit points (as seen in the HUD) it's VERY hard to understand that's actually going on.

I think this can be fixed as a stopgap by using bodypart_id main_bp = bp.obj().main_part; in Creature::deal_damage at creature.cpp:839. There are a lot of places to check though...

edited

Was this page helpful?
0 / 5 - 0 ratings