summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-04 20:05:13 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-04 20:11:25 +0100
commit99aa489a8d75c3c23395a61ae7a34c79fc37f7e0 (patch)
tree66ec5876f3e8141c84c68ecae59c2c406af628c3 /crawl-ref/source/makeitem.h
parent17571e019939a719da91fda064c12cc1542db98a (diff)
downloadcrawl-ref-99aa489a8d75c3c23395a61ae7a34c79fc37f7e0.tar.gz
crawl-ref-99aa489a8d75c3c23395a61ae7a34c79fc37f7e0.zip
Allow specifying "any weapon ego:XXX", "... missile", "... armour".
This will select an item type that can have brand XXX. This requires a large list of allowable type/brand combinations in the code :(
Diffstat (limited to 'crawl-ref/source/makeitem.h')
-rw-r--r--crawl-ref/source/makeitem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h
index 55507feabe..ad986a159f 100644
--- a/crawl-ref/source/makeitem.h
+++ b/crawl-ref/source/makeitem.h
@@ -33,4 +33,6 @@ armour_type get_random_body_armour_type(int level);
armour_type get_random_armour_type(int item_level);
void item_set_appearance(item_def &item);
+bool is_weapon_brand_ok(int type, int brand);
+bool is_armour_brand_ok(int type, int brand);
#endif