inventory item-action: add '-' for uswapwep
There's no 'w-' or 'Q-' for alternate weapon, but context-sensitive inventory is starting from the object rather than the command so can finesse that. 'A' does allow alternate weapon to be directly unset (aka reset to bare/gloved hands) but is not friendly to being passed queued input. This adds an extra internal command which only handles unset uswapwep, even though that is something which is awfully specialized to get it's own command. Users don't see this command so that shouldn't matter.
This commit is contained in:
@@ -568,6 +568,7 @@ extern struct obj *stuck_ring(struct obj *, int);
|
||||
extern struct obj *unchanger(void);
|
||||
extern void reset_remarm(void);
|
||||
extern int doddoremarm(void);
|
||||
extern int remarm_swapwep(void);
|
||||
extern int destroy_arm(struct obj *);
|
||||
extern void adj_abon(struct obj *, schar);
|
||||
extern boolean inaccessible_equipment(struct obj *, const char *, boolean);
|
||||
|
||||
Reference in New Issue
Block a user