summaryrefslogtreecommitdiffstats
path: root/crawl-ref/docs/monster_speech.txt
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-29 16:48:25 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-29 16:48:25 +0000
commit85703632b12462f84e828ea3952c5c675f2907d5 (patch)
tree0f2b6ce1329aacd64a662233a2361312cbf2e1a7 /crawl-ref/docs/monster_speech.txt
parenta729d6cf3924926ca7139a24e381f35ae4ec10d7 (diff)
downloadcrawl-ref-85703632b12462f84e828ea3952c5c675f2907d5.tar.gz
crawl-ref-85703632b12462f84e828ea3952c5c675f2907d5.zip
Add logic to allow the use of a character's religion in
the speech files. For atheistic characters, "you" is used instead, so that the result looks like this: I like/hate Xom. ---- I like/hate you. Xom is mighty/stupid. ---- You are mighty/stupid. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3486 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/docs/monster_speech.txt')
-rw-r--r--crawl-ref/docs/monster_speech.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/docs/monster_speech.txt b/crawl-ref/docs/monster_speech.txt
index ea837201a9..0d3cb7ded6 100644
--- a/crawl-ref/docs/monster_speech.txt
+++ b/crawl-ref/docs/monster_speech.txt
@@ -173,6 +173,10 @@ The following variables are hardcoded:
@a_something@ : similar
@the_something@ : similar
@player_name@ : Player name.
+@player_god@ : Player's god name, or "you" if non-religious.
+@Player_god@ : Player's god name, or "You" if non-religious.
+@god_is@ : replaced with "<god name> is" or "you are", if non-religious.
+@God_is@ : replaced with "<god name> is" or "You are", if non-religious.
@surface@ : Whatever the monster is standing on.
@feature@ : The monster's square's feature description.
@pronoun@ : it, she, he, as appropriate