return TRUE if mtmp is wearing shoes made of iron (iron/kicking) */
| 1095 | |
| 1096 | /* return TRUE if mtmp is wearing shoes made of iron (iron/kicking) */ |
| 1097 | boolean |
| 1098 | wearing_iron_shoes(struct monst *mtmp) |
| 1099 | { |
| 1100 | struct obj *armf = which_armor(mtmp, W_ARMF); |
| 1101 | return armf && objects[armf->otyp].oc_material == IRON; |
| 1102 | } |
| 1103 | |
| 1104 | /* is trap ttmp harmless to monster mtmp? */ |
| 1105 | boolean |
no test coverage detected