summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-18 18:58:52 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-18 18:58:52 +0000
commit6d7627cb65e54dae22237da82ea076bf17b1f9b7 (patch)
tree43eda0c3c953b041e1419650cc78a6ae9c381374 /crawl-ref/source/describe.cc
parent66c0054398335a6929dd22d3690775027b9906b6 (diff)
downloadcrawl-ref-6d7627cb65e54dae22237da82ea076bf17b1f9b7.tar.gz
crawl-ref-6d7627cb65e54dae22237da82ea076bf17b1f9b7.zip
Add the Slime god as per n78291's (Shayne?) patch. Thanks! :D
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10271 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc16
1 files changed, 15 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 21803a8328..25c5a0784a 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -3207,7 +3207,11 @@ const char *divine_title[NUM_GODS][8] =
// Beogh -- messiah theme
{"Apostate", "Messenger", "Proselytiser", "Priest",
- "Missionary", "Evangelist", "Apostle", "Messiah"}
+ "Missionary", "Evangelist", "Apostle", "Messiah"},
+
+ // Jiyva -- slime and jelly theme
+ {"Scum", "Jelly", "Squelcher", "Dissolver",
+ "Putrid Slime", "Consuming %s", "Archjelly", "Royal Jelly"}
};
static int _piety_level()
@@ -3541,6 +3545,16 @@ void describe_god( god_type which_god, bool give_title )
ABIL_YRED_INJURY_MIRROR);
}
}
+ else if (which_god == GOD_JIYVA)
+ {
+ if (jiyva_grant_jelly(false))
+ {
+ have_any = true;
+ std::string buf = "You can pray to create a jelly shield.";
+ _print_final_god_abil_desc(which_god, buf,
+ ABIL_JIYVA_JELLY_SHIELD);
+ }
+ }
// mv: No abilities (except divine protection) under penance
if (!player_under_penance())