Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0003099Dwarf FortressDwarf Mode -- Itemspublic2010-08-24 18:292012-02-16 16:32
Quietust 
Toady One 
normaltrivialalways
resolvedfixed 
0.31.12 
0.34.02 
0003099: Metal cages/floodgates/etc. show up with colors backwards
In previous versions, [COLOR:a:b:c] for stones was equivalent to [TILE_COLOR:a:b:c][BUILD_COLOR:b:a:*][BASIC_COLOR:a:c] (where * would be 1 if 'a' and 'b' were equal, 0 otherwise), and [COLOR:a:b:c] for metals was equivalent to [BUILD_COLOR:a:b:c][BASIC_COLOR:a:c]. Now that both stone and metal raws are parsed by the same logic, this results in metals having the wrong BUILD_COLOR (since it's following the rules used for stones), so doors, floodgates, hatch covers, barrels, bins, and cages made of metal have the wrong colors.

For example, in the past, iron and steel floodgates were dark grey with a light grey background (0:7:1), but now they appear as light gray with a black background (7:0:0). If this was not intended, then all metals should specify both DISPLAY_COLOR and BUILD_COLOR to the same values.
No tags attached.
related to 0001332resolved Toady One Olivine doors look like gems 
Issue History
2010-08-24 18:29QuietustNew Issue
2010-08-24 19:21DwarfuRelationship addedchild of 0002589
2012-01-10 18:08QuietustNote Added: 0019345
2012-01-10 18:09QuietustNote Edited: 0019345bug_revision_view_page.php?bugnote_id=0019345#r7233
2012-01-10 18:25FootkerchiefRelationship addedrelated to 0001332
2012-01-10 18:25FootkerchiefRelationship deletedchild of 0002589
2012-01-10 18:26FootkerchiefNote Added: 0019346
2012-01-10 18:26FootkerchiefNote Edited: 0019346bug_revision_view_page.php?bugnote_id=0019346#r7235
2012-02-16 16:32Toady OneNote Added: 0019858
2012-02-16 16:32Toady OneStatusnew => resolved
2012-02-16 16:32Toady OneFixed in Version => Next Version
2012-02-16 16:32Toady OneResolutionopen => fixed
2012-02-16 16:32Toady OneAssigned To => Toady One

Notes
(0019345)
Quietust   
2012-01-10 18:08   
(edited on: 2012-01-10 18:09)
This bug is not related to 0002589 in any way.

(0019346)
Footkerchief   
2012-01-10 18:26   
I think the idea was just that they're both building display issues, but I've replaced that relationship with one to 0001332 which, being older, can function as the hub for this type of issue.

(0019858)
Toady One   
2012-02-16 16:32   
Should be sorted for next time.