#ifndef _OBJ_ARMOUR_H_62d22fce_ #define _OBJ_ARMOUR_H_62d22fce_ #include "structs.h" /* * APIs exported by obj-armour.c. */ /* * Defense bonus of a piece of armour. This performs all applicable * rolls, returning a number suitable for adding to the wearer's * defense roll in its defend method. * * In particular, this returns different numbers each call for a given * piece of armour. */ extern int armour_def_bonus(OBJ *); /* * Test whether a piece of armour is being worn. */ extern int armour_being_worn(OBJ *); /* * Wear a piece of armour. */ extern void armour_wear(MONST *, OBJ *); /* * Remove a piece of armour. */ extern void armour_take_off(MONST *, OBJ *); #endif