These will become necessary shortly
parent
1b419313f4
commit
d9c4f259a0
@ -0,0 +1,4 @@
|
||||
bool isOre()
|
||||
{
|
||||
return flags.is_set(df::inorganic_flags::METAL_ORE) || flags.is_set(df::inorganic_flags::THREAD_METAL);
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
bool isGem()
|
||||
{
|
||||
return flags.is_set(df::material_flags::IS_GEM);
|
||||
}
|
||||
bool isStone()
|
||||
{
|
||||
return flags.is_set(df::material_flags::IS_STONE);
|
||||
}
|
Loading…
Reference in New Issue