[logic]
active = sr_idle@start_zasada

[sr_idle@start_zasada]
on_info = {+a7_digger_break_dialog_1 !actor_has_item(wpn_svd_nimble)} %=run_postprocess(black:3009:true) =disable_ui =teleport_actor(a22_sv_teleport_actor_zasada_army_walk:a22_sv_terrain_start_digger_secret_box_way)% sr_idle@all
on_info2 = {+a7_digger_break_dialog_1 =actor_has_item(wpn_svd_nimble)} %=run_postprocess(black:3009:true) =disable_ui =teleport_actor(a22_sv_teleport_actor_zasada_army_sniper_walk:a22_sv_teleport_actor_zasada_army_sniper_look)% sr_idle@all

[sr_idle@all]
on_info = %=teleport_squad(sim_digger_baza_sit_radio_squad:a22_sv_terrain_start_digger_secret_box_way) =create_squad(army_group_secret_box_squad:a23_sv_terrain) =set_game_time(00:00)% sr_idle@stop_process

[sr_idle@sniper]
on_info = {!actor_has_item(wpn_svd)} sr_idle@enemy
on_info2 = {=actor_has_item(wpn_svd)} %=activate_weapon(wpn_svd)% sr_idle@enemy

[sr_idle@stop_process]
on_game_timer = 20 | %=stop_postprocess(3009) =enable_ui% sr_idle@sniper

[sr_idle@enemy]
on_info = {+army_group_enemy_to_actor_info} %=set_squads_enemies(sim_digger_baza_sit_radio_squad:army_group_secret_box_squad) =set_squads_enemies(army_group_secret_box_squad:sim_digger_baza_sit_radio_squad) =set_squad_enemy_to_actor(army_group_secret_box_squad)% sr_idle@cais

[sr_idle@cais]
on_info = {=actor_has_item(sv_a22_army_secret_cais)} %+sv_a22_army_secret_cais% sr_idle@time

[sr_idle@time]
on_game_timer = 50 | %=messeg_kramer_1 +messeg_kramer_1% sr_idle@nil

[sr_idle@nil]