SU Library (0.6.4)
Installation
Version überprüfen
function new_game()
-- don't add anything in this function above these lines
if SU then
local requiredVersion = "0.3.0" -- TODO change this to the version your map-script requires
if SU.VersionOK(requiredVersion) == 0 then
dbg.stm("SU Library Version requirement not met! The Map-Script needs at least Version "..requiredVersion..", you have Version "..SU.VERSION.."!")
dbg.stm("Update (and restart The Settlers IV via) Settlers United to get the latest Version installed.")
return
end
else
dbg.stm("SU Library is missing!")
dbg.stm("Update (and restart The Settlers IV via) Settlers United to get the latest Version installed.")
return
end
-- SU Library loaded and required Version fulfilled
-- add your normal code here...
endLast updated