function on_xml_read() RegisterScriptCallback("on_xml_read", function(xml_file_name, xml_obj) local xml_to_change = [[gameplay\character_desc_red_forest.xml]] if xml_file_name == xml_to_change then local greh_guide_profile = [[ red_greh_guide_name ui_inGame2_bandit_6d Детальная No information is available. red_greh_guide grehstalker_terrain 8008 666 characters_voice\human\greh_1\ actors\stalker_greh\stalker_greh_1b_face_06 [spawn] \n wpn_vintorez_1pn93 = 1 \n ammo_9x39_pab9 = 2 \n wpn_gsh18 = 1 \n ammo_9x19_fmj = 2 \n #include "gameplay\supplies\character_items.xml" #include "gameplay\supplies\character_food.xml" #include "gameplay\supplies\character_drugs.xml" #include "gameplay\character_criticals.xml" red_greh_guide_start meet_red_greh_guide travel_red_greh_guide meet_red_greh_guide_list red_greh_guide_background actor_break_dialog ]] xml_obj:insertFromXMLString(greh_guide_profile) end end) end