This commit is contained in:
YueR 2019-10-05 00:11:02 +08:00
parent c7ac39c54e
commit 1f686b2d82
2 changed files with 2 additions and 2 deletions

View File

@ -849,7 +849,7 @@
Russian:"+1 к счастью от каждого редкого ресурса"
Romanian:"+1 fericire din fiecare resursă de lux"
Spanish:"+1 felicidad por cada recurso de lujo"
Simplified_Chinese:"每个奢侈资源+1快乐"
Simplified_Chinese:"每种奢侈资源额外+1快乐"
Portuguese:"+1 Felicidade por cade recurso de luxo"
German:"+1 Zufriedenheit für jede Luxusresource"
French:"+1 Bonheur pour chaque ressource de luxe"

View File

@ -101,7 +101,7 @@ class CivInfoStats(val civInfo: CivilizationInfo){
val statMap = HashMap<String, Float>()
statMap["Base happiness"] = civInfo.getDifficulty().baseHappiness.toFloat()
var happinessPerUniqueLuxury = 5f + civInfo.getDifficulty().extraHappinessPerLuxury
var happinessPerUniqueLuxury = 4f + civInfo.getDifficulty().extraHappinessPerLuxury
if (civInfo.policies.isAdopted("Protectionism")) happinessPerUniqueLuxury += 1
statMap["Luxury resources"]= civInfo.getCivResources().map { it.resource }
.count { it.resourceType === ResourceType.Luxury } * happinessPerUniqueLuxury