diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2014-02-12 19:32:20 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-03-06 08:00:41 +0000 |
commit | 49e238f2a21cc04e99c3c945041b9d7e274b07b4 (patch) | |
tree | fb9c8db4f2a8feab049df88e63cdc404d2a5cf61 /crawl-ref/source/ng-setup.cc | |
parent | 12b0153de6c791cdc964519012ee819591b7a6f8 (diff) | |
download | crawl-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/ng-setup.cc')
-rw-r--r-- | crawl-ref/source/ng-setup.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/crawl-ref/source/ng-setup.cc b/crawl-ref/source/ng-setup.cc index 89fd6251b6..a5fe0904af 100644 --- a/crawl-ref/source/ng-setup.cc +++ b/crawl-ref/source/ng-setup.cc @@ -1098,31 +1098,6 @@ static void _mark_starting_books() mark_had_book(you.inv[i]); } -static void _racialise_starting_equipment() -{ - for (int i = 0; i < ENDOFPACK; ++i) - { - if (you.inv[i].defined()) - { - if (is_useless_item(you.inv[i])) - _newgame_clear_item(i); - // Don't change object type modifier unless it starts plain. - else if ((you.inv[i].base_type == OBJ_ARMOUR - || you.inv[i].base_type == OBJ_WEAPONS) - && get_equip_race(you.inv[i]) == ISFLAG_NO_RACE) - { - // Now add appropriate species type mod. - if (player_genus(GENPC_ELVEN)) - set_equip_race(you.inv[i], ISFLAG_ELVEN); - else if (you.species == SP_DEEP_DWARF) - set_equip_race(you.inv[i], ISFLAG_DWARVEN); - else if (player_genus(GENPC_ORCISH)) - set_equip_race(you.inv[i], ISFLAG_ORCISH); - } - } - } -} - static void _give_basic_spells(job_type which_job) { // Wanderers may or may not already have a spell. - bwr @@ -1338,7 +1313,6 @@ static void _setup_generic(const newgame_def& ng) _give_basic_spells(you.char_class); _give_basic_knowledge(you.char_class); - _racialise_starting_equipment(); initialise_item_descriptions(); for (int i = 0; i < ENDOFPACK; ++i) |