[logic@def_monster]
monster_job = true
prior = 200
;----------------------------------------------------------------------------

[mob_walker@snork]
path_look = snork_1_look
combat_ignore_cond = true
combat_ignore_keep_when_attacked = true
on_info = {+actor_in_sr_labx9_a5_holl_attack} mob_home@snork
;----------------------------------------------------------------------------

[mob_home@snork]
aggressive = true
home_min_radius = 3
home_max_radius = 120
path_home = snork_1_look
;----------------------------------------------------------------------------

[logic@snork_1]:logic@def_monster
active = mob_walker@snork_1
suitable = {=target_squad_name(labx9_a5_snork_1_squad)} true

[mob_walker@snork_1]:mob_walker@snork
path_walk = snork_1_walk
;----------------------------------------------------------------------------

[logic@snork_2]:logic@def_monster
active = mob_walker@snork_2
suitable = {=target_squad_name(labx9_a5_snork_2_squad)} true

[mob_walker@snork_2]:mob_walker@snork
path_walk = snork_2_walk
;----------------------------------------------------------------------------

[logic@snork_3]:logic@def_monster
active = mob_walker@snork_3
suitable = {=target_squad_name(labx9_a5_snork_3_squad)} true

[mob_walker@snork_3]:mob_walker@snork
path_walk = snork_3_walk
;----------------------------------------------------------------------------

[logic@snork_4]:logic@def_monster
active = mob_walker@snork_4
suitable = {=target_squad_name(labx9_a5_snork_4_squad)} true

[mob_walker@snork_4]:mob_walker@snork
path_walk = snork_4_walk
;----------------------------------------------------------------------------

[logic@snork_5]:logic@def_monster
active = mob_walker@snork_5
suitable = {=target_squad_name(labx9_a5_snork_5_squad)} true

[mob_walker@snork_5]:mob_walker@snork
path_walk = snork_5_walk
;----------------------------------------------------------------------------

[logic@snork_6]:logic@def_monster
active = mob_walker@snork_6
suitable = {=target_squad_name(labx9_a5_snork_6_squad)} true

[mob_walker@snork_6]:mob_walker@snork
path_walk = snork_6_walk
;----------------------------------------------------------------------------

[logic@build_1]:logic@def_monster
active = mob_home@snork
suitable = {=target_squad_name(labx9_a5_build_1_squad)} true, {=target_squad_name(labx9_a5_build_2_squad)} true, {=target_squad_name(labx9_a5_build_4_squad)} true, {=target_squad_name(labx9_a5_build_6_squad)} true
;----------------------------------------------------------------------------

[logic@build_2]:logic@build_1
;----------------------------------------------------------------------------

[logic@build_3]:logic@def_monster
active = mob_home@build_3
suitable = {=target_squad_name(labx9_a5_build_3_squad)} true
on_hit = mob_hit@_1

[mob_hit@_1]
on_info = {-labx9_a5_build_3_hit =hit_by_actor()} %+labx9_a5_build_3_hit%

[mob_home@build_3]:mob_home@snork
on_info  = {+labx9_a5_build_3_hit} %=transform_build(labx9_a5_poltr_3_squad:labx9_a5:horor_3:1)%
;----------------------------------------------------------------------------

[logic@build_4]:logic@build_1
;----------------------------------------------------------------------------

[logic@build_5]:logic@def_monster
active = mob_home@build_5
suitable = {=target_squad_name(labx9_a5_build_5_squad)} true
on_hit = mob_hit@_2

[mob_hit@_2]
on_info = {-labx9_a5_build_5_hit =hit_by_actor()} %+labx9_a5_build_5_hit%

[mob_home@build_5]:mob_home@snork
on_info  = {+labx9_a5_build_5_hit} %=transform_build(labx9_a5_poltr_5_squad:labx9_a5:horor_3:1)%
;----------------------------------------------------------------------------

[logic@build_6]:logic@build_1
;----------------------------------------------------------------------------

[logic@polter_3]:logic@def_monster
active = mob_home@snork
suitable = {=target_squad_name(labx9_a5_poltr_3_squad)} true, {=target_squad_name(labx9_a5_poltr_5_squad)} true
;----------------------------------------------------------------------------

[logic@polter_5]:logic@polter_3
