From 71ba37e86b94376ca01be3decab6145766b04bf4 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 9 Jun 2009 19:22:07 +0000 Subject: Don't make Artificers start out wielding a knife. Instead, if the player picked an offensive wand, don't give them any weapon at all. (Otherwise, as before, they get a dagger.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9932 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/newgame.cc | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc index a087f4b735..6ffd6d2bad 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -5646,30 +5646,32 @@ bool _give_items_skills() break; case JOB_ARTIFICER: - // Equipment. Knife and armor or robe. - _newgame_make_item(0, EQ_WEAPON, OBJ_WEAPONS, WPN_KNIFE); + // Equipment. Dagger, and armour or robe. + _newgame_make_item(0, EQ_WEAPON, OBJ_WEAPONS, WPN_DAGGER); _newgame_make_item(1, EQ_BODY_ARMOUR, OBJ_ARMOUR, ARM_LEATHER_ARMOUR, ARM_ROBE); + // Choice of lesser wands, 15 charges plus wand of random // effects: confusion, enslavement, slowing, magic dart, frost, // flame; OR a rod of striking, 8 charges and no random effects. if (!_choose_wand()) return (false); - // If a supporting wand was chosen, hand out a dagger instead of - // the knife. - if (you.inv[3].sub_type == WAND_CONFUSION - || you.inv[3].sub_type == WAND_ENSLAVEMENT) + // If an offensive wand or the rod of striking was chosen, + // don't hand out a weapon. + if (you.inv[3].base_type != OBJ_WANDS + || you.inv[3].sub_type != WAND_CONFUSION + && you.inv[3].sub_type != WAND_ENSLAVEMENT) { - you.inv[0].sub_type = WPN_DAGGER; + _newgame_clear_item(0); } // Skills - you.skills[SK_EVOCATIONS] = 4; + you.skills[SK_EVOCATIONS] = 4; you.skills[SK_TRAPS_DOORS] = 3; - you.skills[SK_DODGING] = 2; - you.skills[SK_FIGHTING] = 1; - you.skills[SK_STEALTH] = 1; + you.skills[SK_DODGING] = 2; + you.skills[SK_FIGHTING] = 1; + you.skills[SK_STEALTH] = 1; break; default: -- cgit v1.2.3-54-g00ecf