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

9 lines
158 B
PHTML

2012-01-21 07:59:19 -07:00
bool isGem()
{
return flags.is_set(df::enums::material_flags::IS_GEM);
2012-01-21 07:59:19 -07:00
}
bool isStone()
{
return flags.is_set(df::enums::material_flags::IS_STONE);
2012-01-21 07:59:19 -07:00
}