[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info = {+jup_sherkhan_agreement_dialog_1_end} sr_idle@where_is_actor

[sr_idle@where_is_actor]
on_info = {=dist_between_actor_and_smart_ge(jup_a9:400) =dist_between_actor_and_smart_ge(jup_a11:400) =dist_between_actor_and_smart_ge(jup_a31:400)} sr_idle@sms_sherchan %=set_squads_neutral_to_actor(jup_a12_agent_squad:jup_a12_agent_1_squad) =remove_squad(jup_a29_agent_squad) =remove_squad(jup_a19_agent_squad)%

[sr_idle@sms_sherchan]
on_info1 = {-jup_give_money_self} sr_idle@friend %=remove_squad(jup_a11_sherkchan_squad) =send_message( sherk_bandit_message_timer:jup_a18_sherkchan_bandit:jup_a18_sherkchan_name:30000 )%
on_info2 = {+jup_give_money_self} sr_idle@friend %=remove_squad(jup_a11_sherkchan_squad) =send_message( sherk_bandit_message_timer_1:jup_a18_sherkchan_bandit:jup_a18_sherkchan_name:30000 )%

[sr_idle@friend]
on_info = sr_idle@timer %+agent_blockade_end =set_squads_neutral_to_actor(jup_a12_shtern_squad:jup_a31_agent_squad:jup_a31_agent_1_squad)%
;
;----------------------------точка бифуркации
;
[sr_idle@timer]
;
;------------------------------ вообще не ходил к Седому
;
on_game_timer = 21600 | {-jup_give_money_self !actor_in_zone(jup_surge_hide_a6) !actor_in_zone(jup_a18_sr_noweapon) =dist_between_actor_and_smart_ge(jup_a24:150) =dist_between_actor_and_smart_ge(jup_a29:150) -jup_grizzled_money_dialog_end} sr_idle@spawn_baloon %=remove_squad(jup_a24_baloon_squad) =send_message( sedoy_message_1:jup_a9_sedoy_stalker:sedoy_stalker_name:15000 ) +stop_sedoy_qwest%
;
;-------------------------------ходил, но послал на хер
;
on_info  = {-jup_give_money_self +jup_bubble_money_no_dialog_start !actor_in_zone(jup_surge_hide_a6)} sr_idle@spawn_baloon %=remove_squad(jup_a24_baloon_squad) +actor_ignored_sedoy_task%
;
;-------------------------------отдал занятые деньги Седому
;
on_info2 = {-jup_give_money_self +jup_bubble_money_yes_dialog_start} sr_idle@quest_control_9 %=remove_squad(jup_a24_baloon_squad) =create_squad_member(jup_a18_baloon_bandit:jup_a18_sherkchan_squad) =create_squad_member(jup_a18_sherkchan_bandit:jup_a18_sherkchan_squad)%
;
;-------------------------------отдал свои деньги Шерхану
;
on_info3 = {+jup_give_money_self +jup_sherkhan_agreement_dialog_1_end -jup_grizzled_money_dialog_end} sr_idle@quest_control_9 %=create_squad_member(jup_a18_sherkchan_bandit:jup_a18_sherkchan_squad)%
;
;-------------------------------отдал свои деньги Седому
;
on_info4 = {+jup_give_money_self +jup_sherkhan_agreement_dialog_1_end  +jup_grizzled_money_dialog_end} sr_idle@quest_control_9 %=remove_squad(jup_a24_baloon_squad) =create_squad_member(jup_a18_baloon_bandit:jup_a18_sherkchan_squad) =create_squad_member(jup_a18_sherkchan_bandit:jup_a18_sherkchan_squad)%

[sr_idle@spawn_baloon]
on_game_timer1 = 8 | {-jup_bubble_money_no_dialog_start} sr_idle@where_actor %=create_squad_member(jup_a18_baloon_bandit:jup_a18_sherkchan_squad)%
on_game_timer2 = 8 | {+jup_bubble_money_no_dialog_start} sr_idle@quest_control %=create_squad_member(jup_a18_baloon_bandit:jup_a18_sherkchan_squad) =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)%

