;==============================================================
;
; TASKS PROVIDED FOR STORIES FROM THE ZONE (Name might be subject to changes)
;	Anomaly 1.5.2.
;
;	Made by: Catilina
;
;==============================================================
;------------------------------------------------------------------------------------------
; Brotherhood QUESTLINES
;------------------------------------------------------------------------------------------


[give_task_kill_pack_dogs_1]
icon = ui_inGame2_Laboratoriya_X8
prior = 75
storyline = false

title = give_task_kill_pack_dogs_1_name
target = 
descr = {+delievered_package_vybegallo} give_task_kill_pack_dogs_3_descr, {=actor_has_item(quest_package_vybegallo)} give_task_kill_pack_dogs_2_descr, give_task_kill_pack_dogs_1_descr
status_functor          = give_task_kill_pack_dogs_1_status_f

condlist_0 = {+butcher_1_done} complete
on_init = 
on_complete = %=inc_faction_goodwill_to_actor(stalker:10) =inc_faction_goodwill_to_actor(csky:5)%

[give_task_kill_pack_boars_1]
icon = ui_inGame2_Laboratoriya_X8
prior = 75
storyline = false

title = give_task_kill_pack_boars_1_name
target = 
descr = {+pack_boars_1_dead} give_task_kill_pack_boars_2_descr, give_task_kill_pack_boars_1_descr
status_functor          = give_task_kill_pack_boars_1_status_f

condlist_0 = {+butcher_2_done} complete
on_init = 
on_complete = %=reward_money(5000) =reward_item(meat_boar_a) =inc_faction_goodwill_to_actor(stalker:25) =inc_faction_goodwill_to_actor(dolg:10)%

[give_task_kill_pack_snorks_1]
icon = ui_inGame2_Laboratoriya_X8
prior = 75
storyline = false

title = give_task_kill_pack_snorks_1_name
target = 
descr = {+pack_snorks_1_dead} give_task_kill_pack_snorks_2_descr, give_task_kill_pack_snorks_1_descr
status_functor          = give_task_kill_pack_snorks_1_status_f

condlist_0 = {+butcher_3_done} complete
on_init = 
on_complete = %=reward_money(5000) =reward_item(meat_flesh_a) =inc_faction_goodwill_to_actor(stalker:25) =inc_faction_goodwill_to_actor(dolg:10)%

[give_task_kill_pack_snorks_2]
icon = ui_inGame2_Laboratoriya_X8
prior = 75
storyline = false

title = give_task_kill_pack_snorks_2_name
target = 
descr = {+bellerophon_2_done} give_task_kill_pack_snorks_2_3_descr, {+pack_snorks_2_dead -bellerophon_dead} give_task_kill_pack_snorks_2_2_descr, give_task_kill_pack_snorks_2_1_descr
status_functor          = give_task_kill_pack_snorks_2_status_f

condlist_0 = {+butcher_4_done} complete
on_init = 
on_complete = %=reward_money(7000) =reward_item(meat_flesh_a) =inc_faction_goodwill_to_actor(stalker:25) =inc_faction_goodwill_to_actor(dolg:10)%

[give_rescue_orion_quest]
icon = ui_inGame2_Laboratoriya_X8
prior = 75
storyline = false

title = give_rescue_orion_quest_name
target = 
descr = {+brotherhood_agru_controller_dead +bellerophon_dead} give_rescue_orion_quest_3_alt_descr, {+brotherhood_agru_controller_dead} give_rescue_orion_quest_3_descr, {+bellerophon_3_done} give_rescue_orion_quest_2_descr, {+bellerophon_dead} give_rescue_orion_quest_1_alt_descr, give_rescue_orion_quest_1_descr
status_functor          = give_rescue_orion_quest_status_f

condlist_0 = {+butcher_5_done} complete
on_init = %=spawn_hunter_orion_dead%
on_complete = %=inc_faction_goodwill_to_actor(stalker:80) =inc_faction_goodwill_to_actor(dolg:10)%


	;-------------;
	; Dolg Quests ;
	;-------------;
