summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.h
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2014-02-12 19:32:20 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-03-06 08:00:41 +0000
commit49e238f2a21cc04e99c3c945041b9d7e274b07b4 (patch)
treefb9c8db4f2a8feab049df88e63cdc404d2a5cf61 /crawl-ref/source/makeitem.h
parent12b0153de6c791cdc964519012ee819591b7a6f8 (diff)
downloadcrawl-ref-49e238f2a21cc04e99c3c945041b9d7e274b07b4.tar.gz
crawl-ref-49e238f2a21cc04e99c3c945041b9d7e274b07b4.zip
Don't generate racial armour
[It had much the same problems as racial weapons, with only very slightly more significant effects. Some of the old effects of racial armour could potentially be rethought and made into a new armour ego. Beogh still gives a (slightly smaller than before) bonus for armour use, without the orcish requirement. -MarvinPA]
Diffstat (limited to 'crawl-ref/source/makeitem.h')
-rw-r--r--crawl-ref/source/makeitem.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h
index 3f5a462b52..95c795c716 100644
--- a/crawl-ref/source/makeitem.h
+++ b/crawl-ref/source/makeitem.h
@@ -8,20 +8,11 @@
#include "itemprop-enum.h"
-enum item_make_species_type
-{
- MAKE_ITEM_ELVEN = 1,
- MAKE_ITEM_DWARVEN = 2,
- MAKE_ITEM_ORCISH = 3,
-
- MAKE_ITEM_NO_RACE = 100,
- MAKE_ITEM_RANDOM_RACE = 250,
-};
-
int create_item_named(string name, coord_def pos, string *error);
int items(bool allow_uniques, object_class_type force_class, int force_type,
- bool dont_place, int item_level, int item_race,
+ bool dont_place, int item_level,
+ int rune_type = 0,
uint32_t mapmask = 0, int force_ego = 0, int agent = -1,
bool mundane = false);
@@ -31,7 +22,6 @@ void init_rod_mp(item_def &item, int ncharges = -1, int item_level = -1);
jewellery_type get_random_ring_type();
jewellery_type get_random_amulet_type();
void item_set_appearance(item_def &item);
-void maybe_set_armour_race(item_def &item, int allowed, int num_rolls = 1);
bool is_weapon_brand_ok(int type, int brand, bool strict);
bool is_armour_brand_ok(int type, int brand, bool strict);