Gibraltar, Reef, and Krakatoa Fixes

If you liked this item, please rate it up on Steam Workshop page.

Author: Barrowulf

Last revision: 29 Aug, 2013 at 14:25 UTC

File size: 4.62 KB

On Steam Workshop

Description:

::::::::: FEATURES :::::::::

  • Prevents Gibraltar from spawning on small islands; especially single-tile ones which may render it unworkable! (special thanks to whoward69 for help)
  • Prevents Gibraltar from spawning next to ice, which I believe looks really bad.
  • Adds a land check for the Reef so it doesn’t spawn too far out into the sea and become unworkable.
  • Adds an ice check for the upper adjacent plots of the Reef so its upper half doesn’t become adjacent to ice. (The bottom half already had it, but the top didn’t.)
  • Adds a requirement that the core tiles of the Reef must initially be water as well so that resources aren’t wasted around it and out in the sea. (When resources are placed, the game still considers the converted tile a land tile.)
  • Adds a latitude check for all water-based natural wonders in this function. Unlike land-based NW’s, these are too flexible and need more restrictions. Normally, tundra starts at a latitude of 0.6 and snow and ice start appearing as you increase the latitude up to 1.0. The Reef and Krakatoa will only be placed in tiles below a latitude of 0.5. With Gibraltar I was a little more flexible; it will only be placed below a latitude of 0.6. (This now makes the ice checks above obsolete, but I kept them in for other modders to use.)
  • Adds Krakatoa as a custom method so its conditions can be controlled better.
  • Krakatoa now only spawns near islands and smaller landmasses. (The islands need to at least be larger than 2 tiles too. It won’t spawn next to measly 1-tile or 2-tile islands.)