;generic section

[death@zat_a23_zombie_gen]
on_info = %=inc_counter(zat_a23_zombied_death:1)%

[walker@zat_a23_zombie_gen]
path_look = zat_a23_zombie_attak
out_restr = zat_a23_zombie_restrictor
combat_ignore_cond =  {!dist_to_actor_le(9)} true, false

[walker@zat_a23_zombie_attak]
path_walk = zat_a23_zombie_attak
out_restr = zat_a23_zombie_restrictor

[logic@zat_a23_zombie_gen]
suitable = {=npc_community(zombied)} true
prior = 200
post_combat_time = 0, 0
on_death = death@zat_a23_zombie_gen

;zombied works

[logic@zat_a23_zombie_01]:logic@zat_a23_zombie_gen
active = walker@zat_a23_zombie_01

[walker@zat_a23_zombie_01]:walker@zat_a23_zombie_gen
path_walk = zat_a23_zombie_06_walk
on_info1 = {=counter_equal(zat_a23_zombied_attack:1)} walker@zat_a23_zombie_attak


[logic@zat_a23_zombie_02]:logic@zat_a23_zombie_gen
active = walker@zat_a23_zombie_02

[walker@zat_a23_zombie_02]:walker@zat_a23_zombie_gen
path_walk = zat_a23_zombie_05_walk 
on_info1 = {=counter_equal(zat_a23_zombied_attack:2)} walker@zat_a23_zombie_attak


[logic@zat_a23_zombie_03]:logic@zat_a23_zombie_gen
active = walker@zat_a23_zombie_03

[walker@zat_a23_zombie_03]:walker@zat_a23_zombie_gen
path_walk = zat_a23_zombie_01_walk
on_info1 = {=counter_equal(zat_a23_zombied_attack:3)} walker@zat_a23_zombie_attak


[logic@zat_a23_zombie_04]:logic@zat_a23_zombie_gen
active = walker@zat_a23_zombie_04

[walker@zat_a23_zombie_04]:walker@zat_a23_zombie_gen
path_walk = zat_a23_zombie_02_walk
on_info1 = {=counter_equal(zat_a23_zombied_attack:4)} walker@zat_a23_zombie_attak


[logic@zat_a23_zombie_05]:logic@zat_a23_zombie_gen
active = walker@zat_a23_zombie_05

[walker@zat_a23_zombie_05]:walker@zat_a23_zombie_gen
path_walk = zat_a23_zombie_04_walk
on_info1 = {=counter_equal(zat_a23_zombied_attack:5)} walker@zat_a23_zombie_attak


[logic@zat_a23_zombie_06]:logic@zat_a23_zombie_gen
active = walker@zat_a23_zombie_06

[walker@zat_a23_zombie_06]:walker@zat_a23_zombie_gen
path_walk = zat_a23_zombie_03_walk
on_info = {=counter_equal(zat_a23_zombied_attack:6)} walker@zat_a23_zombie_attak
