diff --git a/mods/CORE/MapGen/src/MapGen/Layer.lua b/mods/CORE/MapGen/src/MapGen/Layer.lua index 135d585..4ebf7f8 100644 --- a/mods/CORE/MapGen/src/MapGen/Layer.lua +++ b/mods/CORE/MapGen/src/MapGen/Layer.lua @@ -73,9 +73,9 @@ local Layer = { ---@field triangulationLandscapeFile string ---@field triangulationTempFile string ---@field triangulationHumidityFile string ----@field landscapeMapScale number ----@field tempMapScale number ----@field humidityMapScale number +---@field landscapeMapScale integer +---@field tempMapScale integer +---@field humidityMapScale integer ---@param self MapGen.Layer ---@param value number @@ -91,7 +91,7 @@ end ---**Note:** If the colors of the new peak and the existing one at the same coordinates ---are different, an error will be called. ---@param def MapGen.PeakDef ----@param scale number +---@param scale integer ---@return MapGen.Peak function Layer:registerPeak(def, scale) assert(def.pos ~= nil) @@ -130,7 +130,7 @@ end ---@param fileName string ---@param category MapGen.Layer.Category ----@param scale number +---@param scale integer function Layer:getTriaglesFromFile(fileName, category, scale) local file = io.open(core.get_modpath(core.get_current_modname())..'/maps/'..fileName, 'r') assert(file ~= nil)