Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011663Dwarf FortressCreaturespublic2020-12-23 15:042020-12-23 15:04
ReporterNekkowe 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformMultiple (Windows, Linux)OSOS Version
Product Version0.47.04 
Target VersionFixed in Version 
Summary0011663: Internal body parts with certain tags can still wear clothing & armor, without being otherwise accessible
DescriptionThe [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 ReproduceAttach 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 InformationThe 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-12-23 15:04 Nekkowe New Issue


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker