Divergent/mods/Redone Limansk and Hospital/gamedata/scripts/modxml_greh_land_info_dxml....

13 lines
444 B
Plaintext
Raw Permalink Normal View History

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_land_info = [[
<string id="st_katacomb_smart_terrain_name_land">
<text>Deserted Hospital</text>
</string>
]]
xml_obj:insertFromXMLString(greh_land_info)
end
end)
end