Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
502
static 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_fill
Function · 0.85
Calls
2
is_tree
Function · 0.85
tileShape
Function · 0.85
Tested by
no test coverage detected