[logic]
active = sr_idle@friend

[sr_idle@death]
on_info = {+agr_duty_barman_death} sr_idle@creat

[sr_idle@creat]
on_actor_dist_ge_nvis = 100 | {=smart_captured_by_faction(agr_smart_terrain_1_6:dolg)} sr_idle@death %-agr_duty_barman_death =spawn_object(agr_barman:agr_smart_terrain_1_6_barman_1_walk:0)%