[give_meet_aspirin_quest_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 20
storyline = false

title = give_meet_aspirin_quest_1_name
target = 
descr = give_meet_aspirin_quest_1_descr

condlist_0 = {+give_meet_aspirin_quest_1_done} complete

[give_meet_aspirin_quest_2]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 20
storyline = false

title = give_meet_aspirin_quest_2_name
target = 
descr = give_meet_aspirin_quest_2_descr

condlist_0 = {+give_meet_aspirin_quest_2_done} complete

[give_meet_voronin_quest_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 20
storyline = false

title = give_meet_voronin_quest_1_name
target = 
descr = give_meet_voronin_quest_1_descr

condlist_0 = {+give_meet_voronin_quest_1_done} complete

[give_dolg_bloodsucker_village_1]
icon = ui_inGame2_Laboratoriya_X8
prior = 75
storyline = false

title = give_dolg_bloodsucker_village_1_name
target = 
descr = {+give_dolg_bloodsucker_village_1_out_of_time} give_dolg_bloodsucker_village_1_3_descr, {+pack_bloodsuckers_dolg_1_all_dead} give_dolg_bloodsucker_village_1_2_descr, give_dolg_bloodsucker_village_1_1_descr
status_functor          = give_dolg_bloodsucker_village_1_status_f

condlist_0 = {+give_dolg_bloodsucker_village_1_done} complete
condlist_1 = {+give_dolg_bloodsucker_village_1_out_of_time} fail
on_init = %=clear_smart_terrain(mil_smart_terrain_4_2:true) =clear_smart_terrain(mil_smart_terrain_4_3:true) =clear_smart_terrain(mil_smart_terrain_2_10:true)%
on_complete = %=reward_money(8500) =inc_faction_goodwill_to_actor(dolg:120)%
on_fail = %+give_dolg_bloodsucker_village_1_fail%

[give_dolg_bloodsucker_village_2]
icon = ui_inGame2_Laboratoriya_X8
prior = 75
storyline = false

title = give_dolg_bloodsucker_village_2_name
target = 
descr = {+bloodsucker_raid_has_killer_patch_fail} give_dolg_bloodsucker_village_2_3_descr, {+bloodsucker_raid_has_killer_patch_done} give_dolg_bloodsucker_village_2_2_descr, give_dolg_bloodsucker_village_2_1_descr
status_functor          = give_dolg_bloodsucker_village_2_status_f

condlist_0 = {+give_dolg_bloodsucker_village_2_done} complete
condlist_1 = {+give_dolg_bloodsucker_village_2_day} fail
on_init = %=clear_smart_terrain(mil_smart_terrain_4_2:true) =clear_smart_terrain(mil_smart_terrain_4_3:true) =clear_smart_terrain(mil_smart_terrain_2_10:true) =spawn_dolg_vadim_bloodsucker_dead =spawn_dolg_sasha_bloodsucker_dead =spawn_dolg_sergey_bloodsucker_dead%
on_complete = %=inc_faction_goodwill_to_actor(dolg:-110)%
on_fail = %=reward_money(4000)%

[give_dolg_bloodsucker_village_3]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 140
storyline = true

title = give_dolg_bloodsucker_village_3_name
target = 
descr = give_dolg_bloodsucker_village_3_1_descr
status_functor          = give_dolg_bloodsucker_village_3_status_f

on_init = %=clear_smart_terrain(mil_smart_terrain_8_3:true) =clear_smart_terrain(mil_smart_terrain_7_4:true)%
condlist_0 =  {+dolg_ilya_bloodsucker_start_dialog_done} complete
on_complete = 



	;------------------;
	; Legendary Quests ;
	;------------------;

[give_forester_hunt_vlad_drakul]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 140
storyline = true

title = give_forester_hunt_vlad_drakul_name
target = 
descr = {+forester_news_legendary_3} give_forester_hunt_vlad_drakul_3_descr, {+legendary_bloodsucker_vlad_drakul_dead} give_forester_hunt_vlad_drakul_2_descr, give_forester_hunt_vlad_drakul_1_descr
status_functor          = give_hunt_legendary_1_status_f

on_init = 
condlist_0 =  {+give_forester_hunt_vlad_drakul_done} complete
condlist_1 = {+give_forester_hunt_vlad_drakul_fail} fail
on_complete = %=reward_item(vodka_quality) =inc_faction_goodwill_to_actor(stalker:75)%
on_fail = 

[give_butcher_legendary_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 140
storyline = true

title = give_butcher_legendary_1_name
target = 
descr = {+legendary_pack_boars_calydonian_dead} give_butcher_legendary_1_2_descr, give_butcher_legendary_1_1_descr
status_functor = give_hunt_legendary_2_status_f

on_init = 
condlist_0 =  {+give_butcher_legendary_1_done} complete
condlist_1 = {+player_fled_from_calydonian_boar} fail

on_complete = %=reward_item(vodka_quality) =inc_faction_goodwill_to_actor(stalker:50) =inc_faction_goodwill_to_actor(csky:50) =reward_money(10000)%
on_fail = %=release_legendary_hunt_2()%



;------------------------------------------------------------------------------------------
; Doctor Alyosha Shyogolov QUESTLINES
;------------------------------------------------------------------------------------------

[give_alyosha_shyogolov_trouble_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 140
storyline = true

title = give_alyosha_shyogolov_trouble_1_name
target = 
descr = {+alyosha_shyogolov_1_you_arrived} give_alyosha_shyogolov_trouble_1_3_descr, {+alyosha_shyogolov_1_go} give_alyosha_shyogolov_trouble_1_2_descr, give_alyosha_shyogolov_trouble_1_1_descr
status_functor          = give_alyosha_shyogolov_trouble_1_status_f

on_init = %=clear_smart_terrain(agr_smart_terrain_6_4:true) =create_squad(alyosha_shyogolov_squad:agr_smart_terrain_6_4) =clear_smart_terrain(agr_smart_terrain_5_3:true)%
condlist_0 = {+alyosha_shyogolov_0_new_done} complete
on_complete = 

[give_alyosha_shyogolov_trouble_2]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 140
storyline = true

title = give_alyosha_shyogolov_trouble_2_name
target = 
descr =  {=actor_has_item(bh_mozgotlen_documents)} give_alyosha_shyogolov_trouble_2_2_descr, give_alyosha_shyogolov_trouble_2_1_descr
status_functor          = give_alyosha_shyogolov_trouble_2_status_f

on_init = %=clear_smart_terrain(agr_smart_terrain_5_7:true) =clear_smart_terrain(agr_smart_terrain_4_6:true) =clear_smart_terrain(mar_smart_terrain_7_3:true)%
condlist_0 = {+give_alyosha_shyogolov_trouble_2_done} complete
on_complete = 


[give_alyosha_shyogolov_trouble_3]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 140
storyline = true

title = give_alyosha_shyogolov_trouble_3_name
target = 
descr = {+nr_bandits_squads_dead_1} give_alyosha_shyogolov_trouble_3_3_descr, {+alyosha_shyogolov_retreat_1} give_alyosha_shyogolov_trouble_3_2_descr, give_alyosha_shyogolov_trouble_3_1_descr
status_functor          = give_alyosha_shyogolov_trouble_3_status_f

on_init = %=clear_smart_terrain(jup_sim_13:true)%
condlist_0 = {+alyosha_shyogolov_trouble_3_done} complete
on_complete = 



[give_alyosha_shyogolov_trouble_4]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 140
storyline = true

title = give_alyosha_shyogolov_trouble_4_name
target = 
descr = 
status_functor          = give_alyosha_shyogolov_trouble_4_status_f

on_init = 
condlist_0 = {+alyosha_shyogolov_trouble_4_done} complete
on_complete = 

[give_alyosha_shyogolov_trouble_5]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 140
storyline = true

title = give_alyosha_shyogolov_trouble_5_name
target = 
descr = 
status_functor          = give_alyosha_shyogolov_trouble_5_status_f

on_init = 
condlist_0 = {+alyosha_shyogolov_trouble_5_done} complete
on_complete = 
;------------------------------------------------------------------------------------------
; Vybegallo QUESTLINES
;------------------------------------------------------------------------------------------

[give_vybegallo_pseudogiant]
icon = ui_icons_cordon22
prior = 72
storyline = false

title = bring_pseudogiant_vybegallo_name
descr =  bring_part_vybegallo_descr
target = 

condlist_0 = {+vybegallo_quest_1_done} complete
condlist_1 = {+vybegallo_sakharov_order_done} fail

[give_meet_vybegallo_quest]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 20
storyline = true

title = give_meet_vybegallo_quest_name
target = 
descr = give_meet_vybegallo_quest_descr

condlist_0 = {+give_meet_vybegallo_quest_done} complete


[give_sakharov_order_vybegallo_quest]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 20
storyline = true

title = give_sakharov_order_vybegallo_quest_name
target = 
descr = {+vybegallo_sakharov_order_done} give_sakharov_order_vybegallo_quest_2_descr, give_sakharov_order_vybegallo_quest_1_descr

condlist_0 = {+give_sakharov_order_vybegallo_quest_done} complete
on_complete = %=spawn_vybegallo_order_mercenary =spawn_vybegallo_order_mercenary_2 =reward_item(medkit) =reward_item(antirad) =reward_money(1000)%


[give_vybegallo_must_die]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 99
storyline = true

title = give_vybegallo_must_die_name
target = 
descr = {+vybegallo_dead} give_vybegallo_must_die_2_descr, give_vybegallo_must_die_1_descr

condlist_0 = {+give_vybegallo_must_die_done} complete
on_complete = %=reward_item(af_cooler_up) =reward_money(7500)%

[give_vybegallo_satisfied_man]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 99
storyline = true

title = give_vybegallo_satisfied_man_name
target = 
descr = {+satisfied_man_dead} give_vybegallo_satisfied_man_2_descr, give_vybegallo_satisfied_man_1_descr
status_functor          = give_vybegallo_satisfied_man_status_f

condlist_0 = {+give_vybegallo_satisfied_man_done} complete
on_complete = %=reward_money(10000)%

	;--------------------;
	; Bellerophon Quests ;
	;--------------------;
[give_task_bellerophon_chimera_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 90
storyline = true

title = give_task_bellerophon_chimera_1_name
target = 
descr = {+bellerophon_chimera_1_dead} give_task_bellerophon_chimera_1_3_descr, {+bellerophon_7_done} give_task_bellerophon_chimera_1_2_descr, give_task_bellerophon_chimera_1_1_descr
status_functor          = give_task_bellerophon_chimera_1_status_f

condlist_0 = {+give_task_bellerophon_chimera_1_done} complete
condlist_1 = {+bellerophon_dead} fail
on_complete = 

	;--------------------;
	; Trapper Quests 	 ;
	;--------------------;

[give_task_trapper_chimera_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 90
storyline = false

title = give_task_trapper_chimera_1_name
target = 
descr = {+trapper_chimera_1_dead} give_task_trapper_chimera_1_4_descr, {+trapper_chimera_1_init} give_task_trapper_chimera_1_3_descr, {+trapper_chimera_1_done} give_task_trapper_chimera_1_2_descr, give_task_trapper_chimera_1_1_descr
status_functor          = give_task_trapper_chimera_1_status_f

condlist_0 = {+give_task_trapper_chimera_1_done} complete
on_complete = %=reward_money(8750) =inc_faction_goodwill_to_actor(stalker:55) =inc_faction_goodwill_to_actor(freedom:15)%

[give_task_trapper_chimera_2]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 90
storyline = false

title = give_task_trapper_chimera_2_name
target = 
descr = {+trapper_chimera_2_dead} give_task_trapper_chimera_2_6_descr, {+trapper_chimera_2_recording_done_success} give_task_trapper_chimera_2_5_descr, {+trapper_chimera_7_done} give_task_trapper_chimera_2_4_descr, {+trapper_chimera_record_in_place} give_task_trapper_chimera_2_3_descr, {+trapper_chimera_2_init} give_task_trapper_chimera_2_2_descr, {+trapper_chimera_2_back} give_task_trapper_chimera_2_7_descr, give_task_trapper_chimera_2_1_descr
status_functor          = give_task_trapper_chimera_2_status_f

condlist_0 = {+give_task_trapper_chimera_2_done} complete
on_complete = %=inc_faction_goodwill_to_actor(stalker:55) =inc_faction_goodwill_to_actor(freedom:15)%

--- Missing Hunters
[give_task_trapper_missing_hunter_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 90
storyline = false

title = give_task_trapper_missing_hunter_1_name
target = 
descr = {+give_task_trapper_missing_hunter_1_all} give_task_trapper_missing_hunter_1_3_descr, {+trapper_missing_hunter_1_mutant_init} give_task_trapper_missing_hunter_1_2_descr, give_task_trapper_missing_hunter_1_1_descr
status_functor          = give_task_trapper_missing_hunter_1_status_f

condlist_0 = {+give_task_trapper_missing_hunter_1_done} complete
on_complete = %=reward_money(3750) =inc_faction_goodwill_to_actor(stalker:25) =inc_faction_goodwill_to_actor(freedom:15)%


[give_task_trapper_missing_hunter_2]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 90
storyline = false

title = give_task_trapper_missing_hunter_2_name
target = 
descr = {+give_task_trapper_missing_hunter_2_all} give_task_trapper_missing_hunter_2_4_descr, {+give_task_trapper_missing_hunter_2_mutants_dead} give_task_trapper_missing_hunter_2_3_descr, {+give_task_trapper_missing_hunter_2_found} give_task_trapper_missing_hunter_2_2_descr, give_task_trapper_missing_hunter_2_1_descr
status_functor          = give_task_trapper_missing_hunter_2_status_f

condlist_0 = {+give_task_trapper_missing_hunter_2_done} complete
on_complete = %=reward_money(5750) =inc_faction_goodwill_to_actor(stalker:45) =inc_faction_goodwill_to_actor(freedom:25)%


[give_task_trapper_missing_hunter_3]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 90
storyline = false

title = give_task_trapper_missing_hunter_3_name
target = 
descr = {+give_task_trapper_missing_hunter_3_mutants_dead} give_task_trapper_missing_hunter_3_3_descr, {+trapper_missing_hunter_3_mutant_init} give_task_trapper_missing_hunter_3_2_descr, give_task_trapper_missing_hunter_3_1_descr
status_functor          = give_task_trapper_missing_hunter_3_status_f

condlist_0 = {+give_task_trapper_missing_hunter_3_done} complete
on_complete = %=reward_money(4250) =inc_faction_goodwill_to_actor(stalker:25) =inc_faction_goodwill_to_actor(freedom:15)%
;------------------------------------------------------------------------------------------
; Cordon QUESTLINES
;------------------------------------------------------------------------------------------

[give_sidorovich_railway_assault]
icon = ui_inGame2_Laboratoriya_X8
prior = 75
storyline = false

title = give_sidorovich_railway_assault_name
target =
descr = {+bandit_reinforcment_esc_6_8_dead} give_sidorovich_railway_assault_5_descr, {+bandit_guards_esc_6_8_dead} give_sidorovich_railway_assault_4_descr, {+esc_railway_assault_go} give_sidorovich_railway_assault_3_descr, {+esc_railway_assault_ready} give_sidorovich_railway_assault_2_descr, give_sidorovich_railway_assault_1_descr
status_functor = give_sidorovich_railway_assault_status_f


condlist_0 = {+esc_railway_assault_done} complete
on_init = %=clear_smart_terrain(esc_smart_terrain_5_9:true) =clear_smart_terrain(esc_smart_terrain_4_9:true) =create_squad(csky_assault_esc_5_7:esc_smart_terrain_5_7) =create_squad(csky_assault_esc_5_7_leader:esc_smart_terrain_5_7) =clear_smart_terrain(esc_smart_terrain_6_8:true) =create_squad(bandit_guards_esc_6_8:esc_smart_terrain_6_8)%
on_complete = %=reward_money(3500) =inc_faction_goodwill_to_actor(stalker:25)%

[give_sidorovich_railway_assault_2]
icon = ui_inGame2_Laboratoriya_X8
prior = 75
storyline = false

title = give_sidorovich_railway_assault_2_name
target =
descr = {+bandit_guards_esc_6_8_dead +bandit_reinforcment_esc_7_11_dead} give_sidorovich_railway_assault_2_3_descr, {+bandit_reinforcment_esc_7_11_dead} give_sidorovich_railway_assault_2_2_descr, give_sidorovich_railway_assault_2_1_descr
status_functor = give_sidorovich_railway_assault_2_status_f


condlist_0 = {+esc_railway_assault_done} complete
on_init = %=clear_smart_terrain(esc_smart_terrain_7_11:true) =clear_smart_terrain(esc_smart_terrain_5_9:true) =clear_smart_terrain(esc_smart_terrain_4_9:true) =create_squad(csky_assault_esc_5_7:esc_smart_terrain_5_7) =create_squad(csky_assault_esc_5_7_leader:esc_smart_terrain_5_7) =clear_smart_terrain(esc_smart_terrain_6_8:true) =create_squad(bandit_guards_esc_6_8:esc_smart_terrain_6_8)%
on_complete = %=reward_money(5000) =inc_faction_goodwill_to_actor(stalker:50)%

[give_task_bh_gutalin_1]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_task_bh_gutalin_1_name
descr = {+bh_gutalin_squad_dead} give_task_bh_gutalin_1_2_descr, give_task_bh_gutalin_1_1_descr
target = 
status_functor = give_task_bh_gutalin_1_status_f


condlist_0 = {+give_task_bh_gutalin_1_done} complete
on_init = 
on_complete = %=reward_money(2500) =reward_item(salmon) =reward_item(raisins) =reward_item(vodka_quality)%

[give_shlitzer_smuggling_1]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_shlitzer_smuggling_1_name
descr = {+bh_badger_deal_done} give_shlitzer_smuggling_1_3_descr, {+bh_shlitzer_smuggling_done} give_shlitzer_smuggling_1_2_descr, give_shlitzer_smuggling_1_1_descr
target = 
status_functor = give_shlitzer_smuggling_1_status_f


condlist_0 = {+give_shlitzer_smuggling_1_done} complete
condlist_1 = {+bh_shlitzer_fail_1} fail
on_init =  %=create_squad(bh_badger_squad:esc_smart_terrain_3_16)%
on_complete = %=reset_bh_badger_logic%

[give_shlitzer_smuggling_2]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_shlitzer_smuggling_2_name
descr = give_shlitzer_smuggling_2_1_descr
target = 
status_functor = give_shlitzer_smuggling_2_status_f


condlist_0 = {+give_shlitzer_smuggling_2_done} complete
condlist_1 = 
on_init =  
on_complete = 

[give_shlitzer_smuggling_3]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_shlitzer_smuggling_3_name
descr = give_shlitzer_smuggling_3_1_descr
target = 
status_functor = give_shlitzer_smuggling_3_status_f


condlist_0 = {+give_shlitzer_smuggling_3_done} complete
condlist_1 = 
on_init =  
on_complete = 
;------------------------------------------------------------------------------------------
; Marketshare QUESTLINES
;------------------------------------------------------------------------------------------
[give_meet_marlo_chris_quest_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 100
storyline = false

title = give_meet_marlo_chris_quest_1_name
target = 
descr = give_meet_marlo_chris_quest_1_descr

condlist_0 = {+give_meet_marlo_chris_quest_1_done} complete

[give_meet_marlo_chris_quest_2]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 100
storyline = false

title = give_meet_marlo_chris_quest_2_name
target = 
descr = give_meet_marlo_chris_quest_2_descr

condlist_0 = {+give_meet_marlo_chris_quest_2_done} complete

[give_meet_marlo_chris_quest_3]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 100
storyline = false

title = give_meet_marlo_chris_quest_3_name
target = 
descr = give_meet_marlo_chris_quest_3_descr

condlist_0 = {+give_meet_marlo_chris_quest_3_done} complete

[give_marlo_pda]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_marlo_pda_name
descr = {=actor_has_item(itm_pda_mercenary_1)} bring_pda_marlo_3_descr, {+zaton_mercenary_1_dead} bring_pda_marlo_2_descr, bring_pda_marlo_1_descr
target = 

condlist_0 = {+give_marlo_pda_done} complete
on_init = 
on_complete = %=reward_item(light_repair_kit) =reward_item(toolkit_r5)%

[give_intercept_courrier_1]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_intercept_courrier_1_name
descr = {=actor_has_item(itm_usb_mercenary_1)} bring_usb_marlo_2_descr, bring_usb_marlo_1_descr
target = 

condlist_0 = {+give_intercept_courrier_1_done} complete
on_init = %=clear_smart_terrain(jup_sim_2:true) =create_squad(zaton_mercenary_courrier_1_squad:jup_sim_2)%
on_complete = 

[give_intercept_courrier_2]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_intercept_courrier_2_name
descr = {+zaton_mercenary_2_delivered} bring_usb_marlo_2_2_descr, bring_usb_marlo_2_1_descr
target = 

condlist_0 = {+give_intercept_courrier_2_done} complete
on_init = %=create_squad(zaton_mercenary_2_squad:zat_b40_smart_terrain)%
on_complete = %=reward_money(7000)%



[give_intercept_delivery_1]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_intercept_delivery_1_name
descr = {+jupiter_mercenary_1_squad_dead} give_intercept_delivery_1_2_descr, give_intercept_delivery_1_1_descr
target = 


condlist_0 = {+give_intercept_delivery_1_done} complete
on_init = %=spawn_mercenary_supplies_1 =spawn_mercenary_supplies_2 =spawn_mercenary_supplies_3 =spawn_mercenary_supplies_4 =spawn_mercenary_supplies_5 =spawn_mercenary_supplies_6 =clear_smart_terrain(jup_b202:true) =clear_smart_terrain(jup_b207:true) =create_squad(jupiter_stalker_assault_leader_squad:jup_a6) =create_squad(jupiter_stalker_assault_1_squad:jup_a6) =create_squad(jupiter_mercenary_1_squad:jup_b207)%
on_complete = %=reward_money(7000)%

---- Stage 2 ----

[give_hostile_takeover_main]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_hostile_takeover_main_name
descr = give_hostile_takeover_main_descr
target = 

condlist_0 = {+give_hostile_takeover_main_done} complete
on_init = 
on_complete = 

[give_diplomatic_takeover_main]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_diplomatic_takeover_main_name
descr = give_diplomatic_takeover_main_descr
target = 

condlist_0 = {+give_diplomatic_takeover_main_done} complete
on_init = 
on_complete = 


;------------------------------------------------------------------------------------------
; Fake Artifact QUESTLINES
;------------------------------------------------------------------------------------------
[give_sidorovich_fake_artifact_1]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_sidorovich_fake_artifact_1_name
descr = give_sidorovich_fake_artifact_1_descr
target = 

condlist_0 = {+give_sidorovich_fake_artifact_done} complete
on_init = %=create_squad(ecologist_sidorovich_squad:esc_smart_terrain_2_12)%
on_complete = %=reward_money(25000)%

[give_tambov_debt_1]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_tambov_debt_1_name
descr = give_tambov_debt_1_descr
target = 

condlist_0 = {+bandit_debt_tambov_1_dead} complete
on_init = %=clear_smart_terrain(val_smart_terrain_4_0:true) =create_squad(bandit_debt_tambov_1:val_smart_terrain_4_0)%
on_complete =  %=tambov_debt_1_info()%

[give_tambov_debt_2]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_tambov_debt_2_name
descr = {+bandit_debt_tambov_2_dead} give_tambov_debt_2_2_descr, give_tambov_debt_2_1_descr
target = {+bandit_debt_tambov_2_dead} ecologist_sidorovich

condlist_0 = {+give_tambov_debt_2_done} complete
on_init = %=clear_smart_terrain(val_smart_terrain_4_0:true) =create_squad(bandit_debt_tambov_2:val_smart_terrain_4_0)%
on_complete = 


;------------------------------------------------------------------------------------------
; What a night QUESTLINES
;------------------------------------------------------------------------------------------

[give_what_a_night]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_what_a_night_name
descr = give_what_a_night_descr
target = 

condlist_0 = {+give_what_a_night_done} complete
on_init = %=spawn_blackout_knife =spawn_blackout_shotgun%
on_complete = 

[give_task_bezsonik_1]
icon = ui_icons_cordon22
prior = 80
storyline = false

title = give_task_bezsonik_1_name
descr = {+pack_dogs_bezsonik_1_dead}give_task_bezsonik_1_2_descr, give_task_bezsonik_1_1_descr
target = 
status_functor = give_task_bezsonik_1_status_f


condlist_0 = {+nr_bezsonik_0_done} complete
on_init = 
on_complete = 
;------------------------------------------------------------------------------------------
; Rush to the North
;------------------------------------------------------------------------------------------

[give_task_fanat_rookie_training_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 20
storyline = true

title = give_task_fanat_rookie_training_1_name
target = 
descr = {+nr_iliaz_3_done} give_task_fanat_rookie_training_1_7_descr, {+nr_ilyaz_artifact_back} give_task_fanat_rookie_training_1_6_descr, {+nr_iliaz_2_done} give_task_fanat_rookie_training_1_5_descr, {+nr_iliaz_arrived_1} give_task_fanat_rookie_training_1_4_descr, {+nr_iliaz_1_done} give_task_fanat_rookie_training_1_3_descr, {+nr_iliaz_0_done} give_task_fanat_rookie_training_1_2_descr, give_task_fanat_rookie_training_1_1_descr
status_functor = give_task_fanat_rookie_training_1_status_f

condlist_0 = {+nr_iliaz_4_done} complete
condlist_1 = {+nr_iliaz_squad_dead} fail
on_complete = %=inc_faction_goodwill_to_actor(stalker:100)%

[give_task_escort_sorokin_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 55
storyline = true

title = give_task_escort_sorokin_1_name
target = 
descr = {+sorokin_1_you_arrived} give_task_escort_sorokin_1_2_descr, give_task_escort_sorokin_1_1_descr
status_functor          = give_task_escort_sorokin_1_status_f

on_init = 
condlist_0 = {+nr_sorokin_2_done} complete
on_complete = 
condlist_1 = {+nr_sorokin_dead} fail

[give_task_join_scamlok_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 140
storyline = true

title = give_task_join_scamlok_1_name
target = 
descr = {+nr_fool_you_arrived} give_task_join_scamlok_1_2_descr, give_task_join_scamlok_1_1_descr
status_functor          = give_task_join_scamlok_1_status_f

on_init = 
condlist_0 = {+give_task_join_scamlok_1_done} complete
on_complete = 

	;--------------------;
	; Strange Meat  	 ;
	;--------------------;
[give_task_nr_strange_meat]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 140
storyline = true

title = give_task_nr_strange_meat_name
target = 
descr = give_task_nr_strange_meat_1_descr
status_functor          = give_task_nr_strange_meat_status_f

on_init = %=spawn_yak_dead%
condlist_0 = {+give_task_nr_strange_meat_done} complete
on_complete = 	

	;--------------------;
	; Like Rats ina Trap ;
	;--------------------;


[give_like_rats_trap_1]
icon = ui_iconsTotal_bar_crazy_veterans_quest
prior = 75
storyline = false

title = give_like_rats_trap_1_name
target = 
descr = give_like_rats_trap_1_1_descr
status_functor          = give_like_rats_trap_1_status_f

on_init = %=clear_smart_terrain(agr_u_bandits:true) =create_squad(bh_agr_u_bandits_leader_squad:agr_u_bandits) =create_squad(bh_agr_u_bandits_1_squad:agr_u_bandits)%
condlist_0 = {+give_like_rats_trap_1_done} complete
on_complete = 