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

4 lines
138 B
C++

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