[sr_idle@where_actor]
on_info  = {=dist_between_actor_and_smart_ge(jup_a29:150)} sr_idle@quest_control %+actor_ignored_sedoy_task =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_a18_sr_noweapon)} sr_idle@quest_control %+actor_ignored_sedoy_task =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)%

[sr_idle@quest_control]
on_game_timer = 16 | sr_idle@quest_control_1 %=set_squads_enemy_to_actor(jup_a12_agent_squad:jup_a12_agent_1_squad:jup_a12_shtern_squad:jup_a31_agent_squad:jup_a31_agent_1_squad)%

[sr_idle@quest_control_1]
on_game_timer = 16 | sr_idle@quest_control_3 %=create_squad(jup_a29_agent_squad:jup_a29) =create_squad(jup_a19_agent_squad:jup_a19)%

[sr_idle@quest_control_3]
on_info  = {=dist_between_actor_and_smart_le(jup_a29:200)} sr_idle@quest_control_4 %=give_task( ignored_sedoy_qwest )%
on_info2 = {=actor_in_zone(jup_a18_sr_noweapon)} sr_idle@quest_control_4 %=give_task( ignored_sedoy_qwest )%

[sr_idle@quest_control_4]
on_info = {=dist_between_actor_and_smart_ge(jup_a18:250) +jup_bubble_money_no_dialog_end} sr_idle@quest_control_5 %=send_message( sherkchan_bandit_message_2:jup_a18_sherkchan_bandit:jup_a18_sherkchan_name:15000 )%

[sr_idle@quest_control_5]
on_game_timer = 8 | sr_idle@quest_control_6 %+sherkchan_bandit_message_2 =remove_squad(jup_a29_agent_squad) =clear_smart_terrain(jup_a19)%

[sr_idle@quest_control_6]
on_game_timer = 8 | sr_idle@quest_control_7 %=create_squad_member(jup_a18_sherkchan_bandit:jup_a18_sherkchan_squad) =set_squads_neutral_to_actor(jup_a12_agent_squad:jup_a12_agent_1_squad:jup_a12_shtern_squad:jup_a31_agent_squad:jup_a31_agent_1_squad)%

[sr_idle@quest_control_7]
on_game_timer = 8 | sr_idle@quest_control_8 %+sherkchan_squad_again =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_8]
on_info = {+jup_sherkhan_money_no_dialog_end} sr_idle@quest_control_9 %-close_all_jup_a6_doors%

[sr_idle@quest_control_9]
on_game_timer = 16 | sr_idle@quest_control_11 %=give_task( baloon_money_qwest ) +baloon_money_qwest =clear_smart_terrain(jup_a19)%

;[sr_idle@quest_control_10]
;on_info = {+jup_baloon_first_quest_end =dist_between_actor_and_smart_le(jup_a7:150)} sr_idle@quest_control_11 %=set_squads_enemy_to_actor(jup_a7_stalker_squad)%

[sr_idle@quest_control_11]
on_info = {=actor_has_item(jup_trader_pda)} sr_idle@quest_control_12 %+actor_has_jup_trader_pda%

[sr_idle@quest_control_12]
on_info = {+jup_bubble_order_dialog_1_end} sr_idle@quest_control_12_1

[sr_idle@quest_control_12_1]
on_info  = {+jup_medik_first_quest_yes_end} sr_idle@quest_control_13 %=clear_smart_terrain(jup_a19)%
on_info2 = {!actor_in_zone(jup_a18_sr_noweapon)} sr_idle@quest_control_16 %+stop_medik_quest%

[sr_idle@quest_control_13]
on_game_timer = 8 | sr_idle@quest_control_14 %=create_squad(jup_a19_killer_squad:jup_a19) -jup_a19_killer_squad_dead =create_squad(jup_a19_bandit_squad:jup_a19)%

[sr_idle@quest_control_14]
on_game_timer = 16 | sr_idle@quest_control_15 %=give_task( aspirant_1_qwest )%

[sr_idle@quest_control_15]
on_info  = {+jup_a19_killer_squad_dead} sr_idle@quest_control_16

