context-sensitive invent: corpses
Picking a corpse while looking at inventory issued a menu that had entry for eating that and if on an altar another one for offering that. Picking the eat or offer choice worked as long as there weren't any other corpses on the ground or altar. If there were others, they'd be skipped but you'd get prompted for which item in inventory to eat or offer instead of operating on the one that was used to initiate the action.
This commit is contained in:
@@ -255,6 +255,7 @@ extern void cmdq_add_key(char);
|
||||
extern void cmdq_add_dir(schar, schar, schar);
|
||||
extern void cmdq_add_userinput(void);
|
||||
extern struct _cmd_queue *cmdq_pop(void);
|
||||
extern struct _cmd_queue *cmdq_peek(void);
|
||||
extern void cmdq_clear(void);
|
||||
extern char pgetchar(void);
|
||||
extern void pushch(char);
|
||||
|
||||
Reference in New Issue
Block a user