diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-12 15:26:34 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-12 15:26:34 +1000 |
commit | 87f6bc7bfb79dd38454d52945ed1bef5cbb5ffbd (patch) | |
tree | 356e2515516aed51b2a69f9c06df9f23700d35f4 /crawl-ref/source/wiz-you.cc | |
parent | acabbaacbc91db8c6b711b85e1f68694b42ed829 (diff) | |
download | crawl-ref-87f6bc7bfb79dd38454d52945ed1bef5cbb5ffbd.tar.gz crawl-ref-87f6bc7bfb79dd38454d52945ed1bef5cbb5ffbd.zip |
A quick "god gift" Wizard function.
It will probably do nasty things to piety and god gift timeouts, but
it's useful for quickly checking what acquirements can be got for
different gods, and also testing Okawaru's missile acquirement (which
wasn't working with slings before, but is now.)
Diffstat (limited to 'crawl-ref/source/wiz-you.cc')
-rw-r--r-- | crawl-ref/source/wiz-you.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-you.cc b/crawl-ref/source/wiz-you.cc index dfc4d32fbb..df00ce13ab 100644 --- a/crawl-ref/source/wiz-you.cc +++ b/crawl-ref/source/wiz-you.cc @@ -881,5 +881,13 @@ void wizard_set_xl() debug_uptick_xl(newxl); } +void wizard_get_god_gift (void) +{ + if (you.religion == GOD_NO_GOD) + { + mpr("You are not religious!"); + return; + } - + do_god_gift(false, true); +} |