• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days (this includes any time you see the message "account suspended"). For more updates please see here.

Ice Free Coasts!

Joined
Jul 31, 2014
Messages
836
Very simple (1 line of code) mod component that purposefully removes the (in my opinion) unnecessary ice clutter around polar landmasses. This mod prevents the generation of sea ice on any coastal tile. This means that:

- Most islands and landmasses should now be navigable by sea - fewer ice-locked islands (although smaller ones at the very edge of the map will still exist)
- North-West (or South-West... or South-East.... you get the idea) passages are open for business! Sail around entire continents without fear of running into an ice-floe!
- No more spawning on the coast of icelocked seas or bays!

Warning: This mod uses (and is essentially just a) modified FeatureGenerator.lua file.... therefore, it is incompatible with any other mods that also modifies this file, or any map-scripts that has a custom override for
Code:
function FeatureGenerator:AddIceAtPlot(plot, iX, iY, lat)

Download from steam, or from the attachment on this post.
 

Attachments

Doesn't

Code:
DELETE FROM Feature_TerrainBooleans
  WHERE FeatureType='FEATURE_ICE'
  AND TerrainType='TERRAIN_COAST';

have the same effect then?
 
I should think so...?

I just put the change at

Code:
if(plot:CanHaveFeature(self.featureIce) and terrainType == TerrainTypes.TERRAIN_OCEAN and plot:IsAdjacentToLand() == false) then

since I can modify/control other factors such as latitude in the same place.... the issue that arises is compatibility with mods that also modifies the function, or has its own FeatureGenerator.lua file.
 
Barathor has a mod [https://steamcommunity.com/sharedfiles/filedetails/?id=85683489] that reduces the overall amount of ice generated across the map. Is this mod compatible with that? Or should one choose between them due to incompatibilites?

Hey Makenshi;

The maps in "Less Ice on Maps" will overwrite the effects of this mod in its current state, as Barathor overrides
Code:
function FeatureGenerator:AddIceAtPlot(plot, iX, iY, lat)
in the mapscripts themselves.
 
Back
Top Bottom