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

5 lines
139 B
C++

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