From 87f6bc7bfb79dd38454d52945ed1bef5cbb5ffbd Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Tue, 12 Jan 2010 15:26:34 +1000 Subject: 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.) --- crawl-ref/source/wiz-you.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/wiz-you.cc') 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); +} -- cgit v1.2.3-54-g00ecf