[logic]
active = sr_idle

[sr_idle]
on_info = {+esc_join_stalker_on =dist_to_actor_ge(100)} sr_idle@end %=destroy_object(409)%
on_info2 = {+esc_help_prisoner} sr_idle@complete %=give_treasure(esc_treasure_weapon_prisoner) +esc_treasure_2_complete%

[sr_idle@complete]
on_info = {=dist_to_actor_ge(100)} sr_idle@go_out %+esc_actor_have_secret%

[sr_idle@go_out]
on_info = sr_idle@end %+esc_prisoner_go_out =destroy_object(409) =spawn_object(esc_military_secret_trader:esc_spawn_secret_trader:0)%

[sr_idle@end]