Fix tests

This commit is contained in:
yairm210 2025-09-13 22:49:32 +03:00
parent e67509260f
commit 8b381daf18
3 changed files with 6 additions and 3 deletions

View File

@ -1552,9 +1552,9 @@ Your civilization stands above all others! The exploits of your people shall be
You have been defeated. Your civilization has been overwhelmed by its many foes. But your people do not despair, for they know that one day you shall return - and lead them forward to victory! =
One more turn...! = Turn ieħor...!
Destroy [civName] = Eqred [civName]
Capture [cityName] = Ħu lil [civName]
Capture [cityName] = Ħu lil [cityName]
Destroy ? * [civName] = Eqred ? * [civName]
Capture ? * [cityName] = Aqbad ? * [civName]
Capture ? * [cityName] = Aqbad ? * [cityName]
Majority religion of ? * [civName] = Reliġjon prinċipali ta' ? * [civName]
Our status = L-istatus tagħna
Global status = Status Globali
@ -1717,7 +1717,7 @@ The possible rewards are: = Il-premji possibli huma:
Eras = Etajiet
Embarked strength: [amount]† = Saħħa waqt imbarkata: [amount]†
Base unit buy cost: [amount]¤ = Prezz bażiku tal-unità [amount]¤
Research agreement cost: [amount]¤ = Prezz tal-Ftehim tar-Riċerka
Research agreement cost: [amount]¤ =
Speeds = Velocitajiet
General speed modifier: [amount]%⏳ = Modifikatur tal-veloċità ġenerali: [amount]%⏳
Production cost modifier: [amount]%⚙ = Modifikatur tal-ispiża tal-produzzjoni: [amount]%⚙

View File

@ -147,6 +147,7 @@ class Religion() : INamed, IsPartOfGameInfoSerialization {
}
}
@Readonly
private fun unlockedBuildingsPurchasable(): List<String> {
return getAllBeliefsOrdered().flatMap { belief ->
belief.getMatchingUniques(UniqueType.BuyBuildingsWithStat).map { it.params[0] } +

View File

@ -12,6 +12,7 @@ import com.unciv.ui.components.input.KeyCharAndCode
import com.unciv.ui.images.ImageGetter
import com.unciv.ui.popups.Popup
import com.unciv.ui.screens.civilopediascreen.ICivilopediaText
import yairm210.purity.annotations.Readonly
class TutorialController(screen: BaseScreen) {
@ -76,6 +77,7 @@ class TutorialController(screen: BaseScreen) {
}
}
@Readonly
private fun getTutorial(tutorial: TutorialTrigger): List<String> {
val name = tutorial.value.replace('_', ' ').trimStart()
return tutorials[name]?.steps ?: emptyList()