mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 11:28:03 +07:00
Added Colossus wonder - #245
This commit is contained in:
parent
24d71c3450
commit
9a0baf028e
BIN
android/Images/BuildingIcons/Colossus.png
Normal file
BIN
android/Images/BuildingIcons/Colossus.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 947 KiB After Width: | Height: | Size: 947 KiB |
@ -109,6 +109,15 @@
|
|||||||
maintenance:1,
|
maintenance:1,
|
||||||
requiredTech:"Bronze Working"
|
requiredTech:"Bronze Working"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name:"Colossus",
|
||||||
|
culture:1,
|
||||||
|
gold:5,
|
||||||
|
greatPersonPoints:{gold:1},
|
||||||
|
isWonder:true,
|
||||||
|
uniques:["Can only be built in coastal cities", "+1 gold from worked water tiles in city"],
|
||||||
|
requiredTech:"Mathematics"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name:"Krepost",
|
name:"Krepost",
|
||||||
replaces:"Barracks",
|
replaces:"Barracks",
|
||||||
|
@ -5236,6 +5236,9 @@
|
|||||||
French:"Cout d'acquisition en or et en culture de nouvelle cases réduit de 25% dans cette ville"
|
French:"Cout d'acquisition en or et en culture de nouvelle cases réduit de 25% dans cette ville"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"Colossus":{}
|
||||||
|
"+1 gold from worked water tiles in city":{}
|
||||||
|
|
||||||
"Temple":{
|
"Temple":{
|
||||||
Italian:"Tempio"
|
Italian:"Tempio"
|
||||||
Russian:"Храм"
|
Russian:"Храм"
|
||||||
@ -5557,6 +5560,9 @@
|
|||||||
Portuguese:"40% da comida é mantida depois de um novo cidadão nascer"
|
Portuguese:"40% da comida é mantida depois de um novo cidadão nascer"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"Great Wall":{}
|
||||||
|
"Enemy land units must spend 1 extra movement point when inside your territory (obsolete upon Dynamite)":{}
|
||||||
|
|
||||||
"Workshop":{
|
"Workshop":{
|
||||||
Italian:"Bottega"
|
Italian:"Bottega"
|
||||||
Russian:"Мастерская"
|
Russian:"Мастерская"
|
||||||
|
@ -175,6 +175,9 @@ open class TileInfo {
|
|||||||
stats.add(improvement) // again, for the double effect
|
stats.add(improvement) // again, for the double effect
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(city!=null && isWater() && city.getBuildingUniques().contains("+1 gold from worked water tiles in city"))
|
||||||
|
stats.gold += 1
|
||||||
|
|
||||||
if (isCityCenter()) {
|
if (isCityCenter()) {
|
||||||
if (stats.food < 2) stats.food = 2f
|
if (stats.food < 2) stats.food = 2f
|
||||||
if (stats.production < 1) stats.production = 1f
|
if (stats.production < 1) stats.production = 1f
|
||||||
|
@ -10,7 +10,8 @@ class UnitMovementAlgorithms(val unit:MapUnit) {
|
|||||||
var cost = getMovementCostBetweenAdjacentTiles(from,to)
|
var cost = getMovementCostBetweenAdjacentTiles(from,to)
|
||||||
|
|
||||||
val toOwner = to.getOwner()
|
val toOwner = to.getOwner()
|
||||||
if(toOwner!=null && civInfo.isAtWarWith(toOwner) && toOwner.hasActiveGreatWall) cost += 1
|
if(toOwner!=null && to.isLand() && civInfo.isAtWarWith(toOwner) && toOwner.hasActiveGreatWall)
|
||||||
|
cost += 1
|
||||||
return cost
|
return cost
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user