summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-28 21:15:38 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-28 21:15:38 +0000
commit72b2f48d51c53b6083bbb1e9e2386bfc51351376 (patch)
treee5f80fe8deccd4bcffc97168b1f7da402c86d4ac /crawl-ref/source/makeitem.cc
parent14ef20154318f3605e37aebdc2a5766f761d3177 (diff)
downloadcrawl-ref-72b2f48d51c53b6083bbb1e9e2386bfc51351376.tar.gz
crawl-ref-72b2f48d51c53b6083bbb1e9e2386bfc51351376.zip
Add new unique gnoll Grum, courtesy of Eino's patch. Thanks!
Also added a preliminary tile. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10070 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 203f4b6447..9635480465 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -3285,6 +3285,17 @@ static item_make_species_type _give_weapon(monsters *mon, int level,
}
break;
+ case MONS_GRUM:
+ force_item = true; // guaranteed reaching
+ item_race = MAKE_ITEM_NO_RACE;
+ item.base_type = OBJ_WEAPONS;
+ item.sub_type = random_choose(WPN_SPEAR, WPN_WHIP, WPN_WHIP,
+ WPN_HALBERD, WPN_GLAIVE, -1);
+ set_item_ego_type(item, OBJ_WEAPONS, SPWPN_REACHING);
+ item.plus += -2 + random2(4);
+ item.plus2 += -1 + random2(2);
+ break;
+
case MONS_ORC:
case MONS_ORC_PRIEST:
item_race = MAKE_ITEM_ORCISH;
@@ -4163,6 +4174,7 @@ void give_armour(monsters *mon, int level)
case MONS_EDMUND:
case MONS_RUPERT:
case MONS_WAYNE:
+ case MONS_GRUM:
{
item.base_type = OBJ_ARMOUR;