summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/zotdef.h
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2011-10-03 01:59:44 -0400
committerSamuel Bronson <naesten@gmail.com>2011-10-03 01:59:44 -0400
commit2b5a5b804ae97a78e86920d718c455d91ab20558 (patch)
tree4bc33979d8b1e95a1339f1030e07e929dfea3583 /crawl-ref/source/zotdef.h
parent9799e0efdc38faaba5aa9bd733c09aebba570678 (diff)
downloadcrawl-ref-2b5a5b804ae97a78e86920d718c455d91ab20558.tar.gz
crawl-ref-2b5a5b804ae97a78e86920d718c455d91ab20558.zip
Zotdef: Let player choose altar's god; raise price from 2 ZP to 50 ZP.
We do this by stealing wizard_get_religion() as zotdef_create_altar() and parametrising it on whether or not it's being called for the wizmode command; if it isn't, we restrict it to floor squares, skip the autoprayer, and print a message. This is an attempt to basically resolve #4582. We really should make a menu for this, though!
Diffstat (limited to 'crawl-ref/source/zotdef.h')
-rw-r--r--crawl-ref/source/zotdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/zotdef.h b/crawl-ref/source/zotdef.h
index 5306fcd41e..151e3346ac 100644
--- a/crawl-ref/source/zotdef.h
+++ b/crawl-ref/source/zotdef.h
@@ -7,6 +7,7 @@ int zotdef_spawn(bool boss);
void zotdef_set_wave();
bool create_trap(trap_type spec_type);
bool create_zotdef_ally(monster_type mtyp, const char *successmsg);
+bool zotdef_create_altar(bool wizmode = false);
void zotdef_bosses_check();
void debug_waves();