Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ isSoilInorganic
Method
isSoilInorganic
library/modules/Materials.cpp:589–594 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
587
}
588
589
bool DFHack::isSoilInorganic(int material)
590
{
591
auto raw = df::inorganic_raw::find(material);
592
593
return raw && raw->flags.is_set(inorganic_flags::SOIL_ANY);
594
}
595
596
bool DFHack::isStoneInorganic(int material)
597
{
Callers
nothing calls this directly
Calls
2
is_set
Method · 0.80
find
Function · 0.50
Tested by
no test coverage detected