summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use2.h
blob: d5cc61724eeab5ffed5b4b64c7af004e1d9a5d6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 *  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"

// drank_it should be true for real potion effects (as opposed
// to abilities which duplicate such effects.)
bool potion_effect(potion_type pot_eff, int pow,
                   bool drank_it = false, bool was_known = true);

void unuse_artefact(const item_def &item, bool *show_msgs = NULL);
void unwear_armour(int slot);
bool unwield_item(bool showMsgs = true);

#endif