diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-05 06:09:49 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-05 06:09:49 +0000 |
commit | ffc2688d711c6741e0ed21d09b9137ae7f173c2a (patch) | |
tree | 2bcb3c0af9dd86d969dd44ed78e3748118997572 /crawl-ref/source/religion.h | |
parent | 0c5066560faff5d49fe240c76c650d00bea2129d (diff) | |
download | crawl-ref-ffc2688d711c6741e0ed21d09b9137ae7f173c2a.tar.gz crawl-ref-ffc2688d711c6741e0ed21d09b9137ae7f173c2a.zip |
Non-weighted themed randart spellbooks, and prices for randart spellbooks.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7746 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r-- | crawl-ref/source/religion.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h index 0fa38d2d9c..1c8a4bac95 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -55,7 +55,7 @@ bool is_priest_god(god_type god); void simple_god_message(const char *event, god_type which_deity = you.religion); int piety_breakpoint(int i); std::string god_name(god_type which_god, bool long_name = false); -god_type string_to_god(const char *name); +god_type string_to_god(const char *name, bool exact = true); std::string get_god_powers(god_type which_god); std::string get_god_likes(god_type which_god, bool verbose = false); @@ -109,8 +109,11 @@ bool is_chaotic_item(const item_def& item); bool good_god_dislikes_item_handling(const item_def &item); bool god_dislikes_item_handling(const item_def &item); +// NOTE: As of now, these two functions only say if a god won't give a +// spell/school when giving a gift. bool god_dislikes_spell_type(spell_type spell, god_type god = you.religion); -bool god_dislikes_spell_school(int school, god_type god = you.religion); +bool god_dislikes_spell_discipline(int discipline, + god_type god = you.religion); bool trog_burn_spellbooks(); bool ely_destroy_weapons(); |