12 lines
482 B
Plaintext
12 lines
482 B
Plaintext
function on_xml_read()
|
|
RegisterScriptCallback("on_xml_read", function(xml_file_name, xml_obj)
|
|
local xml_to_change = [[gameplay\info_mlr.xml]]
|
|
if xml_file_name == xml_to_change then
|
|
local renegade_info_mlr_profile = [[
|
|
<info_portion id="mar_renegade_trader_over"></info_portion>
|
|
<info_portion id="mar_renegade_mechanic_over"></info_portion>
|
|
]]
|
|
xml_obj:insertFromXMLString(renegade_info_mlr_profile)
|
|
end
|
|
end)
|
|
end |