mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-21 21:30:20 +07:00
Greatly increased distance between civ starting locations
This commit is contained in:
@ -75,7 +75,7 @@ class GameStarter{
|
||||
}
|
||||
|
||||
fun getStartingLocations(numberOfPlayers:Int,tileMap: TileMap): Stack<TileInfo> {
|
||||
for(minimumDistanceBetweenStartingLocations in 7 downTo 0){
|
||||
for(minimumDistanceBetweenStartingLocations in tileMap.tileMatrix.size/2 downTo 0){
|
||||
val freeTiles = tileMap.values
|
||||
.filter { it.isLand() && vectorIsWithinNTilesOfEdge(it.position,min(3,minimumDistanceBetweenStartingLocations),tileMap)}
|
||||
.toMutableList()
|
||||
|
@ -77,7 +77,7 @@ class CityExpansionManager {
|
||||
relinquishOwnership(tile)
|
||||
|
||||
cityInfo.getCenterTile().getTilesInDistance(1)
|
||||
.filter { it.getCity()!=null } // can't take ownership of owned tiles
|
||||
.filter { it.getCity()==null } // can't take ownership of owned tiles
|
||||
.forEach { takeOwnership(it) }
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user