summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.h
diff options
context:
space:
mode:
authorMarvinPA <chriscampbell89@gmail.com>2013-08-21 01:41:27 +0100
committerMarvinPA <chriscampbell89@gmail.com>2013-08-21 01:41:27 +0100
commit6dfddf1c4dda47c3b7828f5f6ab826bae9eeb012 (patch)
treebd7fedeaf5fc4f32f15a55f293ba9c40bb0fc842 /crawl-ref/source/invent.h
parent440019e6197fa31346d30a2a0634359b89c9a06c (diff)
downloadcrawl-ref-6dfddf1c4dda47c3b7828f5f6ab826bae9eeb012.tar.gz
crawl-ref-6dfddf1c4dda47c3b7828f5f6ab826bae9eeb012.zip
Make scrolls of vorpalise weapon target a weapon without having to wield it
Makes it more easily and obviously cancellable, and allows cancelling the scroll without spending a turn and losing it (if it was already identified). Doesn't use the same selection menus as enchant armour, identify and recharging - since it tends to show up much later it'd almost always be known anyway (and the point here is to make it harder to accidentally remove a brand you want).
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r--crawl-ref/source/invent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h
index fbe89c4051..34deb65a4d 100644
--- a/crawl-ref/source/invent.h
+++ b/crawl-ref/source/invent.h
@@ -31,6 +31,7 @@ enum object_selector
OSEL_UNCURSED_WORN_ARMOUR = -15,
OSEL_UNCURSED_WORN_JEWELLERY = -16,
OSEL_SCROLL_TARGET = -17,
+ OSEL_BRANDABLE_WEAPON = -18,
};
#define SLOT_BARE_HANDS -2