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

Function isSoilMaterial

library/include/TileTypes.h:191–191  ·  view source on GitHub ↗

Soil

Source from the content-addressed store, hash-verified

189
190 // Soil
191 inline bool isSoilMaterial(df::tiletype_material mat) { return mat == tiletype_material::SOIL; }
192 inline bool isSoilMaterial(df::tiletype tt) { return isSoilMaterial(tileMaterial(tt)); }
193
194 // Stone materials - their tiles are completely interchangable

Callers 1

dig_nowFunction · 0.85

Calls 1

tileMaterialFunction · 0.85

Tested by

no test coverage detected