summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/dat/database/godspeak.txt28
-rw-r--r--crawl-ref/source/godprayer.cc2
-rw-r--r--crawl-ref/source/ouch.cc8
3 files changed, 38 insertions, 0 deletions
diff --git a/crawl-ref/source/dat/database/godspeak.txt b/crawl-ref/source/dat/database/godspeak.txt
index b2383757d8..fc4c739979 100644
--- a/crawl-ref/source/dat/database/godspeak.txt
+++ b/crawl-ref/source/dat/database/godspeak.txt
@@ -641,6 +641,34 @@ insane
naughty
%%%%
+############################
+# Gozag's response to prayer
+############################
+Gozag prayer
+
+Gozag says: Don't bother me unless you have something to purchase.
+
+Gozag says: Bring me some gold!
+
+Gozag says: Wasting time is wasting money!
+
+Gozag says: I'm waiting for your next payment.
+
+w:5
+Gozag says: Gold! Gold! Gold!
+
+w:1
+Gozag says: Your prayer is important. Please continue to hold.
+
+w:1
+Gozag says: Please join the back of the queue.
+
+w:1
+Gozag says: This prayer may be monitored for quality assurance.
+
+w:1
+Gozag says: For potions, speak 1 now.
+%%%%
######################################
# Welcome messages on game restoration
######################################
diff --git a/crawl-ref/source/godprayer.cc b/crawl-ref/source/godprayer.cc
index 43aaf40567..962ed5da21 100644
--- a/crawl-ref/source/godprayer.cc
+++ b/crawl-ref/source/godprayer.cc
@@ -362,6 +362,8 @@ void pray()
mprf(MSGCH_GOD, "%s", getSpeakString("Xom prayer").c_str());
else if (player_under_penance())
simple_god_message(" demands penance!");
+ if (you_worship(GOD_GOZAG))
+ mprf(MSGCH_GOD, "%s", getSpeakString("Gozag prayer").c_str());
else
mprf(MSGCH_PRAY, you.religion, "%s", god_prayer_reaction().c_str());
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 871fdedde2..032d6e86c2 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -1360,6 +1360,14 @@ void _end_game(scorefile_entry &se)
// No message if you're not undead and your corpse is lost.
break;
+ case GOD_GOZAG:
+ if (se.get_death_type() != KILLED_BY_DISINT
+ && se.get_death_type() != KILLED_BY_LAVA)
+ {
+ mprf(MSGCH_GOD, "Your body crumbles into a pile of gold.");
+ }
+ break;
+
default:
break;
}