mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-30 22:58:50 +07:00
Added Babylonian civ unique
This commit is contained in:
@ -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(){
|
||||
|
Reference in New Issue
Block a user