function give_begun_quest() 
task_manager.get_task_manager():give_task("quest_begun_give") 
end 
function is_has_begun() 
if db.actor:object("energy_drink") then 
return true 
end 
return false 
end 
function transfer_begun(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "energy_drink") 
end

function quest_mil_texnik_give() 
task_manager.get_task_manager():give_task("quest_mil_texnik_give") 
end 
function is_has_mil_texnik() 
if db.actor:object("toolkit_3") then 
return true 
end 
return false 
end 
function transfer_mil_texnik(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "toolkit_3") 
end 

function quest_mil_texnik_1_give() 
task_manager.get_task_manager():give_task("quest_mil_texnik_1_give") 
end 
function is_has_mil_texnik_1() 
if db.actor:object("jup_b1_half_artifact") then 
return true 
end 
return false 
end 
function transfer_mil_texnik_1(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "jup_b1_half_artifact") 
end 

function spawn_mil_art_1()
alife():create("jup_b1_half_artifact",vector():set(-74.970458984375,-11.311598777771,39.189247131348),222952,1375)
end

function quest_mil_texnik_2_give() 
task_manager.get_task_manager():give_task("quest_mil_texnik_2_give") 
end 
function is_has_mil_texnik_2() 
if db.actor:object("zat_b33_safe_container") then 
return true 
end 
return false 
end 
function transfer_mil_texnik_2(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "zat_b33_safe_container") 
end 

function spawn_mil_art_2()
alife():create("zat_b33_safe_container",vector():set(-187.43629455566,-12.484899520874,37.2668800354),125946,1327)
end

function quest_mil_loki_give() 
task_manager.get_task_manager():give_task("quest_mil_loki_give") 
end 
function is_has_mil_loki() 
if db.actor:object("zat_b40_notebook") then 
return true 
end 
return false 
end 
function transfer_mil_loki(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "zat_b40_notebook") 
end 

function give_deg_1_quest() 
task_manager.get_task_manager():give_task("quest_deg_1_give") 
end 
function is_has_deg_1() 
if db.actor:object("zat_b57_gas") then 
return true 
end 
return false 
end 
function transfer_deg_1(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "zat_b57_gas") 
end

function mil_seva(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "scientific_outfit", "in",1) 
end
function mil_slem(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "helm_battle", "in",1) 
end
function mil_bulat(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "military_outfit", "in",1) 
end
function mil_eczo(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "exo_outfit", "in",1) 
end


function mil_snip(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "wpn_m82", "in",1) 
end
function mil_snip_1(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "ammo_12.7x99_fmj", "in",5) 
end

function mil_avto(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "wpn_sig550", "in",1) 
end
function mil_avto_1(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "ammo_5.56x45_ap", "in",10) 
end
function mil_avto_2(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "wpn_addon_scope_susat_dusk", "in",1) 
end
function mil_avto_3(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "wpn_addon_grenade_launcher_m203", "in",1) 
end
function mil_gran(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "wpn_mgl", "in",1) 
end
function mil_gran_1(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "ammo_m209", "in",30) 
end

function give_deg_2_quest() 
task_manager.get_task_manager():give_task("quest_deg_2_give") 
end 
function is_has_deg_2() 
if db.actor:object("jup_b9_blackbox") then 
return true 
end 
return false 
end 
function transfer_deg_2(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "jup_b9_blackbox") 
end

function spawn_mil_art_5()
alife():create("jup_b9_blackbox",vector():set(-32.791622161865,-20.129873275757,364.98248291016),259832,1386)
end

function give_torg_1_quest() 
task_manager.get_task_manager():give_task("quest_torg_1_give") 
end 
function is_has_torg_1() 
if db.actor:object("jup_b10_ufo_memory_2") then 
return true 
end 
return false 
end 
function transfer_torg_1(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "jup_b10_ufo_memory_2") 
end

function spawn_mil_torg_1()
alife():create("jup_b10_ufo_memory_2",vector():set(59.348098754883,-15.136770248413,374.43157958984),336510,1440)
end

