summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-24 14:11:22 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-24 14:11:22 +0000
commit22f5db88e448378b78770430edc5fd8e1bcb9a48 (patch)
treef01f63abba6ce1f19422c6687ae9dc1324cab285 /crawl-ref/source/describe.cc
parente11dba64d54f66fca604f0484ada549fb19db709 (diff)
downloadcrawl-ref-22f5db88e448378b78770430edc5fd8e1bcb9a48.tar.gz
crawl-ref-22f5db88e448378b78770430edc5fd8e1bcb9a48.zip
A few simple fixes.
* Add zero level invocations to Trog and Ely's religion screens * Demonspawn get 0-2 additional damage for demonic weapons (similar to MD + dwarven weapons) * Darts and Throwing don't crosstrain anymore * Don't offer "inscribe items" text during tutorial. * Cleanup and minor fixes of tutorial git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2187 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc20
1 files changed, 18 insertions, 2 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index f6e1e51e30..503d7e4e12 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -3420,9 +3420,10 @@ void describe_item( item_def &item, bool allow_inscribe )
if (Options.tutorial_left)
{
tutorial_describe_item(item);
+ getch();
}
- // Don't ask if there aren't enough rows left
- if (allow_inscribe && wherey() <= get_number_of_lines() - 3)
+ // Don't ask during tutorial, or if there aren't enough rows left
+ else if (allow_inscribe && wherey() <= get_number_of_lines() - 3)
{
gotoxy(1, wherey() + 2);
formatted_string::parse_string("<cyan>Do you wish to inscribe this item? ").display();
@@ -4240,8 +4241,23 @@ void describe_god( god_type which_god, bool give_title )
"sometimes"); // less than 2:3
if (which_god == GOD_ZIN)
+ {
cprintf("Praying to %s will provide sustenance if starving."
EOL, god_name(which_god));
+ }
+ }
+
+ if (which_god == GOD_TROG)
+ {
+ have_any = true;
+ cprintf("You can call upon %s to burn books in your surroundings."
+ EOL, god_name(which_god));
+ }
+ else if (which_god == GOD_ELYVILON)
+ {
+ have_any = true;
+ cprintf("You can call upon %s to destroy weapons "
+ "lying on the ground." EOL, god_name(which_god));
}
// mv: No abilities (except divine protection) under penance