[sr_idle@quest_control_16]
on_game_timer = 16 | sr_idle@quest_control_16_1

[sr_idle@quest_control_16_1]
on_info1 = {+jup_bubble_order_dialog_end} sr_idle@quest_control_17 %=send_message( baloon_bandit_message_1:jup_a18_baloon_bandit:jup_a18_baloon_name:15000 )%
on_info2 = {-jup_bubble_order_dialog_end} sr_idle@quest_control_17 %=send_message( baloon_bandit_message_1_2:jup_a18_baloon_bandit:jup_a18_baloon_name:15000 )%

[sr_idle@quest_control_17]
on_game_timer = 16 | sr_idle@quest_control_18 %=give_task( baloon_money_1_qwest ) +baloon_money_1_qwest%

[sr_idle@quest_control_18]
on_info  = {+jup_grizzled_caches_dialog_start} sr_idle@quest_control_36
on_info2 = {+jup_sherkhan_theft_dialog_start} sr_idle@quest_control_19

[sr_idle@quest_control_19]
on_info = {+jup_sherkhan_theft_dialog_end} sr_idle@quest_control_20 %=disable_ui =run_postprocess(black:3009:true) =add_cs_text(first_education)%

[sr_idle@quest_control_20]
on_game_timer = 40 | sr_idle@quest_control_21 %=del_cs_text =stop_postprocess(3009) =enable_ui =forward_game_time(2) +actor_ready_next_education%

[sr_idle@quest_control_21]
on_info = {+start_actor_can_robbery_education} sr_idle@quest_control_22 %=start_fake_callback%

[sr_idle@quest_control_22]
on_info = {=actor_has_item_count(jup_bandit_pda:3)} sr_idle@quest_control_23 %-start_actor_can_robbery_education -start_first_task_robbery +start_first_task_robbery_done%

[sr_idle@quest_control_23]
on_info = {+jup_sherkhan_theft_dialog_2_end} sr_idle@quest_control_24 %=disable_ui =run_postprocess(black:3009:true) =add_cs_text(second_education)%

[sr_idle@quest_control_24]
on_game_timer = 40 | sr_idle@quest_control_25 %=del_cs_text =stop_postprocess(3009) =enable_ui =forward_game_time(4)%

[sr_idle@quest_control_25]
on_info = {+start_actor_can_robbery_education} sr_idle@quest_control_26 %=start_fake_callback%

[sr_idle@quest_control_26]
on_info = {=actor_has_item_count(af_quest_baloon:3)} sr_idle@quest_control_27 %-start_actor_can_robbery_education -start_second_task_robbery +start_second_task_robbery_done%

[sr_idle@quest_control_27]
on_info = {+jup_sherkhan_theft_dialog_4_end} sr_idle@quest_control_28 %=disable_ui =run_postprocess(black:3009:true) =add_cs_text(third_education)%

[sr_idle@quest_control_28]
on_game_timer = 40 | sr_idle@quest_control_28_1 %=del_cs_text =stop_postprocess(3009) =enable_ui =forward_game_time(6)%

[sr_idle@quest_control_28_1]
on_info = {+jup_sherkhan_theft_dialog_5_end} sr_idle@quest_control_29 %=actor_is_thinking( thoughts_in_my_head_02 ) =actor_look(baloon_pos_on_baza)%

[sr_idle@quest_control_29]
on_info = {+start_actor_can_robbery_education} sr_idle@quest_control_30 %=start_fake_callback%

[sr_idle@quest_control_30]
on_info = {=actor_has_item(jup_mercenary_info)} sr_idle@quest_control_30_1 %-start_actor_can_robbery_education -start_third_task_robbery +start_third_task_robbery_done%

[sr_idle@quest_control_30_1]
on_game_timer = 60 | sr_idle@quest_control_31 %=actor_is_thinking( thoughts_in_my_head_10 )%

[sr_idle@quest_control_31]
on_info = {+jup_bubble_theft_dialog_1_end} sr_idle@quest_control_32 %=start_fake_callback%

