summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-15 20:35:13 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-15 20:35:50 +1000
commit9857ce0a4ef66e53ccff438fa21f277ee8629ac1 (patch)
treeb8c7d33f51cc77b137644bd436b6813163e8e253 /crawl-ref/source
parent18b78b0ccc1ba5da714e355c94275498a24f3f67 (diff)
downloadcrawl-ref-9857ce0a4ef66e53ccff438fa21f277ee8629ac1.tar.gz
crawl-ref-9857ce0a4ef66e53ccff438fa21f277ee8629ac1.zip
Utilise monster->props["speech_key"] for Dowan and Duvessa.
Their speech is now different when one of them dies.
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/dat/database/monspeak.txt26
-rw-r--r--crawl-ref/source/mon-stuff.cc1
2 files changed, 27 insertions, 0 deletions
diff --git a/crawl-ref/source/dat/database/monspeak.txt b/crawl-ref/source/dat/database/monspeak.txt
index 5a64319cfd..0d22cc502f 100644
--- a/crawl-ref/source/dat/database/monspeak.txt
+++ b/crawl-ref/source/dat/database/monspeak.txt
@@ -1725,6 +1725,16 @@ Donald
@_hostile_adventurer_@
%%%%
############ DOWAN ### A vain elf caster, twin brother of Duvessa
+twin_died Dowan
+
+VISUAL:@The_monster@ shakes with grief.
+
+@The_monster@ says, "Magic will overcome all!"
+
+@The_monster@ says, "Her death will not be in vain!"
+
+@The_monster@ says, "How can I live without her?"
+%%%%
Dowan
@_Dowan_common_@
@@ -1787,6 +1797,22 @@ Duane
@_mercenary_guard_@
%%%%
############ DUVESSA ### An over-confident elf fighter, twin sister of Dowan
+twin_died Duvessa
+
+VISUAL:@The_monster@ shakes in a combination of rage and grief.
+
+VISUAL:@The_monster@ grits her teeth and focuses.
+
+@The_monster@ says, "The sword shall overcome grief!"
+
+@The_monster@ says, "His death shall not be in vain!"
+
+@The_monster@ says, "I will avenge him!"
+
+@The_monster@ says, "I will journey to Hell to retrieve him!"
+
+VISUAL:@The_monster@ weeps.
+%%%%
Duvessa
@_Duvessa_common_@
diff --git a/crawl-ref/source/mon-stuff.cc b/crawl-ref/source/mon-stuff.cc
index 2a171f7a75..134c89502d 100644
--- a/crawl-ref/source/mon-stuff.cc
+++ b/crawl-ref/source/mon-stuff.cc
@@ -1112,6 +1112,7 @@ static void _elven_twin_died(monsters* twin)
// Okay, let them climb stairs now.
monster->props["can_climb"] = "yes";
+ monster->props["speech_key"] = "twin_died";
// If you've stabbed one of them, the other one is likely asleep still.
if (monster->asleep())