Divergent/mods/Redone Collection/gamedata/scripts/modxml_renegade_info_awr_dx...

13 lines
554 B
Plaintext
Raw Permalink Normal View History

2024-03-17 20:18:03 -04:00
function on_xml_read()
RegisterScriptCallback("on_xml_read", function(xml_file_name, xml_obj)
local xml_to_change = [[gameplay\info_awr.xml]]
if xml_file_name == xml_to_change then
local renegade_info_awr_profile = [[
<info_portion id="mar_renegade_mechanic_dead"></info_portion>
<info_portion id="mar_renegade_mechanic_on_table"></info_portion>
<info_portion id="mar_renegade_mechanic_access"></info_portion>
]]
xml_obj:insertFromXMLString(renegade_info_awr_profile)
end
end)
end