/* * File: it_use2.h * Summary: Functions for using wands, potions, and weapon/armour removal. * Written by: Linley Henzell * * Modified for Crawl Reference by $Author$ on $Date$ */ #ifndef IT_USE2_H #define IT_USE2_H #include "externs.h" /* *********************************************************************** * called from: ability - beam - decks - item_use - misc - religion - * spell - spells - spells1 * *********************************************************************** */ bool potion_effect(potion_type pot_eff, int pow, bool was_known = true); /* *********************************************************************** * called from: item_use * *********************************************************************** */ void unuse_randart(unsigned char unw); void unuse_randart(const item_def &item); /* *********************************************************************** * called from: item_use - transfor * *********************************************************************** */ void unwear_armour(char unw); /* *********************************************************************** * called from: decks - it_use3 - item_use - items - spells3 - transfor * *********************************************************************** */ bool unwield_item(bool showMsgs = true); #endif