dfhack/library/include/df/custom/material.methods.inc

9 lines
144 B
C++

bool isGem()
{
return flags.is_set(df::material_flags::IS_GEM);
}
bool isStone()
{
return flags.is_set(df::material_flags::IS_STONE);
}