[sr_idle@quest_control_32]
on_info = {=actor_has_item(jup_nightingale_notes)} sr_idle@quest_control_33 %-start_actor_can_robbery_education -start_forth_task_robbery +start_forth_task_robbery_done%

[sr_idle@quest_control_33]
on_info = {=squad_exist(jup_a20_solovey_squad)} sr_idle@quest_control_34 %=spawn_object_in(jup_nightingale_pda:jup_a18_solovey_bandit) =set_squads_enemy_to_actor(jup_a20_solovey_squad)%

[sr_idle@quest_control_34]
on_info  = {=actor_has_item(jup_nightingale_pda) +solovey_bandit_is_dead} sr_idle@quest_control_35 %+go_to_baloon_solovey_pda%
on_info2 = {=actor_has_item(jup_nightingale_pda) +jup_nightingale_theft_dialog_end} sr_idle@quest_control_35 %+go_to_baloon_solovey_pda%

[sr_idle@quest_control_35]
on_info = {+jup_bubble_theft_dialog_2_end} sr_idle@quest_control_36 %=start_real_callback%

[sr_idle@quest_control_36]
on_game_timer = 180 | {!actor_in_zone(jup_surge_hide_a18)} sr_idle@quest_control_37 %=send_message( sedoy_message_2:jup_a9_sedoy_stalker:sedoy_stalker_name:15000 )%

[sr_idle@quest_control_37]
on_game_timer = 16 | sr_idle@quest_control_38 %=give_task( sedoy_qwest_1 )%

[sr_idle@quest_control_38]
on_info = sr_idle@quest_control_39 %=actor_is_thinking( thoughts_in_my_head_03 )%

[sr_idle@quest_control_39]
on_info = {+jup_a21_stalker_serched} sr_idle@quest_control_40 %=spawn_ids_objects(jup_inv_box_05:jup_inv_box_04:jup_inv_box_03:jup_inv_box_02:jup_inv_box_01)%

[sr_idle@quest_control_40]
on_info = {=all_boxes_are_empty(jup_inv_box_05:jup_inv_box_04:jup_inv_box_03:jup_inv_box_02:jup_inv_box_01)} sr_idle@quest_control_41 %+jup_a21_all_boxes_are_empty =clear_smart_terrain(jup_a21) =remove_npc(jup_a21_stalker)%

[sr_idle@quest_control_41]
on_game_timer = 180 | sr_idle@quest_control_42 %=send_message( sedoy_message_3:jup_a9_sedoy_stalker:sedoy_stalker_name:15000 )%

[sr_idle@quest_control_42]
on_game_timer = 16 | sr_idle@quest_control_42_1 %=give_task( shtern_qwest_1 )%

[sr_idle@quest_control_42_1]
on_game_timer = 30 | sr_idle@quest_control_43 %=give_task( vent_aspir_quest ) =actor_is_thinking( thoughts_in_my_head_04 )%

[sr_idle@quest_control_43]
on_info = {+jup_shtern_test_dialog_end} sr_idle@quest_control_43_1 %=actor_is_thinking( thoughts_in_my_head_05 )%

[sr_idle@quest_control_43_1]
on_info = {+jup_sherkhan_memory_dialog_end} sr_idle@quest_control_43_2 %=actor_is_thinking( thoughts_in_my_head_07 )%

[sr_idle@quest_control_43_2]
on_info = {=squad_exist(jup_a12_hrapov_squad)} sr_idle@quest_control_44 %=set_squads_neutral_to_actor(jup_a12_hrapov_squad)%

[sr_idle@quest_control_44]
on_info = {+jup_path_selection_hrapov_dialog_yes} sr_idle@quest_control_45 %=create_squad(jup_a20_amazon_squad:jup_a20) =actor_is_thinking( thoughts_in_my_head_09 )%
on_info2 = {+jup_path_selection_hrapov_dialog_no} sr_idle@quest_control_56 %=create_squad(lim_a6_amazon_1_squad:lim_a6) =actor_is_thinking( thoughts_in_my_head_08 )%

[sr_idle@quest_control_45]
on_info = {=squad_exist(jup_a20_amazon_squad)} sr_idle@quest_control_46 %=give_task( amazon_qwest )%

