View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
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
|
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. |
|
Attached Files | |
|