Open trentbuck opened 1 week ago
Correction: draped duster isn't working better than zentai neckline. I had confused duster (draped legs, not shown on graph) with trenchcoat (thighs, shown on graph).
The neck in the game is not the neck in the usual sense, i.e. it is not a part of the body. It's more of a designation for the area occupied by something hanging from the neck. Like a piece of jewelry on a chain or a whistle. Or something like that.
Pay attention to locations_under
. Here is another example:
https://github.com/CleverRaven/Cataclysm-DDA/blob/0764d844500edc7efe96bd940e23b1a586830757/data/json/body_parts.json#L969-L978
I can't be 100% sure. I haven't seen the mechanics of how it works anywhere. So I'm relying on my own testing and assumptions. It can most likely be considered an extra layer of upper body armor. Which is triggered by a certain chance.
Presumably a 10 in 100 chance. Presumably the check goes before the upper body hit check. (Damage reduction, also before the upper body armor check).
Describe the bug
This is a very minor visual issue.
Logically the
zentai
covers the entire body. But in the item view, the coverage bodygraph shows a gap at the neck (see screenshot). This is because while zentai covers torso and head, but torso_neck (the gap) is a special case. I constructed a test item which adds torso_neck coverage, and the "problem" goes away.There's no gameplay impact to this minor issue. It's not even noticeable for most items, because most items don't cover both the torso and head.
Dusters seem to handle legsdraped[lr] OK, but I don't understand how.
Attach save file
N/A
Steps to reproduce
Expected behavior
I think bodypart_graphs/full_body_iteminfo should "color in" the neckline if either 1) there is BELTED torso_neck coverage (e.g. lanyard), or if it's a non-BELTED whole-torso item (e.g. zentai, tshirt). I don't see an obvious/elegant way to actually do this, though.
How is draped working currently? If that is special-cased somewhere (that I haven't found), I guess extend that to handle torso_neck?
Screenshots
Versions and configuration
Additional context
Here's a quick-and-dirty zentai variant that "covers the gap", shown in screenshot on right-hand-side. This is definitely not an acceptable fix, because it will then encumbrance conflict with other items on torso_neck, which it logically should not.