Dwarf Fortress Bug Tracker - Dwarf Fortress |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0005853 | Dwarf Fortress | Dwarf Mode -- Buildings, General | public | 2012-04-30 10:17 | 2012-04-30 10:21 |
|
Reporter | Quietust | |
Assigned To | | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | |
Platform | | OS | | OS Version | |
Product Version | 0.34.07 | |
Target Version | | Fixed in Version | | |
|
Summary | 0005853: Bridge Support logic incorrect for left corners |
Description | If a retracting bridge is not supported by a floor tile at any of its edges, it will deconstruct as soon as it realizes something is wrong (e.g. when digging nearby or trying to retract it).
However, the logic for ignoring the corner tiles is broken - the upper-left and lower-left corners provide support, but the 3rd-from-left tiles along the top and bottom do not provide support.
Intended "support" tiles for a 5x5 bridge ("B" = bridge, "+" = good, "x" = bad):
x+++++x
+BBBBB+
+BBBBB+
+BBBBB+
+BBBBB+
+BBBBB+
x+++++x
Actual "support" tiles for a 5x5 bridge ("B" = bridge, "+" = good, "x" = bad):
++x+++x
+BBBBB+
+BBBBB+
+BBBBB+
+BBBBB+
+BBBBB+
++x+++x
|
Steps To Reproduce | |
Additional Information | This was originally discovered by angavrilov while examining parts of the code for constructing buildings (in order to figure out how to construct buildings within DFHack) - apparently, the code is using "x+1" instead of "x-1" for the upper-left and lower-left tiles. |
Tags | No tags attached. |
Relationships | related to | 0009946 | new | | Retracting bridges don't require support for construction, harmlessly deconstruct when checking support later |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-04-30 10:17 | Quietust | New Issue | |
2012-04-30 10:21 | Quietust | Note Added: 0022403 | |
2016-07-31 07:22 | Loci | Relationship added | related to 0009946 |