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)
static method_ret creator_type_trigger(object *op, object *cause, int state)
static method_ret creator_type_process(object *op)
void LOG(LogLevel logLevel, const char *format,...)
#define QUERY_FLAG(xyz, p)
#define FOR_BELOW_PREPARE(op_, it_)
void fix_generated_item(object *op, object *creator, int difficulty, int max_magic, int flags)
static const flag_definition flags[]
int rndm(int min, int max)
void register_process(int ob_type, process_func method)
#define FOR_BELOW_FINISH()
void init_type_creator(void)
#define FLAG_IS_A_TEMPLATE
void object_free_drop_inventory(object *ob)
#define FREE_AND_COPY(sv, nv)
object * object_create_arch(archetype *at)
#define INS_BELOW_ORIGINATOR
int ob_blocked(const object *ob, mapstruct *m, int16_t x, int16_t y)
object * object_insert_in_map_at(object *op, mapstruct *m, object *originator, int flag, int x, int y)
static void move_creator(object *creator)
struct archetype * other_arch
object * object_create_clone(object *asrc)
#define FREE_AND_CLEAR_STR(xyz)
void register_trigger(int ob_type, trigger_func method)
void object_unset_flag_inv(object *op, int flag)
#define CLEAR_FLAG(xyz, p)