View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006435 | Dwarf Fortress | Creatures | public | 2014-02-15 20:44 | 2014-02-17 20:08 |
Reporter | Vattic | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 0.34.11 | ||||
Summary | 0006435: DISPLAY_COLOR can't be overridden in creature raws | ||||
Description | If you use a material template within a creature definition and try to use DISPLAY_COLOR to override the one in the template it ignores the new colour in favour of the old. | ||||
Steps To Reproduce | * Open the blood man raws * Remove [ARENA_RESTRICTED] * Add [DISPLAY_COLOR:1:0:0] under [USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE] * Spawn some in the arena * See what colour severed parts and the pools left behind are | ||||
Tags | Intentional/Expected? | ||||
|
Reminder sent to: Vattic Does it change if you add it above instead? |
|
If you put it above then it throws an error as DISPLAY_COLOR is a material not a creature token. "*** Error(s) found in the file "raw/objects/creature_next_underground.txt" BLOOD_MAN:Unrecognized Creature Token: DISPLAY_COLOR" |
|
Just to add: There are multiple ways to set a materials colour. You can set: * each individual states colour STATE_COLOR:<state>:<colour> with <colour> coming from descriptor_color_standard.txt, which makes it then pick the nearest colour for display which has it's problems (0006222). * colour for all states STATE_COLOR:ALL:<colour>. * and you can set the display colour DISPLAY_COLOR:<x>:<y>:<z> with the three options being foreground, background, and brightness. It looks like STATE_COLOR overrides DISPLAY_COLOR, but while My initial error report is incorrect DISPLAY_COLOR doesn't seem to be doing anything; If you remove the STATE_COLOR tokens from blood the spilt blood ends up yellow in game not red as the DISPLAY_COLOR token demands. Trying to override the DISPLAY_COLOR in the creature definition also fails. |
|
Severed body parts seem to always be colored based on STATE_COLOR rather than DISPLAY_COLOR, and body parts containing blood seem to prefer the color of the creature's blood over the color of the predominant tissue in the body part (which is why troll limbs are generally cyan). |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-15 20:44 | Vattic | New Issue | |
2014-02-16 05:55 |
|
Note Added: 0024519 | |
2014-02-16 05:57 |
|
Tag Attached: AWAITING UPDATE | |
2014-02-16 10:25 | Vattic | Note Added: 0024520 | |
2014-02-16 10:46 | Vattic | Note Added: 0024521 | |
2014-02-16 10:46 | Vattic | Note Edited: 0024521 | |
2014-02-16 19:15 | Quietust | Note Added: 0024523 | |
2014-02-16 20:04 |
|
Tag Attached: Intentional/Expected? | |
2014-02-17 20:08 |
|
Tag Detached: AWAITING UPDATE |