[sr_idle@quest_control_46]
on_info  = {+jup_path_selection_hrapov_dialog_2_yes} sr_idle@quest_control_47 %=remove_squad(jup_a20_amazon_squad) =create_squad(jup_a22_amazon_squad:jup_a22)%
on_info2 = {+jup_path_selection_hrapov_dialog_2_no} sr_idle@quest_control_55 %=create_squad(lim_a6_amazon_1_squad:lim_a6)%

[sr_idle@quest_control_47]
on_info = {+start_jup_maria_scene} sr_idle@quest_control_48 %=disable_ui_only =actor_look(jup_a22_maria_1_walk)%

[sr_idle@quest_control_48]
on_game_timer = 8 | sr_particle@start_particle

[sr_particle@start_particle]
name = anomaly2\anomaly_teleport
path = jup_a22_maria_1_walk
mode = 2
looped = true
on_info = {+end_anim_maria} sr_idle@quest_control_49 %=enable_ui%

[sr_idle@quest_control_49]
on_game_timer = 40 | sr_idle@quest_control_50 %=send_message( garik_message_1:jup_stalker_garik:jup_stalker_garik_name:25000 ) =create_squad(jup_a24_garik_squad:jup_a24)%

[sr_idle@quest_control_50]
on_game_timer = 40 | sr_idle@quest_control_51 %=give_task( jup_garik_qwest )%

[sr_idle@quest_control_51]
on_game_timer = 40 | sr_idle@quest_control_52 %+start_kiborg_go_to_jup_a24 +close_all_jup_a6_doors%

[sr_idle@quest_control_52]
on_info  = {+jup_a22_amazon_squad_dead =dist_actor_to_obj_ge(jup_stalker_garik:100)} sr_idle@quest_control_53 %=remove_squad(jup_a24_garik_squad) -close_all_jup_a6_doors%
on_info2 = {+jup_garik_amazon_dialog_end} sr_idle@quest_control_54 %-close_all_jup_a6_doors%

[sr_idle@quest_control_53]
on_game_timer = 16 | sr_idle@quest_control_56 %=send_message( garik_message_2:jup_stalker_garik:jup_stalker_garik_name:15000 ) =create_squad(lim_a6_maria_squad:lim_a6)%

[sr_idle@quest_control_54]
on_info  = {=dist_actor_to_obj_ge(jup_stalker_garik:140)} sr_idle@quest_control_56 %=remove_squad(jup_a24_garik_squad) =respawn_amazon_squad(jup_a22_amazon_squad:lim_a6:lim_a6_amazon_squad)%

[sr_idle@quest_control_55]
on_info = {!actor_in_zone(jup_b6_spot)} sr_idle@quest_control_56 %=remove_squad(jup_a20_amazon_squad)%

[sr_idle@quest_control_56]
on_game_timer = 200 | sr_idle@quest_control_57 %+sedoy_message_4_done =send_message( sedoy_message_4:jup_a9_sedoy_stalker:sedoy_stalker_name:15000 )%

[sr_idle@quest_control_57]
on_game_timer = 16 | sr_idle@quest_control_58 %=give_task( sedoy_qwest_2 )%

[sr_idle@quest_control_58]
on_info  = {+jup_grizzled_secret_information_dialog_end +jup_garik_amazon_dialog_end} sr_idle@quest_control_59
on_info2 = {+jup_grizzled_secret_information_dialog_end -jup_garik_amazon_dialog_end} sr_idle@quest_control_60

[sr_idle@quest_control_59]
on_game_timer = 180 | sr_idle@quest_control_60 %=send_message( garik_message_3:jup_stalker_garik:jup_stalker_garik_name:40000 )%

[sr_idle@quest_control_60]
on_info  = {=actor_has_item(flash_lim_jup_west) +jup_garik_amazon_dialog_end} sr_idle@quest_control_61 %+level_redwest_to_jupiter_ok%
on_info2 = {=actor_has_item(flash_lim_jup_west) +buble_flash_lim_jup_dialog_end} sr_idle@quest_control_61 %+level_redwest_to_jupiter_ok%

