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

Function is_tree_trunk

plugins/burrow.cpp:502–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500}
501
502static bool is_tree_trunk(const df::tiletype *tt) {
503 return is_tree(tt) && tileShape(*tt)== tiletype_shape::WALL;
504}
505
506// if the outside tile flag is set
507// or it's light and it's a tree

Callers 1

flood_fillFunction · 0.85

Calls 2

is_treeFunction · 0.85
tileShapeFunction · 0.85

Tested by

no test coverage detected