summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
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/mapdef.cc
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/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index cd2a9bcc72..46ce9849dd 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -4513,7 +4513,6 @@ item_spec &item_spec::operator = (const item_spec &other)
ego = other.ego;
allow_uniques = other.allow_uniques;
level = other.level;
- race = other.race;
item_special = other.item_special;
qty = other.qty;
acquirement_source = other.acquirement_source;
@@ -5090,21 +5089,6 @@ item_spec item_list::parse_single_spec(string s)
}
string ego_str = strip_tag_prefix(s, "ego:");
- string race_str = strip_tag_prefix(s, "race:");
-
- if (race_str == "elven")
- result.race = MAKE_ITEM_ELVEN;
- else if (race_str == "dwarven")
- result.race = MAKE_ITEM_DWARVEN;
- else if (race_str == "orcish")
- result.race = MAKE_ITEM_ORCISH;
- else if (race_str == "none" || race_str == "no_race")
- result.race = MAKE_ITEM_NO_RACE;
- else if (!race_str.empty())
- {
- error = make_stringf("Bad race: %s", race_str.c_str());
- return result;
- }
string id_str = strip_tag_prefix(s, "ident:");
if (id_str == "all")