diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-24 09:35:03 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-24 09:35:03 +0000 |
commit | 904a64bbcff41f7ecde8de133ddf68eeb2a8959f (patch) | |
tree | 0ed2875917488e791faadd9d7fb629d62b8594ee /crawl-ref/source/religion.h | |
parent | 49271d835b9ebb39bcfdae8acbc644aeff6f2f3c (diff) | |
download | crawl-ref-904a64bbcff41f7ecde8de133ddf68eeb2a8959f.tar.gz crawl-ref-904a64bbcff41f7ecde8de133ddf68eeb2a8959f.zip |
* Add a wizard function apply_monster_blessing to allow for easy testing
of dolorous' fabulous blessing routines.
* Allow the possibility of naming monsters:
A monster's random name seed is stored in its number property, and the
actual name gets picked from randname.txt. (Once this leaves the
experimental stage I'll move them into a file of their own.)
This means that monster types that already use number for something
else (hydras for #heads, manticores for #spikes, or zombies for
monster type) cannot be named.
Use the new functions for naming orcs blessed by Beogh. Only
non-generic orcs may get named, e.g. orcs promoted to priesthood or orc
warriors that get their weapon enchanted.
I tried to come up with a number of thematic orcish names, and if
anyone would like to contribute, they're welcome to do so.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4586 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r-- | crawl-ref/source/religion.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h index 29cf763615..16d5e5f7fc 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -80,7 +80,8 @@ bool is_orcish_follower(const monsters* mon); bool is_follower(const monsters* mon); bool bless_follower(monsters* follower = NULL, god_type god = you.religion, - bool (*suitable)(const monsters* mon) = is_follower); + bool (*suitable)(const monsters* mon) = is_follower, + bool force = false); bool god_hates_attacking_friend(god_type god, const actor *fr); |