diff options
author | pubby <pubby8@gmail.com> | 2013-06-12 02:34:30 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-08-25 00:12:25 -0400 |
commit | 2211e5ff2f25adfb931eb0ff32b274afa7eb7ed5 (patch) | |
tree | 4568295ed3a6c1bd2c0df4bc8db167db1809c043 /crawl-ref/source/species.cc | |
parent | 9c1491e134d7c43d0ad2c4ebd444a3a2199b457b (diff) | |
download | crawl-ref-2211e5ff2f25adfb931eb0ff32b274afa7eb7ed5.tar.gz crawl-ref-2211e5ff2f25adfb931eb0ff32b274afa7eb7ed5.zip |
Create Formicid species and monsters.
Tavern post:
https://crawl.develz.org/tavern/viewtopic.php?f=8&t=8298
Wierdness & mutations:
- poison weakness
- retractable antennae (can wear headgear and ignore mutation)
- chitin skin (+3 AC)
- most weapons 1-handed, big weapons 2-handed
- permanent stasis
- ability to shaft self
- ability to dig
- Starts with 2 curing pots
3 monster versions of formicids were added:
formicid, a weak fighter
formicid drone, a stronger fighter
formicid venom mage, a magician with olgreb's and mass cure poison
[ Pushing to a branch for experimental playtesting on CSZO.
Also optimised the new tiles. -nfm ]
Diffstat (limited to 'crawl-ref/source/species.cc')
-rw-r--r-- | crawl-ref/source/species.cc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/crawl-ref/source/species.cc b/crawl-ref/source/species.cc index df8f1e4a8a..c7012eae00 100644 --- a/crawl-ref/source/species.cc +++ b/crawl-ref/source/species.cc @@ -19,9 +19,9 @@ static species_type species_order[] = { // comparatively human-like looks SP_HUMAN, SP_HIGH_ELF, - SP_DEEP_ELF, - SP_DEEP_DWARF, SP_HILL_ORC, - SP_LAVA_ORC, SP_MERFOLK, + SP_DEEP_ELF, SP_DEEP_DWARF, + SP_HILL_ORC, SP_LAVA_ORC, + SP_MERFOLK, SP_FORMICID, // small species SP_HALFLING, SP_KOBOLD, SP_SPRIGGAN, @@ -64,7 +64,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", "Dj", "LO", "Gr", + "Fe", "Op", "Dj", "LO", "Gr", "Fo", // placeholders "El", "HD", "OM", "GE", "Gn", "MD", #if TAG_MAJOR_VERSION > 34 @@ -199,6 +199,7 @@ string species_name(species_type speci, bool genus, bool adj) case SP_MINOTAUR: res = "Minotaur"; break; case SP_TENGU: res = "Tengu"; break; case SP_GARGOYLE: res = "Gargoyle"; break; + case SP_FORMICID: res = "Formicid"; break; case SP_HILL_ORC: res = (adj ? "Orcish" : genus ? "Orc" : "Hill Orc"); @@ -385,6 +386,8 @@ monster_type player_species_to_mons_species(species_type species) return MONS_OCTOPODE; case SP_DJINNI: return MONS_DJINNI; + case SP_FORMICID: + return MONS_FORMICID; case SP_ELF: case SP_HILL_DWARF: case SP_MOUNTAIN_DWARF: @@ -413,6 +416,7 @@ int species_exp_modifier(species_type species) case SP_HUMAN: case SP_HALFLING: case SP_KOBOLD: + case SP_FORMICID: return 1; case SP_HILL_ORC: case SP_OGRE: @@ -466,6 +470,7 @@ int species_hp_modifier(species_type species) case SP_DEEP_ELF: case SP_TENGU: case SP_KOBOLD: + case SP_FORMICID: return -2; case SP_HIGH_ELF: case SP_SLUDGE_ELF: @@ -511,6 +516,7 @@ int species_mp_modifier(species_type species) return -2; case SP_CENTAUR: case SP_GHOUL: + case SP_FORMICID: return -1; default: return 0; |