From ffc2688d711c6741e0ed21d09b9137ae7f173c2a Mon Sep 17 00:00:00 2001 From: zelgadis Date: Fri, 5 Dec 2008 06:09:49 +0000 Subject: 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 --- crawl-ref/source/religion.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/religion.h') 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(); -- cgit v1.2.3-54-g00ecf