item-action name/call

Add opportunity to name an individual object or call the type of an
object to the context-sensitive inventory item-actions.
This commit is contained in:
PatR
2022-04-19 04:33:01 -07:00
parent 6880d37b33
commit 9f0e511b00
3 changed files with 62 additions and 7 deletions

View File

@@ -484,6 +484,8 @@ extern const char *safe_oname(struct obj *);
extern struct monst *christen_monst(struct monst *, const char *);
extern struct obj *oname(struct obj *, const char *, unsigned);
extern boolean objtyp_is_callable(int);
extern int name_ok(struct obj *);
extern int call_ok(struct obj *);
extern int docallcmd(void);
extern void docall(struct obj *);
extern const char *rndghostname(void);