mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
Added unique ability for Egypt and France
This commit is contained in:
parent
911bd6fc67
commit
b8aa4932a0
@ -29,6 +29,7 @@
|
|||||||
name:"Egypt",
|
name:"Egypt",
|
||||||
mainColor:[ 231, 213, 0],
|
mainColor:[ 231, 213, 0],
|
||||||
secondaryColor:[98,10,210],
|
secondaryColor:[98,10,210],
|
||||||
|
unique:"+20% production towards Wonder construction"
|
||||||
cities:["Thebes","Memphis","Heliopolis","Elephantine","Alexandria","Pi-Ramesses","Giza","Byblos","Akhetaten","Hieraconpolis",
|
cities:["Thebes","Memphis","Heliopolis","Elephantine","Alexandria","Pi-Ramesses","Giza","Byblos","Akhetaten","Hieraconpolis",
|
||||||
"Abydos","Asyut","Avaris","Lisht","Buto","Edfu","Pithom","Busiris","Kahun","Athribis",
|
"Abydos","Asyut","Avaris","Lisht","Buto","Edfu","Pithom","Busiris","Kahun","Athribis",
|
||||||
"Mendes","Elashmunein","Tanis","Bubastis","Oryx","Sebennytus","Akhmin","Karnak","Luxor","El Kab"]
|
"Mendes","Elashmunein","Tanis","Bubastis","Oryx","Sebennytus","Akhmin","Karnak","Luxor","El Kab"]
|
||||||
@ -46,6 +47,7 @@
|
|||||||
name:"France",
|
name:"France",
|
||||||
mainColor:[ 38, 98, 255],
|
mainColor:[ 38, 98, 255],
|
||||||
secondaryColor:[239,236,148],
|
secondaryColor:[239,236,148],
|
||||||
|
unique:"+2 Culture per turn from Cities before discovering Steam Power"
|
||||||
cities:["Paris","Orleans","Lyon","Troyes","Tours","Marseille","Chartres","Avignon","Rouen","Grenoble",
|
cities:["Paris","Orleans","Lyon","Troyes","Tours","Marseille","Chartres","Avignon","Rouen","Grenoble",
|
||||||
"Dijon","Amiens","Cherbourg","Poitiers","Toulouse","Bayonne","Strasbourg","Brest","Bordeaux","Rennes",
|
"Dijon","Amiens","Cherbourg","Poitiers","Toulouse","Bayonne","Strasbourg","Brest","Bordeaux","Rennes",
|
||||||
"Nice","Saint Etienne","Nantes","Reims","Le Mans","Montpellier","Limoges","Nancy","Lille","Caen"]
|
"Nice","Saint Etienne","Nantes","Reims","Le Mans","Montpellier","Limoges","Nancy","Lille","Caen"]
|
||||||
|
@ -3498,6 +3498,11 @@
|
|||||||
Simplified_Chinese:"中华"
|
Simplified_Chinese:"中华"
|
||||||
Portuguese:"China"
|
Portuguese:"China"
|
||||||
}
|
}
|
||||||
|
"Great general provides double combat bonus, and spawns 50% faster":{
|
||||||
|
Romanian:"Marele general oferă bonus de luptă dublu și se crează cu 50% mai repede"
|
||||||
|
Simplified_Chinese:"大军事家提供双倍战斗加成,出生速率+50%"
|
||||||
|
}
|
||||||
|
|
||||||
"Egypt":{
|
"Egypt":{
|
||||||
Italian:"Egitto"
|
Italian:"Egitto"
|
||||||
Russian:"Египет"
|
Russian:"Египет"
|
||||||
@ -3507,6 +3512,8 @@
|
|||||||
Simplified_Chinese:"埃及"
|
Simplified_Chinese:"埃及"
|
||||||
Portuguese:"Egito"
|
Portuguese:"Egito"
|
||||||
}
|
}
|
||||||
|
"+20% production towards Wonder construction":{}
|
||||||
|
|
||||||
"England":{
|
"England":{
|
||||||
Italian:"Inghilterra"
|
Italian:"Inghilterra"
|
||||||
Russian:"Англия"
|
Russian:"Англия"
|
||||||
@ -3521,10 +3528,6 @@
|
|||||||
Spanish:"+2 de movimiento a las unidades navales"
|
Spanish:"+2 de movimiento a las unidades navales"
|
||||||
Simplified_Chinese:"所有有海军+2行动力"
|
Simplified_Chinese:"所有有海军+2行动力"
|
||||||
}
|
}
|
||||||
"Great general provides double combat bonus, and spawns 50% faster":{
|
|
||||||
Romanian:"Marele general oferă bonus de luptă dublu și se crează cu 50% mai repede"
|
|
||||||
Simplified_Chinese:"大军事家提供双倍战斗加成,出生速率+50%"
|
|
||||||
}
|
|
||||||
|
|
||||||
"France":{
|
"France":{
|
||||||
Italian:"Francia"
|
Italian:"Francia"
|
||||||
@ -3535,6 +3538,7 @@
|
|||||||
Simplified_Chinese:"法兰西"
|
Simplified_Chinese:"法兰西"
|
||||||
Portuguese:"França"
|
Portuguese:"França"
|
||||||
}
|
}
|
||||||
|
"+2 Culture per turn from cities before discovering Steam Power":{}
|
||||||
|
|
||||||
"Russia":{
|
"Russia":{
|
||||||
Romanian:"Rusia"
|
Romanian:"Rusia"
|
||||||
|
@ -108,12 +108,20 @@ class CityStats {
|
|||||||
val stats = Stats()
|
val stats = Stats()
|
||||||
|
|
||||||
val civUnique = cityInfo.civInfo.getNation().unique
|
val civUnique = cityInfo.civInfo.getNation().unique
|
||||||
|
val currentConstruction = cityInfo.cityConstructions.getCurrentConstruction()
|
||||||
if(civUnique=="+25% Production towards any buildings that already exist in the Capital"
|
if(civUnique=="+25% Production towards any buildings that already exist in the Capital"
|
||||||
&& cityInfo.cityConstructions.getCurrentConstruction() is Building
|
&& currentConstruction is Building
|
||||||
&& cityInfo.civInfo.getCapital().cityConstructions.builtBuildings
|
&& cityInfo.civInfo.getCapital().cityConstructions.builtBuildings
|
||||||
.contains(cityInfo.cityConstructions.currentConstruction))
|
.contains(currentConstruction.name))
|
||||||
stats.production+=25f
|
stats.production+=25f
|
||||||
|
|
||||||
|
if(civUnique=="+20% production towards Wonder construction"
|
||||||
|
&& currentConstruction is Building && currentConstruction.isWonder)
|
||||||
|
stats.production+=20
|
||||||
|
|
||||||
|
if(civUnique == "+2 Culture per turn from cities before discovering Steam Power")
|
||||||
|
stats.culture += 2
|
||||||
|
|
||||||
return stats
|
return stats
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user