summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-01-16 15:51:03 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-01-16 20:17:56 +0100
commit44ca3e30acce226502d11d71027ebd1457fa95e2 (patch)
tree06ee1c73be6cfaa8e9e2e22f0ca68531f731a9e0 /crawl-ref/source/makeitem.h
parent1a8dd4ca20b07e3c811cabd8d7471b72b1ec7e0e (diff)
downloadcrawl-ref-44ca3e30acce226502d11d71027ebd1457fa95e2.tar.gz
crawl-ref-44ca3e30acce226502d11d71027ebd1457fa95e2.zip
Make the "mundane" tag actually work.
On second thought, don't include not_cursed, so we can produce cursed non-glowing items, if necessary.
Diffstat (limited to 'crawl-ref/source/makeitem.h')
-rw-r--r--crawl-ref/source/makeitem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h
index 65f462c5e8..4de0ccb51e 100644
--- a/crawl-ref/source/makeitem.h
+++ b/crawl-ref/source/makeitem.h
@@ -25,7 +25,8 @@ int create_item_named(std::string name, coord_def pos,
int items(int allow_uniques, object_class_type force_class, int force_type,
bool dont_place, int item_level, int item_race,
- uint32_t mapmask = 0, int force_ego = 0, int agent = -1);
+ uint32_t mapmask = 0, int force_ego = 0, int agent = -1,
+ bool mundane = false);
void item_colour(item_def &item);
void init_rod_mp(item_def &item, int ncharges = -1, int item_level = -1);