function on_xml_read() RegisterScriptCallback("on_xml_read", function(xml_file_name, xml_obj) local xml_to_change = [[gameplay\character_desc_marsh.xml]] if xml_file_name == xml_to_change then local renegade_trader_profile = [[ mar_renegade_trader_name ui_inGame2_bandit_1 Детальная No information is available. >mar_renegade_trader renegade [spawn] \n wpn_ak74u \n ammo_5.45x39_fmj = 1 \n wpn_hpsa \n ammo_9x19_fmj = 1 \n #include "gameplay\supplies\character_items_nd.xml" #include "gameplay\supplies\character_food.xml" #include "gameplay\supplies\character_drugs.xml" #include "gameplay\character_criticals.xml" stalker_terrain characters_voice\human\bandit_1\ actors\stalker_renegade\stalker_renegade_1a_face_3 val_smart_terrain_7_4_bandit_trader_stalker_start_dialog dm_init_trader drx_sl_task_completed_dialog dm_ordered_task_completed_dialog drx_sl_val_smart_terrain_7_4_bandit_trader_stalker_meet_dialog dm_ordered_task_dialog buy_route debt_register debt_pay_off actor_break_dialog mar_renegade_mechanic_name ui_inGame2_band_2_mask Детальная No information is available. mar_renegade_mechanic renegade [spawn] \n wpn_ak74u \n ammo_5.45x39_fmj = 1 \n wpn_hpsa \n ammo_9x19_fmj = 1 \n #include "gameplay\supplies\character_items_nd.xml" #include "gameplay\supplies\character_food.xml" #include "gameplay\supplies\character_drugs.xml" #include "gameplay\character_criticals.xml" stalker_terrain 1 characters_voice\human\bandit_1\ actors\stalker_renegade\stalker_renegade_leader val_smart_terrain_7_3_bandit_mechanic_stalker_start_dialog dm_init_trader dm_init_mechanic dm_ordered_task_completed_dialog dm_broker_dialog drx_sl_mechanic_task_dialog dm_tech_repair dm_encrypted_pda actor_break_dialog ]] xml_obj:insertFromXMLString(renegade_trader_profile) end end) end