Sid Meier's Civilization V

Sid Meier's Civilization V

934 ratings
Krakatoa Fix
File Size
0.002 MB
Nov 19, 2012 @ 1:25am
1 Change Note ( view )

Subscribe to download
Krakatoa Fix

This mod fixes the placement requirements of Krakatoa to increase its chances of being a workable tile.

This one has bugged me for a while. In the default game, Krakatoa usually spawns out in the middle of the vast ocean and wastes a good natural wonder slot for the given map being played (and it spawns often!). Not only that, but it wastes resources as well when they spawn around it in the middle of nowhere.

First, the reason it does this is due to an error in the code. "AdjacentTilesRequireShallowWater" is set to true, yet its parent tag"AdjacentTilesCareAboutTerrainTypes" remains at its default value of false and overrides it. This is why the wonder spawns out in the middle of the ocean and why, with logging enabled, it lists a ridiculous number of possible candidates for this wonder's placement (it's counting lots of ocean tiles). The adjacent tiles around Krakatoa are only all shallow water because of "SetAdjacentTilesToShallowWater" which converts them once the wonder is plopped into the ocean.

Setting "AdjacentTilesCareAboutTerrainTypes" to true basically fixed that issue alone. But I went a step further and made the requirements slightly more selective to better ensure that the volcano spawns more often at 2 tiles from land and has a much better chance of becoming a workable tile.

So, I added another parameter which only lets Krakatoa spawn on shallow water tiles (coast) instead of just any water tile. This prevents it from spawning on ocean adjacent to the coast and potentially being unworkable (4 tiles from land). Also, I increased the required initial number of shallow water tiles from 1 to 4. This ensures that Krakatoa doesn't spawn way out on the tip of coastal tiles branching out into the deep water and helps keep it closer to land.
< >
SCORPEANrtd Dec 13 @ 2:10pm 
Causes crashing when I reload saves
star Sep 4, 2016 @ 2:43pm 
crash on load/restart game

[3076535.045] no such column: Type
[3076535.045] In Query - select * from Natural_Wonder_Placement where Type = ? LIMIT 1
420Mango Jul 3, 2016 @ 6:20am 
Get Gibraltar, Reef, and Krakatoa Fix mod instead. Its by the same person.
Everything Jun 19, 2016 @ 9:34pm 
i've played almost 700 hours of this game and never seen this natural wonder. geez
The Grape Train May 11, 2016 @ 2:33pm 
Could we get a direct download link for Mac please? I'd love to download this mod and your other ones but I'm afraid I can't on Mac without a direct link!
Dog Flower Apr 15, 2016 @ 11:29pm 
Awesome fix!!
KrimsonBlur Nov 18, 2015 @ 11:19am 
Very nice fix !!
Johnny Foodstamp Jul 29, 2015 @ 5:38am 
I was playing a game earlier in the week and I had Krakatoa available to me on a small island city. Ever since I've read it's rare to get. Go me! By the way, it's only 5 science, which was nice but by no means as good as some of the other mountain wonders.
codystrong Jan 17, 2015 @ 12:30pm 
Mac download??
Ian Jan 4, 2015 @ 2:58pm 
Very simple concept fixing a massively irritating issue. Literally no reason not to run this mod. Thank you Barathor