mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-15 02:09:21 +07:00
Removed Hydro Plant, since it requires rivers to be useful, and we don't yet have rivers.
This commit is contained in:
@ -525,13 +525,6 @@
|
|||||||
maintenance:3,
|
maintenance:3,
|
||||||
requiredTech:"Plastics"
|
requiredTech:"Plastics"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name:"Hydro Plant",
|
|
||||||
baseDescription: "Provides +1 production to tiles near rivers",
|
|
||||||
maintenance:3,
|
|
||||||
requiredResource:"Aluminum",
|
|
||||||
requiredTech:"Plastics"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name:"Stadium",
|
name:"Stadium",
|
||||||
happiness:4,
|
happiness:4,
|
||||||
|
@ -311,7 +311,7 @@
|
|||||||
policies:[
|
policies:[
|
||||||
{
|
{
|
||||||
name:"Populism",
|
name:"Populism",
|
||||||
description:"Wounded military units deal +25% damage", // todo - this is different than +25% strength...
|
description:"Wounded military units deal +25% damage",
|
||||||
row:1,
|
row:1,
|
||||||
column:1
|
column:1
|
||||||
},
|
},
|
||||||
|
@ -37,6 +37,10 @@ class UnCivGame : Game() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun loadGame(gameInfo:GameInfo){
|
fun loadGame(gameInfo:GameInfo){
|
||||||
|
// As of 2.9.6, removed hydro plat, since it requires rivers, which we do not yet have
|
||||||
|
gameInfo.civilizations.flatMap { it.cities }.map { it.cityConstructions }
|
||||||
|
.forEach{if("Hydro Plant" in it.builtBuildings) it.builtBuildings.remove("Hydro Plant")}
|
||||||
|
|
||||||
this.gameInfo = gameInfo
|
this.gameInfo = gameInfo
|
||||||
if(settings.tutorialsShown.isEmpty() && this.gameInfo.tutorial.isNotEmpty())
|
if(settings.tutorialsShown.isEmpty() && this.gameInfo.tutorial.isNotEmpty())
|
||||||
settings.tutorialsShown.addAll(this.gameInfo.tutorial)
|
settings.tutorialsShown.addAll(this.gameInfo.tutorial)
|
||||||
|
Reference in New Issue
Block a user