civ_map_generator 0.1.10

A civilization map generator
Documentation
[
    // Natural Wonders
    {
        "name": "Great Barrier Reef",
        "food": 2,
        "production": 1,
        "gold": 1,
        "science": 2,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill","Water"],
            "baseTerrain": ["Grassland","Plain","Desert","Tundra","Snow","Coast","Ocean"],
            "extraConditions": [
                "Must be adjacent to [1] to [6] [Coast] tiles",
                "Must be adjacent to [6] [Water] tiles",
                "Occurs on latitudes from [10] to [70] percent of distance equator to pole",
                "Occurs in groups of [2] to [2] tiles"
            ]
        },
        "turnsIntoTerrain": {
            "terrainType": "Water",
            "baseTerrain": "Coast"
        },
        "impassable": true,
        "unbuildable": true,
        "weight": 10
    },
    {
        "name": "Old Faithful",
        "science": 2,
        "happiness": 3,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill"],
            "baseTerrain": ["Grassland","Plain","Desert","Tundra","Snow"],
            "extraConditions": [
                "Must be adjacent to [0] [Coast] tiles",
                "Must be adjacent to [0] to [4] [Mountain] tiles",
                "Must be adjacent to [3] to [6] [Elevated] tiles",
                "Must be adjacent to [0] to [3] [Desert] tiles",
                "Must be adjacent to [0] to [3] [Tundra] tiles"
            ]
        },
        "turnsIntoTerrain": {
            "terrainType": "Mountain"
        },
        "impassable": true,
        "unbuildable": true,
        "weight": 10
    },
    {
        "name": "El Dorado",
        "culture": 5,
        "overrideStats": true,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill"],
            "baseTerrain": ["Grassland","Plain","Desert","Tundra","Snow"],
            "extraConditions": [
                "Must be adjacent to [0] [Coast] tiles",
                "Must be adjacent to [1] to [6] [Jungle] tiles"
            ]
        },
        "turnsIntoTerrain": {
            "terrainType": "Flatland",
            "baseTerrain": "Plain"
        },
        "impassable": true,
        "unbuildable": true,
        "uniques": [
            "Grants 500 Gold to the first civilization to discover it"
        ],
        "weight": 2
    },
    { // This will count as "Fresh water" in civ 6
        "name": "Fountain of Youth",
        "happiness": 10,
        "overrideStats": true,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill"],
            "baseTerrain": ["Grassland","Plain","Desert","Tundra","Snow"],
            "extraConditions": [
                "Must be adjacent to [0] [Coast] tiles"
            ]
        },
        "turnsIntoTerrain": {
            "terrainType": "Flatland",
            "baseTerrain": "Plain"
        },
        "impassable": true,
        "unbuildable": true,
        "uniques": [
            "Grants [Rejuvenation] ([all healing effects doubled]) to adjacent [{Military} {Land}] units for the rest of the game",
            "Tile provides yield without assigned population"
        ],
        "weight": 1
    },
    {
        "name": "Grand Mesa",
        "production": 2,
        "gold": 3,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill"],
            "baseTerrain": ["Plain","Desert","Tundra"],
            "extraConditions": [
                "Must be adjacent to [0] [Coast] tiles",
                "Must be adjacent to [0] [Grassland] tiles",
                "Must be adjacent to [2] to [6] [Hill] tiles",
                "Must be adjacent to [0] to [2] [Mountain] tiles"
            ]
        },
        "turnsIntoTerrain": {
            "terrainType": "Mountain"
        },
        "impassable": true,
        "unbuildable": true,
        "weight": 10
    },
    {
        "name": "Mount Fuji",
        "gold": 1,
        "culture": 5,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill"],
            "baseTerrain": ["Plain","Grassland"],
            "extraConditions": [
                "Must be adjacent to [0] [Coast] tiles",
                "Must be adjacent to [0] [Tundra] tiles",
                "Must be adjacent to [0] [Desert] tiles",
                "Must be adjacent to [0] [Mountain] tiles",
                "Must be adjacent to [0] [Marsh] tiles",
                "Must be adjacent to [0] to [2] [Hill] tiles",
                "Must not be on [1] largest landmasses"
            ]
        },
        "turnsIntoTerrain": {
            "terrainType": "Mountain",
            "baseTerrain": "Grassland"
        },
        "impassable": true,
        "unbuildable": true,
        "weight": 10
    },
    {
        "name": "Krakatoa",
        "science": 5,
        "requiredTerrain": {
            "terrainType": ["Water"],
            "baseTerrain": ["Ocean","Coast"],
            "extraConditions": [
                "Must be adjacent to [6] [Water] tiles",
                "Must be adjacent to [1] to [6] [Coast] tiles",
                "Must be adjacent to [0] [Ice] tiles"
            ]
        },
        "uniques": [
            "Neighboring tiles will convert to [Coast]"
        ],
        "turnsIntoTerrain": {
            "terrainType": "Mountain",
            "baseTerrain": "Grassland"
        },
        "impassable": true,
        "unbuildable": true,
        "weight": 10
    },
    {
        "name": "Rock of Gibraltar",
        "food": 2,
        "gold": 5,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill","Water"],
            "baseTerrain": ["Grassland","Plain","Desert","Tundra","Snow","Coast"],
            "extraConditions": [
                "Must be adjacent to [3] to [5] [Coast] tiles",
                "Must be adjacent to [1] [Land] tiles"
            ]
        },
        "uniques": [
            "Neighboring [Land] tiles will convert to [Mountain]",
            "Neighboring [Ocean] tiles will convert to [Coast]"
        ],
        "turnsIntoTerrain": {
            "terrainType": "Mountain"
        },
        "impassable": true,
        "unbuildable": true,
        "weight": 10
    },
    {
        "name": "Cerro de Potosi",
        "gold": 10,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill"],
            "baseTerrain": ["Grassland","Plain","Desert","Tundra","Snow"],
            "extraConditions": [
                "Must be adjacent to [0] [Coast] tiles",
                "Must be adjacent to [1] to [6] [Hill] tiles"
            ]
        },
        "turnsIntoTerrain": {
            "terrainType": "Mountain"
        },
        "impassable": true,
        "unbuildable": true,
        "weight": 5
    },
    {
        "name": "Barringer Crater",
        "gold": 2,
        "science": 3,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill"],
            "baseTerrain": ["Desert","Tundra"],
            "extraConditions": [
                "Must be adjacent to [0] [Coast] tiles",
                "Must be adjacent to [0] [Grassland] tiles",
                "Must be adjacent to [0] to [2] [Mountain] tiles",
                "Must be adjacent to [0] to [4] [Elevated] tiles"
            ]
        },
        "turnsIntoTerrain": {
            "terrainType": "Mountain"
        },
        "impassable": true,
        "unbuildable": true,
        "weight": 10
    },
	// BNW wonders
	{
		"name": "King Solomon's Mines",
		"production": 6,
		"overrideStats": true,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill"],
            "baseTerrain": ["Grassland","Plain","Desert","Tundra","Snow"],
            "extraConditions": [
                "Must be adjacent to [0] [Coast] tiles",
			    "Must be adjacent to [0] to [2] [Mountain] tiles"
            ]
        },
		"turnsIntoTerrain": {
			"terrainType": "Flatland",
			"baseTerrain": "Plain"
		},
		"impassable": true,
		"unbuildable": true,
		"weight": 4
	},
	{// Will be introduced in Brave New World. Despite being a lake, it cannot be sailed on and it blocks line of sight like a mountain.
     // Notes: In original Civ 5, The tile placed by Lake Victoria will turn into a 'Flatland' 'Plain' tile,
     //        that's because original Civ 5 doesn't have a 'BaseTerrain' called 'Lake'.
     //        We don't need to add "Provide fresh water to adjacent land tiles" unique to it because it's already included in the 'Lake' base terrain.
		"name": "Lake Victoria",
		"food": 6,
        "requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill"],
            "baseTerrain": ["Grassland","Plain","Desert","Tundra","Snow"],
            "extraConditions": [
                "Must be adjacent to [0] [Coast] tiles"
            ]
        },
		"turnsIntoTerrain": {
			"terrainType": "Water",
			"baseTerrain": "Lake"
		},
		"impassable": true,
		"unbuildable": true,
		"weight": 10
	},
	{
		"name": "Mount Kilimanjaro",
		"food": 3,
		"culture": 2,
		"requiredTerrain": {
            "terrainType": ["Flatland","Mountain","Hill"],
            "baseTerrain": ["Plain","Grassland"],
            "extraConditions": [
                "Must be adjacent to [0] [Coast] tiles",
			    "Must be adjacent to [2] to [6] [Hill] tiles",
			    "Must be adjacent to [0] to [2] [Mountain] tiles"
            ]
        },
		"turnsIntoTerrain": {
			"terrainType": "Mountain"
		},
		"impassable": true,
		"unbuildable": true,
		"uniques": [
			"Grants [Altitude Training] ([double movement and +10% Strength in hills]) to adjacent [Land] units for the rest of the game"],
		"weight": 10
	}
]