[sr_idle@quest_control_61]
on_info = {+actor_has_military_flash} sr_idle@quest_control_62

[sr_idle@quest_control_62]
on_info = {=actor_has_items(secret_archives_case_3:secret_archives_case_2:jup_degtyarev_info:secret_archives_case_1:jup_archives_info)} sr_idle@quest_control_62_1 %+all_electric_boxes_empty%

[sr_idle@quest_control_62_1]
on_game_timer = 20 | sr_idle@quest_control_63 %=actor_is_thinking(dont_give_archiv)%

[sr_idle@quest_control_63]
on_info = {+jup_grizzled_brother_dialog_end} sr_idle@quest_control_64 %=clear_smart_terrain(jup_b24) =remove_squad(bar_a6_proveren_squad)%

[sr_idle@quest_control_64]
on_game_timer = 16 | sr_idle@quest_control_65 %=remove_squad(bar_a5_dolg_squad) =create_squad(jup_b24_proveren_squad:jup_b24) =create_squad(jup_b24_dectyrev_squad:jup_b24)%

[sr_idle@quest_control_65]
on_info  = {+jup_degtyarev_brother_dialog_yes} sr_idle@quest_control_66 %=create_squad(jup_b23_kiborg_1_squad:jup_b23) =create_squad(jup_b23_kiborg_squad:jup_b23)%
on_info2 = {+jup_degtyarev_brother_dialog_no} sr_idle@quest_control_67 %=give_task( sedoy_qwest_3 )%

[sr_idle@quest_control_66]
on_info = {+jup_degtyarev_brother_dialog_1_end} sr_idle@quest_control_71 %+close_all_jup_a6_doors%

[sr_idle@quest_control_67]
on_info = {=actor_in_zone(jup_surge_hide_a6)} sr_idle@quest_control_68 %+close_all_jup_a6_doors%

[sr_idle@quest_control_68]
on_game_timer = 20 | {-save_game_2} sr_idle@quest_control_69 %+save_game_2 =scenario_autosave( st_save_jup_sedoy )%
on_info = {+save_game_2} sr_idle@quest_control_69

[sr_idle@quest_control_69]
on_info = {+jup_grizzled_brother_dialog_1_end} sr_timer@quest_control_70 %-close_all_jup_a6_doors%

[sr_timer@quest_control_70]
type = dec
string = "у вас 15 секунд, чтобы унести отсюда свою задницу"
start_value = 15000
on_value = 0 | sr_idle@quest_control_71 %+close_all_jup_a6_doors =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_info  = {!actor_in_zone(jup_surge_hide_a6)} sr_idle@quest_control_71 %+close_all_jup_a6_doors%

[sr_idle@quest_control_71]
on_game_timer  = 100 | {=actor_alive !actor_in_zone(jup_surge_hide_a6)} sr_idle@quest_control_72 %=send_message( sherkchan_bandit_message_3:jup_a18_sherkchan_bandit:jup_a18_sherkchan_name:15000 )%
on_game_timer2 = 100 | {=actor_alive =actor_in_zone(jup_surge_hide_a6)} sr_idle@quest_control_72 %=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)%

[sr_idle@quest_control_72]
on_game_timer = 20 | sr_idle@quest_control_73 %=clear_smart_terrain(jup_a18) =spawn_ids_objects(sr_jup_wait_sherkchan)%

[sr_idle@quest_control_73]
on_game_timer = 20 | sr_idle@quest_control_74 %=clear_smart_terrain(jup_a19) =give_task( sherkchan_qwest_1 )%

[sr_idle@quest_control_74]
on_game_timer = 20 | sr_idle@quest_control_75 %=create_squad(jup_a19_killer_squad:jup_a19) =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)%

[sr_idle@quest_control_75]
on_game_timer = 20 | sr_idle@quest_control_76 %=create_squad(jup_a18_agent_1_squad:jup_a18) =set_squads_enemy_to_actor(jup_a12_agent_squad:jup_a12_agent_1_squad:jup_a12_shtern_squad:jup_a31_agent_squad:jup_a31_agent_1_squad)%

