implement #H4305 - Quivering wielded weapon
This ended up being more elaborate than I anticipated. 'Q' will now accept the wielded weapon as a choice of item to quiver. If that item is a stack of more than one, it will offer to split N-1 into the quiver and leave 1 wielded. If the offer is declined, or if there is already just 1, it will require confirmation to move the item from the weapon slot to the quiver slot. The alternate weapon is handled similarly, with different phrasing when in twoweapon combat mode. Just to be crystal clear: a single object cannot be in more than one weapon, alt-weapon, or quiver slot at the same time. 'Q's old behavior of rejecting the wielded weapon was to avoid accidentally becoming empty-handed, not anything to do with multiple worn/wield slots. 'Q' will also accept a count when picking an inventory item, then put 'count'-many into the quiver, leaving N-count in original stack. Except when the chosen item is already in the quiver; it that case, it undoes the stack split and leaves things as they were. (That restriction may not have been necessary but I'm not planning to revisit it....)
This commit is contained in:
@@ -313,6 +313,11 @@ default value for vibrating square symbol changed from yellow '^' to purple '~'
|
||||
allow symbol set values to be specified via char within single quotes
|
||||
add symbols set "plain", same as default except it uses '+' for corner walls
|
||||
extend wizard-mode '#stats' command
|
||||
'Q' to ready an item for quick-throwing ('f') now allows the wielded weapon to
|
||||
be moved to quiver; if quantity is more than 1, it offers to split the
|
||||
stack and leave 1 wielded, otherwise it requires confirmation
|
||||
'Q' will accept an item count to manually split a stack as part of it being
|
||||
quivered, provided the stack isn't already in the quiver slot
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific New Features
|
||||
|
||||
Reference in New Issue
Block a user