Go to the documentation of this file.
72 if (creator->
inv != NULL) {
77 ob_to_copy = creator->
inv;
80 if (
rndm(0, i) == 0) {
90 LOG(
llevError,
"move_creator: Creator doesn't have other arch set: %s (%s, %d, %d)\n", creator->
name ? creator->
name :
"(null)", creator->
map->
path, creator->
x, creator->
y);
104 if (creator->
level != 0)
object * object_create_clone(object *asrc)
#define QUERY_FLAG(xyz, p)
void register_process(int ob_type, process_func method)
#define FOR_BELOW_PREPARE(op_, it_)
void init_type_creator(void)
int ob_blocked(const object *ob, mapstruct *m, int16_t x, int16_t y)
static method_ret creator_type_process(object *op)
#define FOR_BELOW_FINISH()
static void move_creator(object *creator)
#define FLAG_IS_A_TEMPLATE
void object_unset_flag_inv(object *op, int flag)
static method_ret creator_type_trigger(object *op, object *cause, int state)
#define FREE_AND_COPY(sv, nv)
object * object_create_arch(archetype *at)
struct archt * other_arch
int rndm(int min, int max)
void register_trigger(int ob_type, trigger_func method)
void fix_generated_item(object *op, object *creator, int difficulty, int max_magic, int flags)
#define FREE_AND_CLEAR_STR(xyz)
void LOG(LogLevel logLevel, const char *format,...)
#define CLEAR_FLAG(xyz, p)
object * object_insert_in_map_at(object *op, mapstruct *m, object *originator, int flag, int x, int y)
void object_free_drop_inventory(object *ob)