[sr_idle@quest_control_76]
on_game_timer = 20 | sr_idle@quest_control_77 %=create_squad(jup_a18_agent_squad:jup_a18)%

[sr_idle@quest_control_77]
on_game_timer = 20 | sr_idle@quest_control_78 %=create_squad(jup_a18_agent_2_squad:jup_a18)%

[sr_idle@quest_control_78]
on_info  = {+jup_klava_judah_dialog_end_number_1} sr_idle@quest_control_79 %=give_task( save_sherk_1_var_qwest )%
on_info2 = {+jup_klava_judah_dialog_end_number_2} sr_idle@quest_control_81 %=give_task( save_sherk_2_var_qwest )%
on_info3 = {+jup_klava_judah_dialog_end_number_3} sr_idle@quest_control_82 %=give_task( save_sherk_3_var_qwest )%

[sr_idle@quest_control_79]
on_info  = {+jup_a26_convoy_see_actor -jup_a26_sherkhan_dialog_end} sr_idle@quest_control_78 %-jup_klava_judah_dialog_end_number_1 +jup_klava_judah_dialog_end_number_3%
on_info2 = {+jup_a26_convoy_see_actor +jup_a26_sherkhan_dialog_end} sr_idle@quest_control_78 %-start_fifth_task_robbery -start_actor_can_robbery_education -jup_klava_judah_dialog_end_number_1 +jup_klava_judah_dialog_end_number_3%
on_info3 = {=actor_has_item(jup_key_zrk)} sr_idle@quest_control_80 %=spawn_ids_objects(jup_a26_door_restr) -start_fifth_task_robbery -start_actor_can_robbery_education +start_actor_can_robbery =start_real_callback%

[sr_idle@quest_control_80]
on_info  = {+jup_a26_convoy_see_actor} sr_idle@quest_control_78 %=remove_ids_objects(jup_a26_door_restr) -jup_klava_judah_dialog_end_number_1 +jup_klava_judah_dialog_end_number_3%
on_info2 = {-actor_has_jup_key_zrk} %+actor_has_jup_key_zrk%
on_info3 = {+jup_a26_door_open} sr_idle@quest_control_84

[sr_idle@quest_control_81]
on_info   = {+jup_degtyarev_judah_dialog_1_no} sr_idle@quest_control_78 %-jup_klava_judah_dialog_end_number_2 +jup_klava_judah_dialog_end_number_3%
on_info2  = {+jup_a26_convoy_see_actor} sr_idle@quest_control_78 %-jup_klava_judah_dialog_end_number_2 +jup_klava_judah_dialog_end_number_3%
on_info3  = {-jup_a26_convoy_see_actor =actor_in_zone(jup_a26_assault_restr) +jup_degtyarev_judah_dialog_yes} sr_idle@quest_control_78 %+jup_a26_assault_restr -jup_klava_judah_dialog_end_number_2 +jup_klava_judah_dialog_end_number_3%

[sr_idle@quest_control_82]
on_info  = {+jup_a26_convoy_agent_squad_dead =actor_has_item(jup_key_zrk)} sr_idle@quest_control_83 %=spawn_ids_objects(jup_a26_door_restr)%
on_info2 = {+jup_a26_sherkhan_dialog_end -start_actor_can_robbery} %+start_actor_can_robbery =start_real_callback%

[sr_idle@quest_control_83]
on_game_timer = 16 | sr_idle@quest_control_84 %+actor_has_jup_key_zrk -jup_a26_convoy_see_actor%

[sr_idle@quest_control_84]
on_info  = {+jup_sherkhan_judah_dialog_end} sr_idle@quest_control_85 %=give_task( sherkchan_qwest_2 )%

[sr_idle@quest_control_85]
on_info  = {+dialog_bandit_sniper_end} sr_idle@quest_control_86

[sr_idle@quest_control_86]
on_game_timer = 600 | sr_idle@quest_control_87 %=send_message( degtyrev_message_1:jup_stalker_dectyrev:jup_stalker_dectyrev_name:15000 )%

[sr_idle@quest_control_87]
on_game_timer = 150 | sr_idle@quest_control_88 %=give_task( degtyrev_qwest_2 )%

