mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-10 02:47:24 +07:00
Removed Hydro Plant, since it requires rivers to be useful, and we don't yet have rivers.
This commit is contained in:
parent
52dc1931cc
commit
f86736db6d
@ -525,13 +525,6 @@
|
||||
maintenance:3,
|
||||
requiredTech:"Plastics"
|
||||
},
|
||||
{
|
||||
name:"Hydro Plant",
|
||||
baseDescription: "Provides +1 production to tiles near rivers",
|
||||
maintenance:3,
|
||||
requiredResource:"Aluminum",
|
||||
requiredTech:"Plastics"
|
||||
},
|
||||
{
|
||||
name:"Stadium",
|
||||
happiness:4,
|
||||
|
@ -311,7 +311,7 @@
|
||||
policies:[
|
||||
{
|
||||
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,
|
||||
column:1
|
||||
},
|
||||
|
@ -37,6 +37,10 @@ class UnCivGame : Game() {
|
||||
}
|
||||
|
||||
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
|
||||
if(settings.tutorialsShown.isEmpty() && this.gameInfo.tutorial.isNotEmpty())
|
||||
settings.tutorialsShown.addAll(this.gameInfo.tutorial)
|
||||
|
Loading…
Reference in New Issue
Block a user