Changed "Gold" resource to be called "Gold Ore" to not conflict with the yield type for translations - #2458

This commit is contained in:
Yair Morgenstern 2021-02-23 20:05:00 +02:00
parent 241aecb52f
commit c9a96358da
32 changed files with 158 additions and 30 deletions

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 588 B

View File

@ -340,9 +340,9 @@
{
"name": "Mint",
"maintenance": 0,
"requiredNearbyImprovedResources": ["Gold", "Silver"]
"requiredNearbyImprovedResources": ["Gold Ore", "Silver"]
"hurryCostModifier": 25,
"uniques": ["[+2 Gold] from [Gold] tiles in this city", "[+2 Gold] from [Silver] tiles in this city"],
"uniques": ["[+2 Gold] from [Gold Ore] tiles in this city", "[+2 Gold] from [Silver] tiles in this city"],
"requiredTech": "Currency"
},
/*

View File

@ -157,7 +157,7 @@
"improvementStats": {"gold": 1}
},
{
"name": "Gold",
"name": "Gold Ore",
"resourceType": "Luxury",
"terrainsCanBeFoundOn": ["Grassland","Plains","Desert","Hill"],
"gold": 2,

View File

@ -510,11 +510,13 @@ Acquire = Adquirir
# Requires translation!
Under construction =
Gold = Ouro
Science = Ciência
Happiness = Felicidade
Production = Produção
Culture = Cultura
Food = Comida
Crop Yield = Produção da Colheita
Land = Terreno
Force = Força
@ -3690,6 +3692,7 @@ Fort = Forte
Costs [amount] gold per turn when in your territory = Custa [amount] ouros por turno quando se encontra dentro de seu território
Road = Estrada
Remove Forest = Cortar floresta
Remove Jungle = Cortar selva
@ -3765,7 +3768,8 @@ Dyes = Tintas
Gems = Jóias
Gold = Ouro
# Requires translation!
Gold Ore =
Silver = Prata
@ -3974,6 +3978,7 @@ Founds a new city = Estabelecer uma nova cidade
Ignores terrain cost = Ignora custo de movimento em terrenos
Maori Warrior = Guerreiro Maori
Jaguar = Jaguar

View File

@ -502,11 +502,13 @@ No = Ne
Acquire = Získat
Under construction = Ve výstavbě
Gold = Zlato
Science = Výzkum
Happiness = Spokojenost
Production = Produkce
Culture = Kultura
Food = Jídlo
Crop Yield = Výnos plodiny
Land = Země
Force = Síla
@ -3640,6 +3642,7 @@ Fort = Opevnění
Costs [amount] gold per turn when in your territory = Stojí [amount] zlata za tah, je-li na vlastněném území
Road = Cesta
Remove Forest = Vykácet les
Remove Jungle = Vykácet džungli
@ -3715,7 +3718,8 @@ Dyes = Barvivo
Gems = Drahokamy
Gold = Zlato
# Requires translation!
Gold Ore =
Silver = Stříbro
@ -3924,6 +3928,7 @@ Founds a new city = Zakládá nové město
Ignores terrain cost = Pohyb v obtížném terénu bez penalizace
Maori Warrior = Maorský válěčník
Jaguar = Jaguár

View File

@ -504,11 +504,13 @@ No = Nee
Acquire = Verkrijg
Under construction = In opbouw
Gold = Goud
Science = Wetenschap
Happiness = Blijheid
Production = Productie
Culture = Cultuur
Food = Eten
Crop Yield = Gewas opbrengst
Land = Land
Force = Forceer
@ -4812,6 +4814,7 @@ Fort =
Costs [amount] gold per turn when in your territory =
Road = Weg
# Requires translation!
Remove Forest =
@ -4903,7 +4906,8 @@ Dyes = Verfstoffen
Gems = Edelstenen
Gold = Goud
# Requires translation!
Gold Ore =
Silver = Zilver
@ -5211,6 +5215,7 @@ Founds a new city = Sticht een nieuwe stad
Ignores terrain cost = Negeert terreinskosten
# Requires translation!
Maori Warrior =

View File

@ -943,6 +943,8 @@ Acquire =
# Requires translation!
Under construction =
# Requires translation!
Gold =
# Requires translation!
Science =
# Requires translation!
@ -953,6 +955,7 @@ Production =
Culture =
# Requires translation!
Food =
# Requires translation!
Crop Yield =
# Requires translation!
@ -5716,6 +5719,7 @@ Costs [amount] gold per turn when in your territory =
# Requires translation!
Road =
# Requires translation!
Remove Forest =
@ -5830,7 +5834,7 @@ Dyes =
Gems =
# Requires translation!
Gold =
Gold Ore =
# Requires translation!
Silver =
@ -6146,6 +6150,7 @@ Founds a new city =
# Requires translation!
Ignores terrain cost =
# Requires translation!
Maori Warrior =

View File

@ -534,11 +534,13 @@ Acquire = Saat
# Requires translation!
Under construction =
Gold = Kulta
Science = Tiede
Happiness = Tyytyväisyys
Production = Tuotanto
Culture = Kulttuuri
Food = Ruoka
Crop Yield = Viljansaanti
Land = Maa
Force = Voima
@ -3982,6 +3984,7 @@ Fort =
Costs [amount] gold per turn when in your territory =
Road = Tie
# Requires translation!
Remove Forest =
@ -4068,7 +4071,8 @@ Dyes = Värit
Gems = Jalokivet
Gold = Kulta
# Requires translation!
Gold Ore =
Silver = Hopea
@ -4360,6 +4364,7 @@ Founds a new city = Perustaa uuden kaupungin
# Requires translation!
Ignores terrain cost =
# Requires translation!
Maori Warrior =

View File

@ -525,11 +525,13 @@ Acquire = Acquérir
# Requires translation!
Under construction =
Gold = Or
Science = Science
Happiness = Bonheur
Production = Production
Culture = Culture
Food = Nourriture
Crop Yield = Récolte
Land = Territoire
Force = Puissance
@ -3311,6 +3313,7 @@ Fort = Fort
Costs [amount] gold per turn when in your territory =
Road = Route
Remove Forest = Défricher la forêt
Remove Jungle = Défricher la jungle
@ -3388,7 +3391,8 @@ Dyes = Teintures
Gems = Pierres précieuses
Gold = Or
# Requires translation!
Gold Ore =
Silver = Argent
@ -3608,6 +3612,7 @@ Founds a new city = Fonde une nouvelle ville
Ignores terrain cost = Ignore le coût du terrain
Maori Warrior = Guerrier maori
# Requires translation!

View File

@ -504,11 +504,13 @@ Acquire = Übernehmen
# Requires translation!
Under construction =
Gold = Gold
Science = Wissenschaft
Happiness = Zufriedenheit
Production = Produktion
Culture = Kultur
Food = Nahrung
Crop Yield = Ernteertrag
Land = Land
Force = Kraft
@ -3075,6 +3077,7 @@ Fort = Festung
Costs [amount] gold per turn when in your territory = Kostet [amount] Gold pro Runde innerhalb des eigenen Terretoriums
Road = Straße
Remove Forest = Wald abholzen
Remove Jungle = Dschungel abholzen
@ -3150,7 +3153,8 @@ Dyes = Farbstoffe
Gems = Edelsteine
Gold = Gold
# Requires translation!
Gold Ore =
Silver = Silber
@ -3359,6 +3363,7 @@ Founds a new city = Gründet eine neue Stadt
Ignores terrain cost = Ignoriert Geländekosten
Maori Warrior = Maori Krieger
Jaguar = Jaguar

View File

@ -514,11 +514,13 @@ Acquire = Megszerez
# Requires translation!
Under construction =
Gold = Arany
Science = Tudomány
Happiness = Boldogság
Production = Termelés
Culture = Kultúra
Food = Étel
Crop Yield = Terméshozam
Land = Föld
Force = Kényszerítés
@ -3725,6 +3727,7 @@ Fort = Erőd
Costs [amount] gold per turn when in your territory =
Road = Út
Remove Forest = Erdő eltávolítása
Remove Jungle = Dzsungel eltávolítása
@ -3804,7 +3807,8 @@ Dyes = Festék
Gems = Dragakő
Gold = Arany
# Requires translation!
Gold Ore =
Silver = Ezüst
@ -4039,6 +4043,7 @@ Founds a new city = Új várost alapít
Ignores terrain cost = Terep költség figyelmen kívül hagyása
Maori Warrior = Maori harcos
Jaguar = Jaguár

View File

@ -509,11 +509,13 @@ Acquire = Peroleh
# Requires translation!
Under construction =
Gold = Emas
Science = Ilmu Pengetahuan
Happiness = Kebahagiaan
Production = Produksi
Culture = Budaya
Food = Makanan
Crop Yield = Hasil Panen
Land = Luas Tanah
Force = Kekuatan Militer
@ -3076,6 +3078,7 @@ Fort = Kubu Pertahanan
Costs [amount] gold per turn when in your territory = Biaya pemeliharaannya sebesar [amount] emas per giliran di dalam teritorimu
Road = Jalan
Remove Forest = Singkirkan Hutan
Remove Jungle = Singkirkan Hutan Belantara
@ -3151,7 +3154,8 @@ Dyes = Pewarna
Gems = Permata
Gold = Emas
# Requires translation!
Gold Ore =
Silver = Perak
@ -3360,6 +3364,7 @@ Founds a new city = Dirikan kota baru
Ignores terrain cost = Mengabaikan medan
Maori Warrior = Pejuang Maori
Jaguar = Jaguar

View File

@ -502,11 +502,13 @@ No = No
Acquire = Prendi
Under construction = In costruzione
Gold = Oro
Science = Scienza
Happiness = Felicità
Production = Produzione
Culture = Cultura
Food = Cibo
Crop Yield = Resa dei campi
Land = Terre
Force = Esercito
@ -3060,6 +3062,7 @@ Fort = Forte
Costs [amount] gold per turn when in your territory = Costa [amount] Oro al turno nel proprio territorio
Road = Strada
Remove Forest = Rimuovi foresta
Remove Jungle = Rimuovi giungla
@ -3135,7 +3138,8 @@ Dyes = Tinture
Gems = Gemme
Gold = Oro
# Requires translation!
Gold Ore =
Silver = Argento
@ -3344,6 +3348,7 @@ Founds a new city = Può fondare una nuova città
Ignores terrain cost = Ignora i costi di movimento su terreno
Maori Warrior = Guerriero Maori
Jaguar = Guerriero giaguaro

View File

@ -509,11 +509,13 @@ Acquire = 取得
# Requires translation!
Under construction =
Gold = ゴールド
Science = 科学力
Happiness = 幸福度
Production = 生産力
Culture = 文化力
Food = 食料
Crop Yield = 産出量
Land = 領土
Force = 軍事力
@ -3083,6 +3085,7 @@ Fort = 要塞
Costs [amount] gold per turn when in your territory = 自国領土にある場合は、一ターンあたり[amount]ゴールド消費する
Road = 道路
Remove Forest = 森林削除
Remove Jungle = ジャングル削除
@ -3158,7 +3161,8 @@ Dyes = 染料
Gems = 宝石
Gold = ゴールド
# Requires translation!
Gold Ore =
Silver =
@ -3367,6 +3371,7 @@ Founds a new city = 新しい都市を開設できる
Ignores terrain cost = 地形を無視
Maori Warrior = マオリの戦士
Jaguar = ジャガー戦士

View File

@ -510,11 +510,13 @@ Acquire = 획득
# Requires translation!
Under construction =
Gold =
Science = 과학
Happiness = 행복도
Production = 생산력
Culture = 문화
Food = 식량
Crop Yield = 식량 생산량
Land = 영토
Force = 군사력
@ -3087,6 +3089,7 @@ Fort = 요새
Costs [amount] gold per turn when in your territory =
Road = 도로
Remove Forest = 숲 제거
Remove Jungle = 정글 제거
@ -3162,7 +3165,8 @@ Dyes = 염료
Gems = 보석
Gold =
# Requires translation!
Gold Ore =
Silver =
@ -3373,6 +3377,7 @@ Founds a new city = 새로운 도시를 건설함
Ignores terrain cost = 지형에 의한 이동력 감소 무시
Maori Warrior = 마오리 전사
Jaguar = 재규어 전사

View File

@ -543,11 +543,14 @@ Acquire = Įsigyti
# Requires translation!
Under construction =
# Requires translation!
Gold =
Science = Mokslas
Happiness = Laimė
Production = Gamyba
Culture = Kultūra
Food = Maistas
Crop Yield = Derlius
Land = Pasėlių derlius
Force = Jėga
@ -5013,6 +5016,7 @@ Costs [amount] gold per turn when in your territory =
# Requires translation!
Road =
# Requires translation!
Remove Forest =
@ -5127,7 +5131,7 @@ Dyes =
Gems =
# Requires translation!
Gold =
Gold Ore =
# Requires translation!
Silver =
@ -5450,6 +5454,7 @@ Founds a new city =
# Requires translation!
Ignores terrain cost =
# Requires translation!
Maori Warrior =

View File

@ -815,11 +815,13 @@ Acquire =
# Requires translation!
Under construction =
Gold = Emas
Science = Sains
Happiness = Kegembiraan
Production = Pembuatan
Culture = Budaya
Food = Makanan
# Requires translation!
Crop Yield =
Land = Tanah
@ -5360,6 +5362,7 @@ Fort = Kubu
Costs [amount] gold per turn when in your territory =
Road = Jalan
# Requires translation!
Remove Forest =
@ -5460,7 +5463,8 @@ Dyes =
# Requires translation!
Gems =
Gold = Emas
# Requires translation!
Gold Ore =
Silver = Perak
@ -5775,6 +5779,7 @@ Founds a new city =
# Requires translation!
Ignores terrain cost =
# Requires translation!
Maori Warrior =

View File

@ -534,11 +534,14 @@ Acquire = Gereftan
# Requires translation!
Under construction =
# Requires translation!
Gold =
Science = Elm
Happiness = Rezāyat
Production = Tolid
Culture = Farhang
Food = Ğazā
Crop Yield = Mahsool e zamin hā
Land = Zamin
Force = Ğovā
@ -4945,6 +4948,7 @@ Costs [amount] gold per turn when in your territory =
# Requires translation!
Road =
# Requires translation!
Remove Forest =
@ -5059,7 +5063,7 @@ Dyes =
Gems =
# Requires translation!
Gold =
Gold Ore =
# Requires translation!
Silver =
@ -5382,6 +5386,7 @@ Founds a new city =
# Requires translation!
Ignores terrain cost =
# Requires translation!
Maori Warrior =

View File

@ -531,11 +531,14 @@ Acquire = Gereftan
# Requires translation!
Under construction =
# Requires translation!
Gold =
Science = Elm
Happiness = Rezaayat
Production = Tolid
Culture = Farhang
Food = Ghazaa
Crop Yield = Mahsool e zamin haa
Land = Zamin
Force = Ghovaa
@ -4942,6 +4945,7 @@ Costs [amount] gold per turn when in your territory =
# Requires translation!
Road =
# Requires translation!
Remove Forest =
@ -5056,7 +5060,7 @@ Dyes =
Gems =
# Requires translation!
Gold =
Gold Ore =
# Requires translation!
Silver =
@ -5379,6 +5383,7 @@ Founds a new city =
# Requires translation!
Ignores terrain cost =
# Requires translation!
Maori Warrior =

View File

@ -517,11 +517,13 @@ Acquire = Otrzymaj
# Requires translation!
Under construction =
Gold = Złoto
Science = Nauka
Happiness = Zadowolenie
Production = Produkcja
Culture = Kultura
Food = Żywność
Crop Yield = Zbiory
Land = Ląd
Force = Siła
@ -3184,6 +3186,7 @@ Fort = Fort
Costs [amount] gold per turn when in your territory =
Road = Droga
Remove Forest = Usuń Las
Remove Jungle = Usuń Dżunglę
@ -3260,7 +3263,8 @@ Dyes = Barwniki
Gems = Klejnoty
Gold = Złoto
# Requires translation!
Gold Ore =
Silver = Srebro
@ -3473,6 +3477,7 @@ Founds a new city = Zakłada nowe miasto
Ignores terrain cost = Ignoruje koszty terenu
Maori Warrior = Wojownik Maori
Jaguar = Jaguar

View File

@ -504,11 +504,13 @@ No = Não
Acquire = Adquirir
Under construction = Em construção
Gold = Ouro
Science = Ciência
Happiness = Felicidade
Production = Produção
Culture = Cultura
Food = Comida
Crop Yield = Producão da Colheita
Land = Terra
Force = Força
@ -4509,6 +4511,7 @@ Fort =
Costs [amount] gold per turn when in your territory =
Road = Estrada
Remove Forest = Cortar floresta
Remove Jungle = Cortar selva
@ -4589,7 +4592,8 @@ Dyes = Tintas
Gems = Jóias
Gold = Ouro
# Requires translation!
Gold Ore =
Silver = Prata
@ -4809,6 +4813,7 @@ Founds a new city = Estabelecer uma nova cidade
Ignores terrain cost = Ignora custo de movimento em terrenos
Maori Warrior = Guerreiro Maori
# Requires translation!

View File

@ -542,11 +542,13 @@ Acquire = Achiziționează
# Requires translation!
Under construction =
Gold = Aur
Science = știință
Happiness = Fericire
Production = Producție
Culture = Cultură
Food = Hrană
Crop Yield = Randament al culturilor
Land = Teren
Force = Forță
@ -4692,6 +4694,7 @@ Fort =
Costs [amount] gold per turn when in your territory =
Road = Drum
Remove Forest = Defrișează pădurea
Remove Jungle = Defrișează jungla
@ -4779,7 +4782,8 @@ Dyes = Coloranți
Gems = Pietre prețioase
Gold = Aur
# Requires translation!
Gold Ore =
Silver = Argint
@ -5051,6 +5055,7 @@ Founds a new city = Fondează un oraș nou
Ignores terrain cost = Ignoră costul terenului
Maori Warrior = Războinic Maori
# Requires translation!

View File

@ -512,11 +512,13 @@ Acquire = Получить
# Requires translation!
Under construction =
Gold = Золото
Science = Наука
Happiness = Счастье
Production = Производство
Culture = Культура
Food = Еда
Crop Yield = Урожай
Land = Земля
Force = Сила
@ -3088,6 +3090,7 @@ Fort = Форт
Costs [amount] gold per turn when in your territory =
Road = Дорога
Remove Forest = Вырубить лес
Remove Jungle = Вырубить джунгли
@ -3163,7 +3166,8 @@ Dyes = Красители
Gems = Драгоценные камни
Gold = Золото
# Requires translation!
Gold Ore =
Silver = Серебро
@ -3372,6 +3376,7 @@ Founds a new city = Основывает новый город
Ignores terrain cost = Игнорирует штрафы местности
Maori Warrior = Воин Маори
Jaguar = Воин-Ягуар

View File

@ -502,11 +502,13 @@ No = 否
Acquire = 变更为本城市所属
Under construction = 建造/组建中
Gold = 黄金
Science = 科研
Happiness = 快乐
Production = 产能
Culture = 文化
Food = 食物
Crop Yield = 作物产量
Land = 土地
Force = 武力
@ -3061,6 +3063,7 @@ Fort = 堡垒
Costs [amount] gold per turn when in your territory = 在您的领土内每回合花费[amount]金币
Road = 道路
Remove Forest = 砍伐森林
Remove Jungle = 砍伐丛林
@ -3136,7 +3139,8 @@ Dyes = 染料
Gems = 宝石
Gold = 黄金
# Requires translation!
Gold Ore =
Silver = 白银
@ -3345,6 +3349,7 @@ Founds a new city = 建立一座城市,组建此单位时城市的食物积累
Ignores terrain cost = 所有地形都只消耗1移动力
Maori Warrior = 毛利勇士
Jaguar = 美洲虎战士

View File

@ -509,11 +509,13 @@ Acquire = Adquirir
# Requires translation!
Under construction =
Gold = Oro
Science = Ciencia
Happiness = Felicidad
Production = Producción
Culture = Cultura
Food = Comida
Crop Yield = Rendimiento de los cultivos
Land = Tierra
Force = Fuerza
@ -3082,6 +3084,7 @@ Fort = Fuerte
Costs [amount] gold per turn when in your territory = Cuesta [amount] de oro por turno si está en tu territorio
Road = Carretera
Remove Forest = Quitar bosque
Remove Jungle = Quitar selva
@ -3157,7 +3160,8 @@ Dyes = Tintes
Gems = Gemas
Gold = Oro
# Requires translation!
Gold Ore =
Silver = Plata
@ -3366,6 +3370,7 @@ Founds a new city = Funda una nueva ciudad
Ignores terrain cost = Ignora el coste del terreno
Maori Warrior = Guerrero maorí
Jaguar = Jaguar

View File

@ -527,11 +527,13 @@ Acquire = 變更為本城市所屬
# Requires translation!
Under construction =
Gold = 黃金
Science = 科學
Happiness = 快樂
Production = 產能
Culture = 文化
Food = 食物
Crop Yield = 農業收成
Land = 土地
Force = 軍事力量
@ -3205,6 +3207,7 @@ Fort = 堡壘
Costs [amount] gold per turn when in your territory =
Road = 道路
Remove Forest = 砍伐森林
Remove Jungle = 砍伐叢林
@ -3281,7 +3284,8 @@ Dyes = 染料
Gems = 寶石
Gold = 黃金
# Requires translation!
Gold Ore =
Silver = 白銀
@ -3501,6 +3505,7 @@ Founds a new city = 建立一座城市,組建此單位時城市的食物積累
Ignores terrain cost = 所有地形都只消耗1移動力
Maori Warrior = 毛利勇士
# Requires translation!

View File

@ -528,11 +528,13 @@ Acquire = Edin
# Requires translation!
Under construction =
Gold = Altın
Science = Bilim
Happiness = Mutluluk
Production = Üretim
Culture = Kültür
Food = Yiyecek
Crop Yield = Mahsul Verimi
Land = Arazi
Force = Güç
@ -3768,6 +3770,7 @@ Fort = Kale
Costs [amount] gold per turn when in your territory =
Road = Yol
Remove Forest = Ormanı ortadan kaldır
Remove Jungle = Sık ormanı ortadan kaldır
@ -3846,7 +3849,8 @@ Dyes = Boya
Gems = Mücevher
Gold = Altın
# Requires translation!
Gold Ore =
Silver = Gümüş
@ -4064,6 +4068,7 @@ Founds a new city = Yeni bir şehir kurar
Ignores terrain cost = Arazi maliyetini yok sayar
Maori Warrior = Maori Savaşçısı
Jaguar = Jaguar

View File

@ -510,11 +510,13 @@ Acquire = Отримати
# Requires translation!
Under construction =
Gold = Золото
Science = Наука
Happiness = Щастя
Production = Виробництво
Culture = Культура
Food = Їжа
Crop Yield = Врожай
Land = Земля
Force = Сила
@ -3091,6 +3093,7 @@ Fort = Форт
Costs [amount] gold per turn when in your territory = Коштує [amount] золота за хід, коли розташована на вашій території
Road = Дорога
Remove Forest = Вирубати ліс
Remove Jungle = Вирубати джунглі
@ -3166,7 +3169,8 @@ Dyes = Барвники
Gems = Коштовні камені
Gold = Золото
# Requires translation!
Gold Ore =
Silver = Срібло
@ -3376,6 +3380,7 @@ Founds a new city = Може заснувати нове місто
Ignores terrain cost = Перетинає місцевість без перешкод
Maori Warrior = Воїн Маорі
Jaguar = Ягуар

View File

@ -502,11 +502,13 @@ No =
Acquire =
Under construction =
Gold =
Science =
Happiness =
Production =
Culture =
Food =
Crop Yield =
Land =
Force =

View File

@ -331,7 +331,7 @@ class GameInfo {
// So we remove them so the game doesn't crash when it tries to access them.
private fun removeMissingModReferences() {
for (tile in tileMap.values) {
if (tile.terrainFeature!=null && !ruleSet.terrains.containsKey(tile.terrainFeature!!))
if (tile.terrainFeature != null && !ruleSet.terrains.containsKey(tile.terrainFeature!!))
tile.terrainFeature = null
if (tile.resource != null && !ruleSet.tileResources.containsKey(tile.resource!!))
tile.resource = null
@ -346,7 +346,6 @@ class GameInfo {
if (!ruleSet.unitPromotions.containsKey(promotion))
unit.promotions.promotions.remove(promotion)
}
}
for (city in civilizations.asSequence().flatMap { it.cities.asSequence() }) {
@ -367,6 +366,7 @@ class GameInfo {
if (isInvalidConstruction(construction))
city.cityConstructions.inProgressConstructions.remove(construction)
}
for (civinfo in civilizations) {
for (tech in civinfo.tech.techsResearched.toList())
if (!ruleSet.technologies.containsKey(tech))

View File

@ -126,6 +126,7 @@ open class TileInfo {
fun getTileResource(): TileResource =
if (resource == null) throw Exception("No resource exists for this tile!")
else if(!ruleset.tileResources.containsKey(resource!!)) throw Exception("Resource $resource does not exist in this ruleset!")
else ruleset.tileResources[resource!!]!!
fun getNaturalWonder(): Terrain =