[sr_idle@quest_control_88]
on_info = {+jup_degtyarev_snare_dialog_end} sr_idle@quest_control_89 %=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)%

[sr_idle@quest_control_89]
on_info = {=actor_active_outfit(killer_outfit)} sr_idle@quest_control_90 %=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_90]
on_info  = {!actor_active_outfit(killer_outfit)} sr_idle@quest_control_89 %=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_91 %+close_all_jup_a6_doors%

[sr_idle@quest_control_91]
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_snare_dialog_end} sr_idle@quest_control_92 %=disable_ui =run_postprocess(fade_to_black_9_sec) =set_squads_neutral_to_actor(jup_a7_sedoy_squad)%
on_info3 = {!actor_in_zone(jup_surge_hide_a6)} sr_idle@quest_control_89 %-close_all_jup_a6_doors%

[sr_idle@quest_control_92]
on_game_timer = 72 | sr_idle@quest_control_93 %=run_postprocess(black:3009:true) =teleport_actor(jup_a7_actor_walk:jup_a7_actor_look)%

[sr_idle@quest_control_93]
on_game_timer = 30 | sr_idle@quest_control_94 %=enable_ui =stop_postprocess(3009) +jup_a7_actor_kopachi%

[sr_idle@quest_control_94]
on_game_timer = 30 | sr_idle@quest_control_95 %=remove_squad(jup_a9_agent_squad) =clear_smart_terrain(jup_b24) -stop_jup_b24_spawn%

[sr_idle@quest_control_95]
on_game_timer = 30 | sr_idle@quest_control_95_1 %+close_all_jup_a6_doors =set_squads_enemy_to_actor(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_95_1]
on_info = {+jup_a7_sedoy_squad_dead} sr_idle@quest_control_96 %=actor_is_thinking( thoughts_in_my_head_11 )%

[sr_idle@quest_control_96]
on_info = {+jup_degtyarev_snare_dialog_1_end} sr_idle@quest_control_97_1 %=give_task( rebel_qwest_1 )%

[sr_idle@quest_control_97_1]
on_info = {=dist_between_actor_and_smart_ge(jup_a7:200)} sr_idle@quest_control_97 %=remove_squad(jup_a7_dectyrev_squad)%

[sr_idle@quest_control_97]
on_info  = {+jup_lena_puzzles_prankster_dialog_yes} sr_idle@quest_control_98 %=give_task( lena_qwest_1 ) =give_task( russibic_qwest_1 ) =set_counter( lena_qwest_1_count:0 )%
on_info2 = {+jup_lena_puzzles_prankster_dialog_no}  sr_idle@end %=give_task( russibic_qwest_1 )%

[sr_idle@quest_control_98]
on_game_timer = 30 | sr_idle@quest_control_99_1 %=spawn_ids_objects(jup_prankster_case_1:jup_prankster_case_2:jup_prankster_case_3:jup_prankster_case_4:jup_prankster_case_5:jup_prankster_case_6)%

[sr_idle@quest_control_99_1]
on_info = {=dist_between_actor_and_smart_ge(jup_a17:200)} sr_idle@quest_control_99 %=remove_squad(jup_a17_lena_squad)%

[sr_idle@quest_control_99]
on_info  = {+actor_gave_case_klava} %=inc_counter(lena_qwest_1_count:1) -actor_gave_case_klava%
on_info2 = {=counter_equal(lena_qwest_1_count:6)} sr_idle@quest_control_100 %+jup_klava_puzzles_prankster_dialog_1_end%
on_game_timer = 86400 | {-actor_gave_case_klava_over_day} %+actor_gave_case_klava_over_day%

[sr_idle@quest_control_100]
on_game_timer = 8 | sr_idle@nil %=remove_counter( lena_qwest_1_count ) =remove_item_no_news(jup_prankster_notes)%

[sr_idle@end]
on_info = {=dist_between_actor_and_smart_ge(jup_a17:200)} sr_idle@nil %=remove_squad(jup_a17_lena_squad)%

[sr_idle@nil]
