summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-08 11:24:48 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-08 11:24:48 +0000
commit3413f575a6c79600ac0aa8ed57afa20fb0fc1bec (patch)
treeda15b1c73704b754bc027346e9d68afd5f2eb380 /crawl-ref/source/debug.h
parentb73eb90dd3dc84ea0cfc769e05fa5ca6706c5aa6 (diff)
downloadcrawl-ref-3413f575a6c79600ac0aa8ed57afa20fb0fc1bec.tar.gz
crawl-ref-3413f575a6c79600ac0aa8ed57afa20fb0fc1bec.zip
Add "item generations stats" (Ctrl-I) wizard command, which currently
only generates stats on items attained via acquirement. Move the acquirement logic of turning non-wearable headgear to wearable headgear from acquirement() to find_acquirement_subtype() so that it will happen before acquirement()'s can_wear_armour() check. The old way of doing it meant that players who couldn't wear helmets/helms had the armour acquirement chance for headgear reduced from the noraml 10% to around 1%. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3022 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/debug.h')
-rw-r--r--crawl-ref/source/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/debug.h b/crawl-ref/source/debug.h
index 03e9c0353e..a051922bb7 100644
--- a/crawl-ref/source/debug.h
+++ b/crawl-ref/source/debug.h
@@ -144,6 +144,7 @@ void wizard_interlevel_travel();
void stethoscope(int mwh);
void debug_item_scan( void );
+void debug_item_statistics( void );
void debug_get_religion( void );
void debug_change_species( void );
void debug_fight_statistics( bool use_init_defaults, bool defence = false );