procedure create
begin
op_debug_msg("ziVrTrnk: create");
op_add_timer_event(op_self_obj(), 10, 1);
op_set_global_var(644, op_tile_contains_pid_object(op_tile_num(op_self_obj()), op_elevation(op_self_obj()), 532));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) + 7;
restock_obj := op_create_object(33554432 + 1852, 0, 0, 1305);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := op_tile_num(op_self_obj()) % 200;
lcy := (op_tile_num(op_self_obj()) / 200) - 6;
restock_obj := op_create_object(33554432 + 1688, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 8;
lcy := (op_tile_num(op_self_obj()) / 200) + 2;
restock_obj := op_create_object(33554432 + 1691, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 5;
lcy := (op_tile_num(op_self_obj()) / 200) + 3;
restock_obj := op_create_object(33554432 + 1692, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 6;
lcy := (op_tile_num(op_self_obj()) / 200) + 2;
restock_obj := op_create_object(33554432 + 1696, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 5;
lcy := (op_tile_num(op_self_obj()) / 200) + 1;
restock_obj := op_create_object(33554432 + 1694, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 3;
lcy := (op_tile_num(op_self_obj()) / 200) + 7;
restock_obj := op_create_object(33554432 + 1695, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) - 6;
restock_obj := op_create_object(33554432 + 1693, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := op_tile_num(op_self_obj()) % 200;
lcy := (op_tile_num(op_self_obj()) / 200) - 8;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := op_tile_num(op_self_obj()) % 200;
lcy := (op_tile_num(op_self_obj()) / 200) - 7;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) - 7;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 2;
lcy := (op_tile_num(op_self_obj()) / 200) - 7;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 2;
lcy := (op_tile_num(op_self_obj()) / 200) - 7;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 2;
lcy := (op_tile_num(op_self_obj()) / 200) - 5;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 3;
lcy := (op_tile_num(op_self_obj()) / 200) - 6;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 1;
lcy := (op_tile_num(op_self_obj()) / 200) - 5;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) - 5;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 1;
lcy := (op_tile_num(op_self_obj()) / 200) - 4;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) + 1;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := op_tile_num(op_self_obj()) % 200;
lcy := op_tile_num(op_self_obj()) / 200;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := op_tile_num(op_self_obj()) / 200;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) - 3;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 1;
lcy := op_tile_num(op_self_obj()) / 200;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) - 2;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 2;
lcy := (op_tile_num(op_self_obj()) / 200) - 2;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 2;
lcy := (op_tile_num(op_self_obj()) / 200) - 1;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 2;
lcy := (op_tile_num(op_self_obj()) / 200) - 1;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 2;
lcy := op_tile_num(op_self_obj()) / 200;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 3;
lcy := op_tile_num(op_self_obj()) / 200;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 2;
lcy := (op_tile_num(op_self_obj()) / 200) + 1;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 3;
lcy := (op_tile_num(op_self_obj()) / 200) + 1;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 4;
lcy := (op_tile_num(op_self_obj()) / 200) + 1;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 2;
lcy := (op_tile_num(op_self_obj()) / 200) + 2;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 3;
lcy := (op_tile_num(op_self_obj()) / 200) + 2;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 5;
lcy := (op_tile_num(op_self_obj()) / 200) + 2;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 6;
lcy := (op_tile_num(op_self_obj()) / 200) + 2;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 2;
lcy := (op_tile_num(op_self_obj()) / 200) + 3;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 3;
lcy := (op_tile_num(op_self_obj()) / 200) + 4;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 4;
lcy := (op_tile_num(op_self_obj()) / 200) + 4;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 3;
lcy := (op_tile_num(op_self_obj()) / 200) + 5;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 5;
lcy := (op_tile_num(op_self_obj()) / 200) + 5;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 6;
lcy := (op_tile_num(op_self_obj()) / 200) + 5;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 3;
lcy := (op_tile_num(op_self_obj()) / 200) + 6;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) + 6;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 4;
lcy := (op_tile_num(op_self_obj()) / 200) + 7;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 3;
lcy := (op_tile_num(op_self_obj()) / 200) + 8;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 5;
lcy := (op_tile_num(op_self_obj()) / 200) + 8;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 6;
lcy := (op_tile_num(op_self_obj()) / 200) + 8;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 2;
lcy := (op_tile_num(op_self_obj()) / 200) + 7;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) - 1;
lcy := (op_tile_num(op_self_obj()) / 200) + 2;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) + 3;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := op_tile_num(op_self_obj()) % 200;
lcy := (op_tile_num(op_self_obj()) / 200) + 2;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) + 8;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
lcx := (op_tile_num(op_self_obj()) % 200) + 1;
lcy := (op_tile_num(op_self_obj()) / 200) - 4;
restock_obj := op_create_object(33554499, 0, 0, -1);
op_critter_attempt_placement(restock_obj, (lcy * 200) + lcx, op_elevation(op_global_var(644)));
end