Added Great Person city location to notification

This commit is contained in:
Yair Morgenstern 2019-11-28 21:10:36 +02:00
parent c50783f895
commit 3816014ae4
2 changed files with 14 additions and 15 deletions

View file

@ -56,20 +56,19 @@
Polish:"[resourceName] odkryte nieopodal [cityName]"
}
"A [greatPerson] has been born!":{ //Smashfanful sayd: "You should add WHERE the Great Person is born, so it should be "A [greatPerson] is born in [cityName]""
Italian:"È nato un [greatPerson]!"
Russian:"[greatPerson] родился!"
French:"Un [greatPerson] est né!"
Romanian:"S-a născut un [greatPerson]!"
Spanish:"¡Un [greatPerson] ha nacido!"
Simplified_Chinese:"一个[greatPerson]已经出现!"
Traditional_Chinese:"一個[greatPerson]已經出現!"
Portuguese:"Um [greatPerson] nasceu!"
German:"Ein [greatPerson] wurde geboren!"
Japanese:"[greatPerson]が誕生しました!",
Czech:"Narodil se [greatPerson]"
Ukrainian:"Народився [greatPerson]!"
Polish:"[greatPerson] urodził/a się!"
"A [greatPerson] has been born in [cityName]!":{
Italian:"[cityName] - È nato un [greatPerson]!",
Russian:"[cityName] - [greatPerson] родился!",
French:"[cityName] - Un [greatPerson] est né!",
Romanian:"[cityName] - S-a născut un [greatPerson]!",
Spanish:"¡[cityName] - Un [greatPerson] ha nacido!",
Simplified_Chinese:"[cityName] - 一个[greatPerson]已经出现!",
Traditional_Chinese:"[cityName] - 一個[greatPerson]已經出現!",
Portuguese:"[cityName] - Um [greatPerson] nasceu!",
German:"[cityName] - Ein [greatPerson] wurde geboren!",
Czech:"[cityName] - Narodil se [greatPerson]",
Ukrainian:"[cityName] - Народився [greatPerson]!",
Polish:"[cityName] - [greatPerson] urodził/a się!"
}
"We have encountered [civName]!":{

View file

@ -435,7 +435,7 @@ class CivilizationInfo {
fun addGreatPerson(greatPerson: String, city:CityInfo) {
placeUnitNearTile(city.location, greatPerson)
addNotification("A [$greatPerson] has been born!", city.location, Color.GOLD)
addNotification("A [$greatPerson] has been born in [${city.name}]!", city.location, Color.GOLD)
}
fun placeUnitNearTile(location: Vector2, unitName: String): MapUnit? {