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

Function can_dig_up_stair

plugins/dig-now.cpp:262–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262static bool can_dig_up_stair(df::tiletype tt) {
263 df::tiletype_shape shape = tileShape(tt);
264 return shape == df::tiletype_shape::WALL ||
265 shape == df::tiletype_shape::FORTIFICATION;
266}
267
268static bool can_dig_down_stair(df::tiletype tt) {
269 df::tiletype_shape shape = tileShape(tt);

Callers 1

dig_tileFunction · 0.85

Calls 1

tileShapeFunction · 0.85

Tested by

no test coverage detected