function on_xml_read() RegisterScriptCallback("on_xml_read", function(xml_file_name, xml_obj) if xml_file_name == "ui\\map_spots.xml" or xml_file_name == "ui\\map_spots_16.xml" then xml_obj:insertFromXMLString([[ ui_maid_water_spot ui_maid_water_spot ]]) end end) end