These will become necessary shortly

develop
Quietust 2012-01-21 08:59:19 -06:00
parent 1b419313f4
commit d9c4f259a0
2 changed files with 12 additions and 0 deletions

@ -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);
}