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

19 lines
656 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\npc_profile_mlr.xml]]
if xml_file_name == xml_to_change then
local renegade_profile = [[
<character id="mar_renegade_trader">
<class>mar_renegade_trader</class>
<specific_character>mar_renegade_trader</specific_character>
</character>
<character id="mar_renegade_mechanic">
<class>mar_renegade_mechanic</class>
<specific_character>mar_renegade_mechanic</specific_character>
</character>
]]
xml_obj:insertFromXMLString(renegade_profile)
end
end)
end