function give_torg_2_quest() 
task_manager.get_task_manager():give_task("quest_torg_2_give") 
end 
function is_has_torg_2() 
if db.actor:object("bread") then 
return true 
end 
return false 
end 
function transfer_torg_2(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "bread") 
end
function spawn_mil_torg_2()
alife():create("af_night_star",vector():set(103.36656188965,-12.727962493896,191.98704528809),361570,1447)
end

function give_torg_3_quest() 
task_manager.get_task_manager():give_task("quest_torg_3_give") 
end 
function is_has_torg_3() 
if db.actor:object("jup_b206_plant") then 
return true 
end 
return false 
end 
function transfer_torg_3(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "jup_b206_plant") 
end
function spawn_mil_torg_3()
alife():create("jup_b206_plant",vector():set(123.7329788208,-12.491623878479,177.20211791992),378024,1459)
end

function give_torg_4_quest() 
task_manager.get_task_manager():give_task("quest_torg_4_give") 
end 
function is_has_torg_4() 
if db.actor:object("pda_mil_3") then 
return true 
end 
return false 
end 
function transfer_torg_4(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "pda_mil_3") 
end

function mil_avto0(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "af_compass", "in",1) 
end

function give_torg_5_quest() 
task_manager.get_task_manager():give_task("quest_torg_5_give") 
end 
function is_has_torg_5() 
if db.actor:object("zat_a23_labx8_key") then 
return true 
end 
return false 
end 
function transfer_torg_5(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "zat_a23_labx8_key") 
end

function give_anti_2_quest() 
task_manager.get_task_manager():give_task("quest_anti_2_give") 
end 
function is_has_anti_2() 
if db.actor:object("pda_anti_2") then 
return true 
end 
return false 
end 
function transfer_anti_2(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "pda_anti_2") 
end
function spawn_anti_2()
alife():create("pda_anti_2",vector():set(69.713409423828,-4.6361384391785,17.922986984253),346629,1436)
end

function give_anti_3_quest() 
task_manager.get_task_manager():give_task("quest_anti_3_give") 
end 
function is_has_anti_3() 
if db.actor:object("pda_anti_3") then 
return true 
end 
return false 
end 
function transfer_anti_3(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "pda_anti_3") 
end
function spawn_anti_3()
alife():create("pda_anti_3",vector():set(74.604995727539,-5.7518939971924,17.501317977905),346629,1436)
end

function give_anti_4_quest() 
task_manager.get_task_manager():give_task("quest_anti_4_give") 
end 
function is_has_anti_4() 
if db.actor:object("pda_anti_4") then 
return true 
end 
return false 
end 
function transfer_anti_4(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "pda_anti_4") 
end
function spawn_anti_4()
alife():create("pda_anti_4",vector():set(14.030359268188,-5.8369889259338,12.875541687012),301298,1436)
end

function give_anti_5_quest() 
task_manager.get_task_manager():give_task("quest_anti_5_give") 
end 
function is_has_anti_5() 
if db.actor:object("pda_anti_5") then 
return true 
end 
return false 
end 
function transfer_anti_5(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "pda_anti_5") 
end
function spawn_anti_5()
alife():create("pda_anti_5",vector():set(-26.090747833252,-7.3629217147827,-25.005493164063),265572,1396)
end

function give_anti_6_quest() 
task_manager.get_task_manager():give_task("quest_anti_6_give") 
end 
function is_has_anti_6() 
if db.actor:object("pda_anti_6") then 
return true 
end 
return false 
end 
function transfer_anti_6(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "pda_anti_6") 
end
function spawn_anti_6()
alife():create("pda_anti_6",vector():set(-45.68253326416,-7.0515737533569,32.148616790771),247706,1375)
end

function give_fire_quest() 
task_manager.get_task_manager():give_task("quest_fire_give") 
end 
function is_has_fire() 
if db.actor:object("ammo_5.45x39_fmj") then 
return true 
end 
return false 
end 
function transfer_fire(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "ammo_5.45x39_fmj") 
end

function give_doctor_1_quest() 
task_manager.get_task_manager():give_task("quest_doctor_1_give") 
end 
function is_has_doctor_1() 
if db.actor:object("drug_anabiotic") then 
return true 
end 
return false 
end 
function transfer_doctor_1(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "drug_anabiotic") 
end
function spawn_mil_ana()
alife():create("drug_anabiotic",vector():set(-194.25839233398,-15.047431945801,366.49194335938),123071,1334)
end

