65 "You already possess the knowledge held within the %s.",
71 "You succeed in learning %s",
74 "Type 'bind ready_skill %s to store the skill in a key.",
82 "You fail to learn the knowledge of the %s.\n",
#define MSG_TYPE_APPLY_FAILURE
Apply OK, but no/bad result.
void draw_ext_info_format(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *format,...) PRINTF_ARGS(6
Global type definitions and header inclusions.
#define MSG_TYPE_APPLY
Applying objects.
char method_ret
Define some standard return values for callbacks which don't need to return any other results...
#define MSG_TYPE_APPLY_ERROR
void query_name(const object *op, char *buf, size_t size)
Describes an item.
#define MAX_BUF
Used for all kinds of things.
can add a skill to player's inventory -bt.
int learn_skill(object *pl, object *scroll)
Player is trying to learn a skill.
#define object_decrease_nrof_by_one(xyz)
uint8_t type
PLAYER, BULLET, etc.
#define MSG_TYPE_APPLY_SUCCESS
Was able to apply object.
sstring skill
Name of the skill this object uses/grants.
#define NDI_UNIQUE
Print immediately, don't buffer.
Object type functions and variables.
void register_apply(int ob_type, apply_func method)
Registers the apply method for the given type.