 |
Crossfire Server, Trunk
1.75.0
|
void register_apply(int ob_type, apply_func method)
Registers the apply method for the given type.
sstring title
Of foo, etc.
sstring add_refcount(sstring str)
This will increase the refcount of the string str.
const Face * face
Face with colors.
uint8_t type
PLAYER, BULLET, etc.
@ DRAGON_FOCUS
Used during character creation.
static method_ret dragon_focus_type_apply(object *focus, object *applier, int aflags)
Handles applying food.
const Animations * animation
Animation of this item, NULL if not animated.
void free_string(sstring str)
This will reduce the refcount, and if it has reached 0, str will be freed.
char method_ret
Define some standard return values for callbacks which don't need to return any other results.
int is_dragon_pl(const object *op)
Checks if player is a dragon.
void init_type_dragon_focus(void)
Initializer for the food object type.
object * object_find_by_type_and_arch_name(const object *who, int type, const char *name)
Find object in inventory by type and archetype name.
living stats
Str, Con, Dex, etc.