MCPcopy Create free account
hub / github.com/DFHack/dfhack / can_dig_ramp

Function can_dig_ramp

plugins/dig-now.cpp:290–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290static bool can_dig_ramp(df::tiletype tt) {
291 df::tiletype_shape shape = tileShape(tt);
292 return shape == df::tiletype_shape::WALL ||
293 shape == df::tiletype_shape::FORTIFICATION;
294}
295
296static void dig_type(MapExtras::MapCache &map, const DFCoord &pos,
297 df::tiletype tt) {

Callers 1

dig_tileFunction · 0.85

Calls 1

tileShapeFunction · 0.85

Tested by

no test coverage detected