[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info = {=actor_on_level(jupiter)} sr_idle@weather %=disable_ui%

[sr_idle@weather]
on_info = {!black_screen} sr_idle@scene_0 %=run_postprocess(black:3009:true) =set_weather( af3_day_cloudy:true ) =spawn_object_in( wpn_ak74u:bar_a2_duty_leader ) +start_scene_actor_hunter%

[sr_idle@scene_0]
on_info = {=npc_is_moving(jup_a30_actor_bandit)} sr_idle@scene %=stop_postprocess(3009)%

[sr_idle@scene]
on_game_timer = 8 | sr_idle@scene_1_1 %=run_postprocess(fade_to_black_9_sec)%

[sr_idle@scene_1_1]
on_game_timer = 72 | sr_idle@scene_1_2 %=teleport_actor(actor_start_game_walk:actor_start_game_look)%

[sr_idle@scene_1_2]
on_info = {+jup_a30_flesh_squad_dead} sr_idle@scene_1 %=run_postprocess(fade_to_black_9_sec)%

[sr_idle@scene_1]
on_game_timer = 72 | sr_idle@scene_2 %=teleport_actor(actor_start_game_1_walk:actor_start_game_1_look)%

[sr_idle@scene_2]
on_info = {=squad_in_zone(jup_a30_russibic_squad:jup_a30_zone_russibic)} sr_idle@scene_3_0 %=run_postprocess(fade_to_black_9_sec)%

[sr_idle@scene_3_0]
on_game_timer = 72 | sr_idle@scene_3 %=teleport_actor(actor_start_game_2_walk:actor_start_game_2_look)%

[sr_idle@scene_3]
on_info = {=npc_is_standing(bar_a2_duty_leader:bar_a1_proveren_3:bar_a11_mechanic:pri_stalker_valera)} sr_idle@scene_4 %=run_postprocess(fade_to_black_9_sec)%

[sr_idle@scene_4]
on_game_timer = 72 | sr_idle@scene_5 %=run_postprocess(black:3009:true) =remove_squad(jup_a30_actor_squad)%

[sr_idle@scene_5]
on_info = {!squad_exist(jup_a30_actor_squad)} sr_idle@scene_end %=teleport_actor(actor_start_game_3_walk:actor_start_game_3_look)%

[sr_idle@scene_end]
on_game_timer = 8 | sr_idle@control %=stop_postprocess(3009) =enable_ui +actor_can_speak =remove_online_monsters%

[sr_idle@control]
on_info = {+start_addon_russibic_dialog_end} sr_idle@control_1 %=disable_ui =run_postprocess(fade_to_black_9_sec)%

[sr_idle@control_1]
on_game_timer = 72 | sr_idle@control_2 %=run_postprocess(black:3009:true) =teleport_actor(actor_start_game_4_walk:actor_start_game_4_look) +jup_a30_russibic_go_to_bar%

[sr_idle@control_2]
on_info = {=npc_is_moving(bar_a2_duty_leader:bar_a1_proveren_3:bar_a11_mechanic:pri_stalker_valera)} sr_idle@control_3 %=stop_postprocess(3009)%

[sr_idle@control_3]
on_game_timer = 120 | sr_idle@control_4 %=run_postprocess(fade_to_black_9_sec)%

[sr_idle@control_4]
on_game_timer = 72 | sr_idle@control_5 %=run_postprocess(black:3009:true) =remove_squad(jup_a30_russibic_squad)%

[sr_idle@control_5]
on_info = {!squad_exist(jup_a30_russibic_squad)} sr_idle@save %=stop_postprocess(3009) =enable_ui =activate_weapon_slot(3)%

[sr_idle@save]
on_game_timer = 24 | {-save_game_0} sr_idle@quest_control %+save_game_0 =scenario_autosave( st_save_zat_a1_game_start )%
on_info = {+save_game_0} sr_idle@quest_control

[sr_idle@quest_control]
on_game_timer = 160 | sr_idle@quest_control_1 %=send_message( sherkchan_bandit_message_1:jup_a18_sherkchan_bandit:jup_a18_sherkchan_name:15000 )%

[sr_idle@quest_control_1]
on_game_timer = 40 | sr_idle@quest_control_2 %=give_task( sherkchan_qwest )%

[sr_idle@quest_control_2]
on_info = {=actor_in_zone(jup_sr_base_1:jup_sr_base_2) } sr_idle@save_1

[sr_idle@save_1]
on_info  = {-save_game_1} sr_idle@quest_control_2_1 %+save_game_1 =scenario_autosave( st_save_zat_a2_reached_skadovsk )%
on_info2 = {+save_game_1} sr_idle@quest_control_2_1

[sr_idle@quest_control_2_1]
on_game_timer = 8 | sr_idle@quest_control_3 %+actor_in_zone_jup_a18%

[sr_idle@quest_control_3]
on_game_timer = 16 | sr_idle@quest_control_4 %=give_task( baloon_qwest )%

[sr_idle@quest_control_4]
on_info  = {+jup_bubble_mercenary_outfit_dialog_no} sr_idle@quest_control_5
on_info2 = {=actor_has_item(killer_outfit) +jup_bubble_mercenary_outfit_dialog_yes} sr_idle@quest_control_5 %+jup_bubble_mercenary_outfit_dialog_no%

[sr_idle@quest_control_5]
on_info = {=actor_active_outfit(killer_outfit)} sr_idle@quest_control_6 %=set_squads_neutral_to_actor(jup_a9_agent_squad:jup_a9_agent_1_squad:jup_a9_agent_2_squad:jup_a9_agent_3_squad:jup_a9_agent_4_squad:jup_a9_agent_5_squad)%

[sr_idle@quest_control_6]
on_info  = {!actor_active_outfit(killer_outfit)} sr_idle@quest_control_5 %=set_squads_enemy_to_actor(jup_a9_agent_squad:jup_a9_agent_1_squad:jup_a9_agent_2_squad:jup_a9_agent_3_squad:jup_a9_agent_4_squad:jup_a9_agent_5_squad)%
on_info2 = {=actor_in_zone(jup_surge_hide_a6)} sr_idle@quest_control_7 %+close_all_jup_a6_doors%

[sr_idle@quest_control_7]
on_info  = {!actor_active_outfit(killer_outfit)} sr_idle@nil %=set_squads_enemy_to_actor(jup_a9_agent_squad:jup_a9_agent_1_squad:jup_a9_agent_2_squad:jup_a9_agent_3_squad:jup_a9_agent_4_squad:jup_a9_agent_5_squad)%
on_info2 = {+jup_grizzled_agreement_dialog_end} sr_idle@quest_control_8
on_info3 = {!actor_in_zone(jup_surge_hide_a6)} sr_idle@quest_control_5 %-close_all_jup_a6_doors%

[sr_idle@quest_control_8]
on_game_timer = 16 | sr_idle@quest_control_9 %-close_all_jup_a6_doors =give_task( sedoy_qwest )%

[sr_idle@quest_control_9]
on_info = {!actor_in_zone(jup_surge_hide_a6)} sr_idle@quest_control_10 %+close_all_jup_a6_doors%

[sr_idle@quest_control_10]
on_info  = {+jup_bubble_order_dialog_end} sr_idle@nil %=actor_is_thinking( thoughts_in_my_head_01 )%
on_info2 = {+stop_sedoy_qwest} sr_idle@nil

[sr_idle@nil]
