From fef9f681531bf38dc5a969ba9d502418239f89c4 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 15 Jun 2008 23:12:03 +0000 Subject: Move the tutorial descriptions of gods' likes and dislikes into functions of their own, and reuse them in the god descriptions ('^' screen, when praying at altars, and when searching the database). What's still missing is some sort of "What this god offers you". The current handling makes gods like Lugonu, who have no restrictions and demand very little, appear like no-brainers, when of course the whole thing is much more complicated. I'll also be adding some extended information for the ^ screen (thus for your own god only). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5870 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/religion.h') diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h index 63aec2b5c9..60b3fbd094 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -60,6 +60,11 @@ bool god_gives_permanent_followers(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); + +std::string print_god_likes(god_type which_god, bool verbose = false); +std::string print_god_dislikes(god_type which_god, bool verbose = false); + void dec_penance(int val); void dec_penance(god_type god, int val); -- cgit v1.2.3-54-g00ecf