Divergent/mods/Redone Limansk and Hospital/gamedata/scripts/modxml_greh_info_mlr_dxml.s...

11 lines
422 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 greh_info_mlr_profile = [[
<info_portion id="meet_red_greh_guide_over"></info_portion>
]]
xml_obj:insertFromXMLString(greh_info_mlr_profile)
end
end)
end