Islan map gen small issue with water level

Skeeve_Sunshine

Chieftain
Joined
Jun 13, 2009
Messages
58
Island_Plates.lua has a small issue where "high" water level is treated as "low" in the code.

Open the file, got to "local sea level" and swap accordingly water_percent_modifiers from 4 to -4.

Ending up with the section looking like this:

-- local sea_level
local sea_level = MapConfiguration.GetValue("sea_level");
if sea_level == 1 then -- Low Sea Level
water_percent_modifier = -4 -- changed from 4 to -4
elseif sea_level == 2 then -- Normal Sea Level
water_percent_modifier = 0;
elseif sea_level == 3 then -- High Sea Level
water_percent_modifier = 4; -- changed from -4 to 4
else
water_percent_modifier = TerrainBuilder.GetRandomNumber(9, "Random Sea Level - Lua") - 4;
end
 
as of today (australian patch), bug is still present.
Dunno where we should report this.
 
Top Bottom