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

4 lines
124 B
C++

bool isOre()
{
return flags.is_set(df::inorganic_flags::METAL_ORE) || flags.is_set(df::inorganic_flags::THREAD_METAL);
}