blob: 001f0d33b24339500c3e481a18f246a9d4907efa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef PLAYER_EQUIP_H
#define PLAYER_EQUIP_H
// Any code that equips or melds items should go through these, to
// make sure equip/unequip effects are done the right amount of
// times, and to make sure melded flags don't get out of sync.
// XXX: the msg flag isn't implemented in all cases.
void equip_item(equipment_type slot, int item_slot, bool msg=true);
bool unequip_item(equipment_type slot, bool msg=true);
bool meld_slot(equipment_type slot, bool msg=true);
bool unmeld_slot(equipment_type slot, bool msg=true);
bool unwield_item(bool showMsgs = true);
#endif
|