function mar_krov_1_old_hunt_quest_start()
task_manager.get_task_manager():give_task("mar_krov_1_old_hunt_quest_give")
end
function is_has_mar_krov_1_old_dead(first_speaker, second_speaker)
if has_alife_info("mar_krov_1_old_dead")
and not has_alife_info("mar_krov_1_old_hunt_quest_done") then
return false
end
return true
end

function spawn_mil_naem_1() 
local x= -130.56735229492
local y= 1.0720740556717
local z= 25.929481506348
local level_vertex= 175801
local game_vertex_id= 1343
alife():create("mil_naem_1",vector():set(x,y,z),level_vertex,game_vertex_id) 
end 
 
function save_variable(variable_name, value) 
xr_logic.pstor_store(db.actor, variable_name, value) 
end 
function load_variable(variable_name, value_if_not_found) 
return xr_logic.pstor_retrieve(db.actor, variable_name, value_if_not_found) 
end

function mil_naemnik_start()
task_manager.get_task_manager():give_task("mil_naemnik_give")
end
function mil_naemnik_dead(first_speaker, second_speaker)
if has_alife_info("mil_naemnik_dead")
and not has_alife_info("mil_naemnik_done") then
return false
end
return true
end

function quest_mil_serega_1_give() 
task_manager.get_task_manager():give_task("quest_mil_serega_1_give") 
end 
function is_has_mil_serega_1() 
if db.actor:object("mil_serega_1") then 
return true 
end 
return false 
end 
function transfer_mil_serega_1(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "mil_serega_1") 
end 
function mil_snip_69(first_speaker, second_speaker) 
dialogs.relocate_item_section(second_speaker, "mil_serega_1", "in",1) 
end

function give_banda_1_quest() 
task_manager.get_task_manager():give_task("quest_banda_1_give") 
end 
function is_has_banda_1() 
if db.actor:object("mil_serega_2") then 
return true 
end 
return false 
end 
function transfer_banda_1(first_speaker, second_speaker) 
dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "mil_serega_2") 
end

function spawn_mil_banda_1()
alife():create("mil_serega_2",vector():set(-26.000190734863,-6.4524884223938,-28.272029876709),265570,1395)
end

local ObjId=0
function esc_yan_4()
    local obj= alife():create("pda_yan_44",vector():set(-385.34442138672,-240.304132461548,1.1647497415543),1358,1269)
    local text = "Jantarba"
    level.map_add_object_spot_ser(obj.id, "level_changer_up", text)
    ObjId=obj.id 
end

local ObjId=0
function esc_yan_5()
    local obj= alife():create("pda_yan_55",vector():set(-29.150459289551,-1.77922403812408,-18.120147705078),50857,1674)
    local text = "A Katonai raktárakhoz"
    level.map_add_object_spot_ser(obj.id, "level_changer_up", text)
    ObjId=obj.id 
end

local ObjId=0
function esc_yan_6()
    local obj= alife():create("pda_yan_66",vector():set(4.9091935157776,-200.3315110206604,-11.046157836914),63399,1682)
    local text = "A 'földalatti'-hoz"
    level.map_add_object_spot_ser(obj.id, "level_changer_up", text)
    ObjId=obj.id 
end

function spawn_mil_notes_1()
alife():create("zat_b40_notebook",vector():set(22.53472328186,17.42677116394,678.03375244141),332014,1087)
end

function spawn_mil_gas_1()
alife():create("zat_b57_gas",vector():set(115.43864440918,-19.292730331421,-110.71146392822),4228,1216)
end

function spawn_mil_karta_1()
alife():create("zat_a23_labx8_key",vector():set(-82.851455688477,0.51214122772217,115.02213287354),108969,718)
end

function spawn_mil_ins_1()
alife():create("toolkit_3",vector():set(6.6764373779297,5.3918690681458,259.25341796875),206861,713)
end

function spawn_mil_ana_1()
alife():create("drug_anabiotic",vector():set(-193.74160766602,-14.935211181641,379.57238769531),123626,1334)
end

