55 if (op->
env != NULL) {
void fix_object(object *op)
Updates all abilities given by applied objects in the inventory of the given object.
void object_remove(object *op)
This function removes the object op from the linked list of objects which it is currently tied to...
Global type definitions and header inclusions.
void register_process(int ob_type, process_func method)
Registers the process method for the given type.
char method_ret
Define some standard return values for callbacks which don't need to return any other results...
int change_abil(object *op, object *tmp)
Permanently alters an object's stats/flags based on another object.
object * env
Pointer to the object which is the environment.
static method_ret blindness_type_process(object *op)
Move for BLINDNESS.
void object_free_drop_inventory(object *ob)
Frees everything allocated by an object, removes it from the list of used objects, and puts it on the list of free objects.
void init_type_blindness(void)
Initializer for the blindness object type.
living stats
Str, Con, Dex, etc.
#define CLEAR_FLAG(xyz, p)
#define FLAG_APPLIED
Object is ready for use by living.
int32_t food
How much food in stomach.
Object type functions and variables.