View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011663 | Dwarf Fortress | Creatures | public | 2020-12-23 15:04 | 2022-07-26 01:38 |
Reporter | Nekkowe | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Multiple (Windows, Linux) | ||||
Product Version | 0.47.04 | ||||
Summary | 0011663: Internal body parts with certain tags can still wear clothing & armor, without being otherwise accessible | ||||
Description | The [INTERNAL] token does not override the ability to wear armor/clothing on a body part that other tokens give it. A creature can equip and remove clothing to [INTERNAL] body parts, and will automatically be assigned gear on those body parts as normal, if those internal parts also happen to have [HEAD], [UPPERBODY] and/or [LOWERBODY] tokens. For example, an [INTERNAL] body part that also possesses the [HEAD] tag - for example, of a creature intended to be able to wear headgear, but not intended to need its head to survive - will still be assigned headgear in adventurer mode. The creature can freely wear/remove gear from it without the part needing to be exposed. | ||||
Steps To Reproduce | Attach the following body part definition to any default humanoid, and start as one in adventure mode. The equipment menu should automatically populate with duplicate clothing items, despite the part being [INTERNAL]. [BODY:AUTOMATON_CORE] [BP:AUTOMATON_CORE:automaton core:STP][CONTYPE:UPPERBODY] [INTERNAL][SMALL][UNDER_PRESSURE] [THOUGHT] -- the central core of the body [HEAD][UPPERBODY][LOWERBODY] [DEFAULT_RELSIZE:600] | ||||
Additional Information | The reason this would come up to begin with lies in the dual purpose of the [HEAD], [UPPERBODY] and [LOWERBODY] tokens. The first function they serve is determining wearables for the body part. But they also control a creature's death - if a creature had one or more parts with the [HEAD] token, and loses the last of them, it dies, regardless of remaining [THOUGHT] parts. This makes it difficult to create a creature that can wear headgear, trousers etc, but whose survival isn't reliant on those body parts. Adding redundant [HEAD], [UPPERBODY] and [LOWERBODY] tokens to the actual center of [THOUGHT] makes the other parts expendable, but even if that important part is marked as [INTERNAL], the creature can still equip clothing there - and comes into being wearing duplicate hats, trousers etc. wherever clothing is assigned automatically. There does not seem to be any other workaround for the dual nature of these tokens. | ||||
Tags | 0.47.05, body part, body parts, creature, Equipment, modding, raw, raw file, raw files, token, tokens | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-23 15:04 | Nekkowe | New Issue | |
2022-07-26 01:36 | Nekkowe | Tag Attached: 0.47.05 | |
2022-07-26 01:37 | Nekkowe | Tag Attached: body part | |
2022-07-26 01:37 | Nekkowe | Tag Attached: body parts | |
2022-07-26 01:37 | Nekkowe | Tag Attached: creature | |
2022-07-26 01:37 | Nekkowe | Tag Attached: Equipment | |
2022-07-26 01:37 | Nekkowe | Tag Attached: raw | |
2022-07-26 01:37 | Nekkowe | Tag Attached: raw file | |
2022-07-26 01:37 | Nekkowe | Tag Attached: raw files | |
2022-07-26 01:37 | Nekkowe | Tag Attached: token | |
2022-07-26 01:37 | Nekkowe | Tag Attached: tokens | |
2022-07-26 01:38 | Nekkowe | Tag Attached: modding |