summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/species.cc
diff options
context:
space:
mode:
authorBrendan Hickey <brendan@bhickey.net>2013-05-07 21:26:36 -0700
committerBrendan Hickey <brendan@bhickey.net>2013-05-07 21:26:36 -0700
commit167c651946e14d653e9a21b96500e419a5b9fa0c (patch)
tree0a879bc6fe2babc4f6569182b096f18302c3c33b /crawl-ref/source/species.cc
parentda99e5649b07fd211f9951b24e469840c7d84ad3 (diff)
downloadcrawl-ref-167c651946e14d653e9a21b96500e419a5b9fa0c.tar.gz
crawl-ref-167c651946e14d653e9a21b96500e419a5b9fa0c.zip
Grotesk
A gargoyle-like species. Good at earth, bad at air. Soon to have wings.
Diffstat (limited to 'crawl-ref/source/species.cc')
-rw-r--r--crawl-ref/source/species.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/species.cc b/crawl-ref/source/species.cc
index 4e1667065f..2065faf5f0 100644
--- a/crawl-ref/source/species.cc
+++ b/crawl-ref/source/species.cc
@@ -29,7 +29,7 @@ static species_type species_order[] = {
SP_NAGA, SP_CENTAUR,
SP_OGRE, SP_TROLL,
SP_MINOTAUR, SP_TENGU,
- SP_BASE_DRACONIAN,
+ SP_BASE_DRACONIAN, SP_GROTESK,
// celestial species
SP_DEMIGOD, SP_DEMONSPAWN,
// undead species
@@ -59,7 +59,7 @@ static const char * Species_Abbrev_List[NUM_SPECIES] =
// the draconians
"Dr", "Dr", "Dr", "Dr", "Dr", "Dr", "Dr", "Dr", "Dr", "Dr",
"Ce", "Dg", "Sp", "Mi", "Ds", "Gh", "Te", "Mf", "Vp", "DD",
- "Fe", "Op",
+ "Fe", "Op", "Gk",
// placeholders
"El", "HD", "OM", "GE", "Gn", "MD", };
@@ -173,6 +173,7 @@ string species_name(species_type speci, bool genus, bool adj)
case SP_SPRIGGAN: res = "Spriggan"; break;
case SP_MINOTAUR: res = "Minotaur"; break;
case SP_TENGU: res = "Tengu"; break;
+ case SP_GROTESK: res = "Grotesk"; break;
case SP_HILL_ORC:
res = (adj ? "Orcish" : genus ? "Orc" : "Hill Orc");
@@ -329,6 +330,8 @@ monster_type player_species_to_mons_species(species_type species)
return MONS_MINOTAUR;
case SP_DEMONSPAWN:
return MONS_DEMONSPAWN;
+ case SP_GROTESK:
+ return MONS_GARGOYLE;
case SP_GHOUL:
return MONS_GHOUL;
case SP_TENGU:
@@ -380,6 +383,7 @@ int species_exp_modifier(species_type species)
case SP_MERFOLK:
case SP_OCTOPODE:
case SP_TENGU:
+ case SP_GROTESK:
return 0;
case SP_SPRIGGAN:
case SP_DEEP_DWARF:
@@ -441,6 +445,7 @@ int species_hp_modifier(species_type species)
case SP_PURPLE_DRACONIAN:
case SP_MOTTLED_DRACONIAN:
case SP_PALE_DRACONIAN:
+ case SP_GROTESK:
case SP_GHOUL:
case SP_HILL_ORC:
case SP_MINOTAUR: