Changed "Requires [resource]" to "Consumes 1 [resource]" to make it obvious that resource is consumed - #1964

This commit is contained in:
Yair Morgenstern 2020-03-22 22:40:07 +02:00
parent c647261a18
commit 3734f39101
23 changed files with 24 additions and 24 deletions

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = Vyžaduje zdroj suroviny [resource] na ú
Wonder is being built elsewhere = Div světa již stavíte v jiném městě
Requires a [buildingName] in all cities = Vyžaduje budovu [buildingName] ve všech městech
Requires a [buildingName] in this city = Vyžaduje budovu [buildingName] v tomto městě
Requires [resource] = Vyžaduje surovinu [resource]
Consumes 1 [resource] = Vyžaduje surovinu [resource]
Required tech: [requiredTech] = Vyžaduje technologii: [requiredTech]
Current construction = Současná produkce

View file

@ -53,7 +53,7 @@ Requires a [buildingName] in all cities =
# Requires translation!
Requires a [buildingName] in this city =
# Requires translation!
Requires [resource] =
Consumes 1 [resource] =
# Requires translation!
Required tech: [requiredTech] =

View file

@ -66,7 +66,7 @@ Requires a [buildingName] in all cities =
# Requires translation!
Requires a [buildingName] in this city =
# Requires translation!
Requires [resource] =
Consumes 1 [resource] =
# Requires translation!
Required tech: [requiredTech] =

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = Nécessite l'exploitation de [resource] p
Wonder is being built elsewhere = Cette merveille est déjà en construction ailleurs
Requires a [buildingName] in all cities = Nécessite un(e) [buildingName] dans toutes les villes
Requires a [buildingName] in this city = Nécessite un(e) [buildingName] dans cette ville
Requires [resource] = [resource] requis(e)
Consumes 1 [resource] = [resource] requis(e)
Required tech: [requiredTech] = Nécessite la technologie: [requiredTech]
Current construction = Construction actuelle

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = Benötigte eine Bewirtschaftung von [reso
Wonder is being built elsewhere = Das Wunder wird woanders gebaut
Requires a [buildingName] in all cities = Benötigt das Gebäude [buildingName] in allen Städten
Requires a [buildingName] in this city = Benötigt das Gebäude [buildingName] in dieser Stadt
Requires [resource] = Benötigt [resource]
Consumes 1 [resource] = Benötigt [resource]
Required tech: [requiredTech] = Benötigt Technologie: [requiredTech]
Current construction = Aktuelle Konstruktion

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = Membutuhkan [resource] yang diperkerjakan
Wonder is being built elsewhere = Keajaiban Dunia sedang dibangun di tempat lain
Requires a [buildingName] in all cities = Membutuhlan [buildingName] di semua kota
Requires a [buildingName] in this city = Membutuhkan [buildingName] di kota ini
Requires [resource] = Membutuhkan [resource]
Consumes 1 [resource] = Membutuhkan [resource]
Required tech: [requiredTech] = Membutuhkab teknologi: [requiredTech]
Current construction = Konstruksi saat ini

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = Richiede che la città sfrutti [resource]
Wonder is being built elsewhere = Meraviglia in costruzione altrove
Requires a [buildingName] in all cities = Richiede [buildingName] in tutte le città
Requires a [buildingName] in this city = Richiede [buildingName] nella città
Requires [resource] = Richiede [resource]
Consumes 1 [resource] = Richiede [resource]
Required tech: [requiredTech] = Tecnologie propedeutiche: [requiredTech]
Current construction = Costruzione attuale

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = 都市の近郊で稼働する[resource]
Wonder is being built elsewhere = 遺産は他の都市で建設されています
Requires a [buildingName] in all cities = すべての都市に[buildingName]が必要
Requires a [buildingName] in this city = この都市に[buildingName]が必要
Requires [resource] = [resource]が必要
Consumes 1 [resource] = [resource]が必要
Required tech: [requiredTech] = 必要なテクノロジー:[requiredTech]
Current construction = 生産中

View file

@ -52,7 +52,7 @@ Requires worked [resource] near city = 도시 근처에 [resource] 자원이 개
Wonder is being built elsewhere = 불가사의가 이미 다른 곳에서 지어지고 있습니다.
Requires a [buildingName] in all cities = 모든 도시에 [buildingName] 건물이 지어져 있어야 합니다.
Requires a [buildingName] in this city = 이 도시에 [buildingName] 건물이 지어져 있어야 합니다.
Requires [resource] = [resource] 자원이 필요합니다.
Consumes 1 [resource] = [resource] 자원이 필요합니다.
Required tech: [requiredTech] = [requiredTech] 기술이 연구되어야 합니다.
# Requires translation!

View file

@ -63,7 +63,7 @@ Requires a [buildingName] in all cities =
# Requires translation!
Requires a [buildingName] in this city =
# Requires translation!
Requires [resource] =
Consumes 1 [resource] =
# Requires translation!
Required tech: [requiredTech] =

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = Wymaga w mieście surowca [resource]
Wonder is being built elsewhere = Cud jest już budowany gdzie indziej
Requires a [buildingName] in all cities = [buildingName] musi znajdować się we wszystkich miastach
Requires a [buildingName] in this city = Wymaga budynku [buildingName] w tym mieście
Requires [resource] = Wymaga surowca [resource]
Consumes 1 [resource] = Wymaga surowca [resource]
Required tech: [requiredTech] = Wymaga odkrycia technologii [requiredTech]
Current construction = Bieżąca budowa

View file

@ -40,7 +40,7 @@ Requires worked [resource] near city = Requer [resource] trabalhado perto da cid
Wonder is being built elsewhere = Uma maravilha está sendo construida em uma cidade estrangeira
Requires a [buildingName] in all cities = Requer um(a) [buildingName] em todas as cidades
Requires a [buildingName] in this city = Requer um [buildingName] nessa cidade
Requires [resource] = Requer [resource]
Consumes 1 [resource] = Requer [resource]
Required tech: [requiredTech] = Requer tecnologia: [requiredTech]
# Requires translation!

View file

@ -39,7 +39,7 @@ Requires worked [resource] near city =
Wonder is being built elsewhere =
Requires a [buildingName] in all cities = Necesită ca [buildingName] să fie în toate orașele
Requires a [buildingName] in this city = Necesită ca [buildingName] să fie în acest oraș
Requires [resource] = Necesită [resource]
Consumes 1 [resource] = Necesită [resource]
Required tech: [requiredTech] = Tehnologia necesară: [requiredTech]
Current construction = Construcția curentă

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = Требует добычи [resource] в
Wonder is being built elsewhere = Чудо света строится где-то ещё
Requires a [buildingName] in all cities = Требует [buildingName] во всех городах
Requires a [buildingName] in this city = Требует [buildingName] в городе
Requires [resource] = Требует [resource]
Consumes 1 [resource] = Требует [resource]
Required tech: [requiredTech] = Требуется технология: [requiredTech]
Current construction = Текущее строительство

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = 需要城市附近有已开发的资源
Wonder is being built elsewhere = 其他城市正在建造该奇观
Requires a [buildingName] in all cities = 需要所有城市建有[buildingName]
Requires a [buildingName] in this city = 需要城市建有[buildingName]
Requires [resource] = 需要资源:[resource]
Consumes 1 [resource] = 需要资源:[resource]
Required tech: [requiredTech] = 需要科技:[requiredTech]
Current construction = 当前项目

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = Requiere trabajo [resource] cerca de la c
Wonder is being built elsewhere = Esta maravilla se está construyendo en otro lugar
Requires a [buildingName] in all cities = Requiere un [buildingName] en todas las ciudades
Requires a [buildingName] in this city = Requiere un [buildingName] en la misma ciudad
Requires [resource] = Requiere [resource]
Consumes 1 [resource] = Requiere [resource]
Required tech: [requiredTech] = Tecnología requerida: [requiredTech]
Current construction = Construcción actual

View file

@ -287,7 +287,7 @@ Requires worked [resource] near city = จะต้องมีการทำ
Wonder is being built elsewhere = สิ่งมหัศจรรย์กำลังถูกสร้างขึ้นที่ไหนสักแห่ง
Requires a [buildingName] in all cities = ต้องมี [buildingName] ในทุกเมือง
Requires a [buildingName] in this city = ต้องมี [buildingName] ในเมืองนี้
Requires [resource] = ต้องการ [resource]
Consumes 1 [resource] = ต้องการ [resource]
Required tech: [requiredTech] = ต้องการเทคโนโลยี: [requiredTech]
Diplomacy = การทูต

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = 需要城市附近有已開發的資源
Wonder is being built elsewhere = 其他城市正在建造該奇觀
Requires a [buildingName] in all cities = 需要所有城市建有[buildingName]
Requires a [buildingName] in this city = 需要城市建有[buildingName]
Requires [resource] = 需要資源:[resource]
Consumes 1 [resource] = 需要資源:[resource]
Required tech: [requiredTech] = 需要科技:[requiredTech]
Current construction = 當前項目

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = Şehir yakınlarında çalışılan [reso
Wonder is being built elsewhere = Eser başka bir yerde inşa ediliyor
Requires a [buildingName] in all cities = Tüm şehirlerde bir [buildingName] gerekir
Requires a [buildingName] in this city = Bu şehirde bir [buildingName] gerekiyor
Requires [resource] = [resource] gerektirir
Consumes 1 [resource] = [resource] gerektirir
Required tech: [requiredTech] = Gerekli teknoloji: [requiredTech]
Current construction = Mevcut inşaat

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city = Біля міста має бути ро
Wonder is being built elsewhere = Диво будується у іншому місті
Requires a [buildingName] in all cities = В усіх містах має бути будівля: [buildingName]
Requires a [buildingName] in this city = У місті має бути будівля: [buildingName]
Requires [resource] = Потрібен ресурс: [resource]
Consumes 1 [resource] = Потрібен ресурс: [resource]
Required tech: [requiredTech] = Потрібна технологія: [requiredTech]
Current construction = Зараз будується

View file

@ -37,7 +37,7 @@ Requires worked [resource] near city =
Wonder is being built elsewhere =
Requires a [buildingName] in all cities =
Requires a [buildingName] in this city =
Requires [resource] =
Consumes 1 [resource] =
Required tech: [requiredTech] =
Current construction =

View file

@ -81,7 +81,7 @@ class Building : NamedStats(), IConstruction{
if (!forBuildingPickerScreen && requiredBuildingInAllCities != null)
stringBuilder.appendln("Requires [$requiredBuildingInAllCities] to be built in all cities".tr())
if(requiredResource!=null)
stringBuilder.appendln("Requires [$requiredResource]".tr())
stringBuilder.appendln("Consumes 1 [$requiredResource]".tr())
if (providesFreeBuilding != null)
stringBuilder.appendln("Provides a free [$providesFreeBuilding] in the city".tr())
if(uniques.isNotEmpty()) stringBuilder.appendln(uniques.asSequence().map { it.tr() }.joinToString("\n"))
@ -309,7 +309,7 @@ class Building : NamedStats(), IConstruction{
return "Cannot be built with $cannotBeBuiltWith"
if (requiredResource != null && !civInfo.hasResource(requiredResource!!))
return "Requires [$requiredResource]"
return "Consumes 1 [$requiredResource]"
if (requiredNearbyImprovedResources != null) {
val containsResourceWithImprovement = construction.cityInfo.getWorkableTiles()

View file

@ -139,7 +139,7 @@ class BaseUnit : INamed, IConstruction {
&& (name == "Manhattan Project" || uniques.contains("Requires Manhattan Project"))) return "Disabled by setting"
if (uniques.contains("Requires Manhattan Project") && !civInfo.containsBuildingUnique("Enables nuclear weapon"))
return "Requires Manhattan Project"
if (requiredResource!=null && !civInfo.hasResource(requiredResource!!)) return "Requires [$requiredResource]"
if (requiredResource!=null && !civInfo.hasResource(requiredResource!!)) return "Consumes 1 [$requiredResource]"
if (name == Constants.settler && civInfo.isCityState()) return "No settler for city-states"
if (name == Constants.settler && civInfo.isOneCityChallenger()) return "No settler for players in One City Challenge"
return ""