Lines Matching refs:otmp
66 #define is_organic(otmp) (objects[otmp->otyp].oc_material <= WOOD)
67 #define is_metallic(otmp) (objects[otmp->otyp].oc_material >= IRON && \
68 objects[otmp->otyp].oc_material <= MITHRIL)
71 /* is_flammable(otmp), is_rottable(otmp) in mkobj.c */
72 #define is_rustprone(otmp) (objects[otmp->otyp].oc_material == IRON)
75 #define is_corrodeable(otmp) (objects[otmp->otyp].oc_material == COPPER || objects[otmp->otyp].oc_material == IRON)
77 #define is_damageable(otmp) (is_rustprone(otmp) || is_flammable(otmp) || \
78 is_rottable(otmp) || is_corrodeable(otmp))