diff options
author | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-14 07:35:39 +0000 |
---|---|---|
committer | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-14 07:35:39 +0000 |
commit | 94ceb87517474ac372a41a52a3448104f51435bf (patch) | |
tree | 9a39e73ebab7856f7da8ea68aa6e6c1a15ee4713 /crawl-ref/source/acr.cc | |
parent | bfeb59ed40adef39b01dcb1fb9a8e6a500eec1b9 (diff) | |
download | crawl-ref-94ceb87517474ac372a41a52a3448104f51435bf.tar.gz crawl-ref-94ceb87517474ac372a41a52a3448104f51435bf.zip |
Quiver work:
+ bug: if wield sling and no quiver, then pick up stones: should quiver
+ implement: save and load (does not break saves)
+ remove: fire_quiver_best
+ remove: you.quiver
+ bug: identifying items doesn't update quiver properly
+ rename: you.quiver_change -> you.redraw_quiver
+ test no item because of =f
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4227 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 2e3b6c79c9..6576ca2794 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -829,6 +829,7 @@ static void _handle_wizard_command( void ) break; case 'i': + { mpr( "You feel a rush of knowledge." ); for (i = 0; i < ENDOFPACK; i++) { @@ -841,10 +842,12 @@ static void _handle_wizard_command( void ) } } you.wield_change = true; - you.quiver_change = true; + you.redraw_quiver = true; break; + } case 'I': + { mpr( "You feel a rush of antiknowledge." ); for (i = 0; i < ENDOFPACK; i++) { @@ -857,7 +860,7 @@ static void _handle_wizard_command( void ) } } you.wield_change = true; - you.quiver_change = true; + you.redraw_quiver = true; // Forget things that nearby monsters are carrying, as well // (for use with the "give monster an item" wizard targetting @@ -886,6 +889,7 @@ static void _handle_wizard_command( void ) } } break; + } case CONTROL('I'): debug_item_statistics(); @@ -2391,7 +2395,6 @@ void process_command( command_type cmd ) { // kind of a hacky way to get quiver to change you.m_quiver->on_item_fired(you.inv[next]); - you.quiver_change = true; } break; } @@ -3930,8 +3933,8 @@ static bool _initialise(void) you.redraw_evasion = true; you.redraw_experience = true; you.redraw_gold = true; + you.redraw_quiver = true; you.wield_change = true; - you.quiver_change = true; you.start_time = time( NULL ); // start timer on session |