function spawn_esc_boec_1() 
local x= -101.03317260742
local y= -20.540756225586
local z= 251.76895141602
local level_vertex= 202268
local game_vertex_id= 1355
alife():create("esc_boec_1",vector():set(x,y,z),level_vertex,game_vertex_id) 
end 
 
function save_variable(variable_name, value) 
xr_logic.pstor_store(db.actor, variable_name, value) 
end 
function load_variable(variable_name, value_if_not_found) 
return xr_logic.pstor_retrieve(db.actor, variable_name, value_if_not_found) 
end

function spawn_esc_boec_2() 
local x= -92.877212524414
local y= -20.252674102783
local z= 249.47477722168
local level_vertex= 208951
local game_vertex_id= 1355
alife():create("esc_boec_2",vector():set(x,y,z),level_vertex,game_vertex_id) 
end 
 
function save_variable(variable_name, value) 
xr_logic.pstor_store(db.actor, variable_name, value) 
end 
function load_variable(variable_name, value_if_not_found) 
return xr_logic.pstor_retrieve(db.actor, variable_name, value_if_not_found) 
end

function spawn_esc_boec_3() 
local x= -98.796287536621
local y= -19.948734283447
local z= 234.22033691406
local level_vertex= 204074
local game_vertex_id= 1360
alife():create("esc_boec_1",vector():set(x,y,z),level_vertex,game_vertex_id) 
end 
 
function save_variable(variable_name, value) 
xr_logic.pstor_store(db.actor, variable_name, value) 
end 
function load_variable(variable_name, value_if_not_found) 
return xr_logic.pstor_retrieve(db.actor, variable_name, value_if_not_found) 
end

function spawn_esc_boec_4() 
local x= -75.516395568848
local y= -19.254608154297
local z= 258.70932006836
local level_vertex= 224425
local game_vertex_id= 1371
alife():create("esc_boec_2",vector():set(x,y,z),level_vertex,game_vertex_id) 
end 
 
function save_variable(variable_name, value) 
xr_logic.pstor_store(db.actor, variable_name, value) 
end 
function load_variable(variable_name, value_if_not_found) 
return xr_logic.pstor_retrieve(db.actor, variable_name, value_if_not_found) 
end
function spawn_prizraki_1()
alife():create("pri_prizrak_1",vector():set(-58.651515960693,-16.653789520264,100.22607421875),6181,874)
end

local ObjId=0
function esc_yan_7()
    local obj= alife():create("pda_yan_77",vector():set(105.1360168457,200.009405899048,50.708351135254),370367,1451)
    local text = "A Kórházhoz"
    level.map_add_object_spot_ser(obj.id, "level_changer_up", text)
    ObjId=obj.id 
end

local ObjId=0
function esc_yan_8()
    local obj= alife():create("pda_yan_88",vector():set(-149.79695129395,-50.50736010074615,-405.50653076172),54049,800)
    local text = "A Katonai raktárakhoz"
    level.map_add_object_spot_ser(obj.id, "level_changer_up", text)
    ObjId=obj.id 
end

local ObjId=0
function esc_yan_9()
    local obj= alife():create("pda_yan_99",vector():set(-77.961791992188,-250.30302760004997,100.30059051514),112297,822)
    local text = "Az X8 laboratóriumba"
    level.map_add_object_spot_ser(obj.id, "level_changer_up", text)
    ObjId=obj.id 
end

local ObjId=0
function esc_yan_91()
    local obj= alife():create("pda_yan_91",vector():set(23.480537414551,-200.3272037506104,127.08541870117),229060,757)
    local text = "A búvóhelyre"
    level.map_add_object_spot_ser(obj.id, "level_changer_up", text)
    ObjId=obj.id 
end

local ObjId=0
function esc_yan_911()
    local obj= alife():create("pda_yan_911",vector():set(143.90971374512,-200.42005413770676,433.7900390625),374180,792)
    local text = "Energia-állomáshoz"
    level.map_add_object_spot_ser(obj.id, "level_changer_up", text)
    ObjId=obj.id 
end

function spawn_biblio()
alife():create("cat_strong",vector():set(90.195571899414,0.0094906091690063,409.59994506836),40379,1465)
end
------------------------------------------------Copyright, razoromon------------------------------------------------------------------------
