WIZKIT inventory overflow (trunk only)
Wizard mode's $WIZKIT can specify an unlimited number of items to add to starting inventory and they'd be put there without regard to the number of slots in use, potentially resulting in an arbitrary number of '#' slot items. Cap at 52 slots, same as when picking up, and put any excess items at the hero's feet. It's slightly tricky because the level hasn't been created yet at the time the wizkit gets processed.
This commit is contained in:
@@ -250,6 +250,7 @@ sometimes when hero is forced to buy an unpaid shop item its price changed
|
||||
monster could attack with a polearm even after attempt to wield that failed
|
||||
sometimes got "you trip over it" after intervening messages following the
|
||||
one which described "it"
|
||||
wizard mode: WIZKIT wishes could overflow inventory's 52 slots
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user