<p>Destroys the building, or queues a deconstruction job.
Returns <em>true</em> if the building was destroyed and deallocated immediately.</p>
</li>
</ul>
</ul>
<p>More high-level functions are implemented in lua and can be loaded by
<p>More high-level functions are implemented in lua and can be loaded by
<ttclass="docutils literal"><spanclass="pre">require('dfhack.buildings')</span></tt>. See <ttclass="docutils literal">hack/lua/dfhack/buildings.lua</tt>.</p>
<ttclass="docutils literal"><spanclass="pre">require('dfhack.buildings')</span></tt>. See <ttclass="docutils literal">hack/lua/dfhack/buildings.lua</tt>.</p>
@ -1152,6 +1161,11 @@ a planned but not completed construction there, changes its type.
Returns <em>true</em>, or <em>false</em> if obstructed.
Returns <em>true</em>, or <em>false</em> if obstructed.
Note that designated constructions are technically buildings.</p>
Note that designated constructions are technically buildings.</p>
</li>
</li>
<li><pclass="first"><ttclass="docutils literal">dfhack.constructions.designateRemove(pos)</tt>, or <ttclass="docutils literal">designateRemove(x,y,z)</tt></p>
<p>If there is a construction or a planned construction at the specified
coordinates, designates it for removal, or instantly cancels the planned one.
Returns <em>true, was_only_planned</em> if removed; or <em>false</em> if none found.</p>