mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 05:46:43 -04:00
Added Babylonian civ unique
This commit is contained in:
parent
2f5b6e7be5
commit
19906ade75
@ -3,6 +3,7 @@
|
||||
name:"Babylon",
|
||||
mainColor:[27,53,63],
|
||||
secondaryColor:[213,249,255],
|
||||
unique:"Receive free Great Scientist when you discover Writing, Earn Great Scientists 50% faster",
|
||||
cities:["Babylon","Akkad","Dur-Kurigalzu","Nippur","Borsippa","Sippar","Opis","Mari","Shushan","Eshnunna",
|
||||
"Ellasar","Erech","Kutha","Sirpurla","Neribtum","Ashur","Ninveh","Nimrud","Arbela","Nuzi",
|
||||
"Arrapkha","Tutub","Shaduppum","Rapiqum","Mashkan Shapir","Tuttul","Ramad","Ana","Haradum","Agrab"]
|
||||
|
@ -3406,6 +3406,8 @@
|
||||
Simplified_Chinese:"巴比伦"
|
||||
Portuguese:"Babilonia"
|
||||
}
|
||||
"Receive free Great Scientist when you discover Writing, Earn Great Scientists 50% faster":{}
|
||||
|
||||
"Greece":{
|
||||
Italian:"Grecia"
|
||||
Russian:"Греция"
|
||||
|
@ -141,6 +141,9 @@ class CityInfo {
|
||||
if (civInfo.policies.isAdopted("Freedom"))
|
||||
greatPersonPoints = greatPersonPoints.times(1.25f)
|
||||
|
||||
if(civInfo.getNation().unique=="Receive free Great Scientist when you discover Writing, Earn Great Scientists 50% faster")
|
||||
greatPersonPoints.science *= 1.5f
|
||||
|
||||
return greatPersonPoints
|
||||
}
|
||||
|
||||
|
@ -146,6 +146,10 @@ class TechManager {
|
||||
val currentConstructionUnit = city.cityConstructions.getCurrentConstruction() as BaseUnit
|
||||
city.cityConstructions.currentConstruction = currentConstructionUnit.upgradesTo!!
|
||||
}
|
||||
|
||||
if(techName=="Writing" && civInfo.getNation().unique=="Receive free Great Scientist when you discover Writing, Earn Great Scientists 50% faster"
|
||||
&& civInfo.cities.any())
|
||||
civInfo.addGreatPerson("Great Scientist")
|
||||
}
|
||||
|
||||
fun setTransients(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user