mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-25 21:03:15 -04:00
Aded terrains, resources improvements and techs to the translation file
This commit is contained in:
parent
fe0c6e07a2
commit
d429c6585b
@ -54,7 +54,7 @@
|
|||||||
overrideStats:true,
|
overrideStats:true,
|
||||||
unbuildable:true,
|
unbuildable:true,
|
||||||
defenceBonus: 0.25,
|
defenceBonus: 0.25,
|
||||||
occursOn:["Tundra","Plains","Grassland"]
|
occursOn:["Tundra","Plains","Grassland","Hill"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name:"Jungle",
|
name:"Jungle",
|
||||||
|
@ -81,6 +81,9 @@
|
|||||||
Romanian:"Fortifica"
|
Romanian:"Fortifica"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"Fortification":{ // as in "+40% Fortification"
|
||||||
|
}
|
||||||
|
|
||||||
"Set up":{ // For siege units
|
"Set up":{ // For siege units
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -275,4 +278,278 @@
|
|||||||
"has been destroyed!":{
|
"has been destroyed!":{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Save and load game
|
||||||
|
|
||||||
|
"Current saves":{
|
||||||
|
}
|
||||||
|
"Saved game name":{
|
||||||
|
}
|
||||||
|
"Copy game info":{
|
||||||
|
}
|
||||||
|
"Could not load game":{
|
||||||
|
}
|
||||||
|
"Load":{ // as in "Load SaveFile2"
|
||||||
|
}
|
||||||
|
"Delete save":{
|
||||||
|
}
|
||||||
|
"Saved at":{
|
||||||
|
}
|
||||||
|
|
||||||
|
// Terrains
|
||||||
|
|
||||||
|
"Grassland":{
|
||||||
|
}
|
||||||
|
"Plains":{
|
||||||
|
}
|
||||||
|
"Tundra":{
|
||||||
|
}
|
||||||
|
"Desert":{
|
||||||
|
}
|
||||||
|
"Lakes":{
|
||||||
|
}
|
||||||
|
"Hill":{
|
||||||
|
}
|
||||||
|
"Forest":{
|
||||||
|
}
|
||||||
|
"Jungle":{
|
||||||
|
}
|
||||||
|
"Marsh":{
|
||||||
|
}
|
||||||
|
"Oasis":{
|
||||||
|
}
|
||||||
|
"Food plains":{
|
||||||
|
}
|
||||||
|
|
||||||
|
// Bonus Resources
|
||||||
|
"Cattle":{
|
||||||
|
}
|
||||||
|
"Sheep":{
|
||||||
|
}
|
||||||
|
"Deer":{
|
||||||
|
}
|
||||||
|
"Bananas":{
|
||||||
|
}
|
||||||
|
"Wheat":{
|
||||||
|
}
|
||||||
|
"Stone":{
|
||||||
|
}
|
||||||
|
|
||||||
|
// Strategic Resources
|
||||||
|
"Horses":{
|
||||||
|
}
|
||||||
|
"Iron":{
|
||||||
|
}
|
||||||
|
"Coal":{
|
||||||
|
}
|
||||||
|
"Oil":{
|
||||||
|
}
|
||||||
|
"Aluminum":{
|
||||||
|
}
|
||||||
|
"Uranium":{
|
||||||
|
}
|
||||||
|
|
||||||
|
// Luxury Resources
|
||||||
|
"Furs":{
|
||||||
|
}
|
||||||
|
"Cotton":{
|
||||||
|
}
|
||||||
|
"Dyes":{
|
||||||
|
}
|
||||||
|
"Gems":{
|
||||||
|
}
|
||||||
|
"Gold":{
|
||||||
|
}
|
||||||
|
"Silver":{
|
||||||
|
}
|
||||||
|
"Incense":{
|
||||||
|
}
|
||||||
|
"Silk":{
|
||||||
|
}
|
||||||
|
"Spices":{
|
||||||
|
}
|
||||||
|
"Wine":{
|
||||||
|
}
|
||||||
|
"Sugar":{
|
||||||
|
}
|
||||||
|
"Marble":{
|
||||||
|
}
|
||||||
|
"Pearls":{
|
||||||
|
}
|
||||||
|
"Whales":{
|
||||||
|
}
|
||||||
|
|
||||||
|
// Tile improvements
|
||||||
|
|
||||||
|
"Farm":{
|
||||||
|
}
|
||||||
|
"Lumber Mill":{
|
||||||
|
}
|
||||||
|
"Mine":{
|
||||||
|
}
|
||||||
|
"Trading post":{
|
||||||
|
}
|
||||||
|
"Camp":{
|
||||||
|
}
|
||||||
|
"Oil Well":{
|
||||||
|
}
|
||||||
|
"Pasture":{
|
||||||
|
}
|
||||||
|
"Plantation":{
|
||||||
|
}
|
||||||
|
"Quarry":{
|
||||||
|
}
|
||||||
|
"Road":{
|
||||||
|
}
|
||||||
|
"Railroad":{
|
||||||
|
}
|
||||||
|
"Remove":{ // as in "Remove Forest/Jungle/Marsh"
|
||||||
|
}
|
||||||
|
"Academy":{
|
||||||
|
}
|
||||||
|
"Landmark":{
|
||||||
|
}
|
||||||
|
"Manufactory":{
|
||||||
|
}
|
||||||
|
"Customs house":{
|
||||||
|
}
|
||||||
|
|
||||||
|
// Technologies (Ancient Era)
|
||||||
|
|
||||||
|
"Pottery":{
|
||||||
|
}
|
||||||
|
"Animal Husbandry":{
|
||||||
|
}
|
||||||
|
"Archery":{
|
||||||
|
}
|
||||||
|
"Mining":{
|
||||||
|
}
|
||||||
|
"Sailing":{
|
||||||
|
}
|
||||||
|
"Calendar":{
|
||||||
|
}
|
||||||
|
"Writing":{
|
||||||
|
}
|
||||||
|
"Trapping":{
|
||||||
|
}
|
||||||
|
"The Wheel":{
|
||||||
|
}
|
||||||
|
"Masonry":{
|
||||||
|
}
|
||||||
|
"Bronze Working":{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Technologies (Classical Era)
|
||||||
|
|
||||||
|
"Optics":{
|
||||||
|
}
|
||||||
|
"Horseback Riding":{
|
||||||
|
}
|
||||||
|
"Mathematics":{
|
||||||
|
}
|
||||||
|
"Construction":{
|
||||||
|
}
|
||||||
|
"Philosophy":{
|
||||||
|
}
|
||||||
|
"Currency":{
|
||||||
|
}
|
||||||
|
"Engineering":{
|
||||||
|
}
|
||||||
|
"Iron Working":{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Technologies (Medieval Era)
|
||||||
|
|
||||||
|
"Theology":{
|
||||||
|
}
|
||||||
|
"Civil Service":{
|
||||||
|
}
|
||||||
|
"Physics":{
|
||||||
|
}
|
||||||
|
"Metal Casting":{
|
||||||
|
}
|
||||||
|
"Compass":{
|
||||||
|
}
|
||||||
|
"Education":{
|
||||||
|
}
|
||||||
|
"Chivalry":{
|
||||||
|
}
|
||||||
|
"Machinery":{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Technologies (Renaissance Era)
|
||||||
|
|
||||||
|
"Astronomy":{
|
||||||
|
}
|
||||||
|
"Acoustics":{
|
||||||
|
}
|
||||||
|
"Banking":{
|
||||||
|
}
|
||||||
|
"Printing Press":{
|
||||||
|
}
|
||||||
|
"Navigation":{
|
||||||
|
}
|
||||||
|
"Archaeology":{
|
||||||
|
}
|
||||||
|
"Economics":{
|
||||||
|
}
|
||||||
|
"Chemistry":{
|
||||||
|
}
|
||||||
|
|
||||||
|
// Technologies (Industrial Era) - as of now the tech tree itself is incomplete, more will probably be added later
|
||||||
|
|
||||||
|
"Scientific Theory":{
|
||||||
|
}
|
||||||
|
"Fertilizer":{
|
||||||
|
}
|
||||||
|
"Biology":{
|
||||||
|
}
|
||||||
|
"Electricity":{
|
||||||
|
}
|
||||||
|
"Steam Power":{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Technologies (Modern Era)
|
||||||
|
|
||||||
|
"Refrigeration":{
|
||||||
|
}
|
||||||
|
"Radio":{
|
||||||
|
}
|
||||||
|
"Combustion":{
|
||||||
|
}
|
||||||
|
"Plastics":{
|
||||||
|
}
|
||||||
|
"Electronics":{
|
||||||
|
}
|
||||||
|
"Mass Media":{
|
||||||
|
}
|
||||||
|
|
||||||
|
// Technologies (Information Era)
|
||||||
|
|
||||||
|
"Pharmaceuticals":{
|
||||||
|
}
|
||||||
|
"Computers":{
|
||||||
|
}
|
||||||
|
"Nuclear Fission":{
|
||||||
|
}
|
||||||
|
"Ecology":{
|
||||||
|
}
|
||||||
|
"Robotics":{
|
||||||
|
}
|
||||||
|
"Rocketry":{
|
||||||
|
}
|
||||||
|
|
||||||
|
// Technologies (Future Era)
|
||||||
|
"Nanotechnology":{
|
||||||
|
}
|
||||||
|
"Satellites":{
|
||||||
|
}
|
||||||
|
"Particle Physics":{
|
||||||
|
}
|
||||||
|
"Future Tech":{
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ class LoadScreen : PickerScreen() {
|
|||||||
|
|
||||||
topTable.add(saveTable)
|
topTable.add(saveTable)
|
||||||
val saves = GameSaver().getSaves()
|
val saves = GameSaver().getSaves()
|
||||||
rightSideButton.setText("Load game")
|
rightSideButton.setText("Load game".tr())
|
||||||
saves.forEach {
|
saves.forEach {
|
||||||
val textButton = TextButton(it,skin)
|
val textButton = TextButton(it,skin)
|
||||||
textButton.addClickListener {
|
textButton.addClickListener {
|
||||||
|
@ -12,6 +12,7 @@ import com.unciv.ui.pickerscreens.PickerScreen
|
|||||||
import com.unciv.ui.utils.addClickListener
|
import com.unciv.ui.utils.addClickListener
|
||||||
import com.unciv.ui.utils.enable
|
import com.unciv.ui.utils.enable
|
||||||
import com.unciv.ui.utils.getRandom
|
import com.unciv.ui.utils.getRandom
|
||||||
|
import com.unciv.ui.utils.tr
|
||||||
|
|
||||||
class SaveScreen : PickerScreen() {
|
class SaveScreen : PickerScreen() {
|
||||||
val textField = TextField("", skin)
|
val textField = TextField("", skin)
|
||||||
@ -19,7 +20,7 @@ class SaveScreen : PickerScreen() {
|
|||||||
init {
|
init {
|
||||||
val currentSaves = Table()
|
val currentSaves = Table()
|
||||||
|
|
||||||
currentSaves.add(Label("Current saves:",skin)).row()
|
currentSaves.add(Label("Current saves".tr(),skin)).row()
|
||||||
val saves = GameSaver().getSaves()
|
val saves = GameSaver().getSaves()
|
||||||
saves.forEach {
|
saves.forEach {
|
||||||
val textButton = TextButton(it, skin)
|
val textButton = TextButton(it, skin)
|
||||||
@ -40,17 +41,17 @@ class SaveScreen : PickerScreen() {
|
|||||||
val defaultSaveName = adjectives.getRandom()+" "+nouns.getRandom()
|
val defaultSaveName = adjectives.getRandom()+" "+nouns.getRandom()
|
||||||
textField.text = defaultSaveName
|
textField.text = defaultSaveName
|
||||||
|
|
||||||
newSave.add(Label("Saved game name:",skin)).row()
|
newSave.add(Label("Saved game name".tr(),skin)).row()
|
||||||
newSave.add(textField).width(300f).pad(10f).row()
|
newSave.add(textField).width(300f).pad(10f).row()
|
||||||
|
|
||||||
val copyJsonButton = TextButton("Copy game info",skin)
|
val copyJsonButton = TextButton("Copy game info".tr(),skin)
|
||||||
copyJsonButton.addClickListener { Gdx.app.clipboard.contents = Json().toJson(game.gameInfo)}
|
copyJsonButton.addClickListener { Gdx.app.clipboard.contents = Json().toJson(game.gameInfo)}
|
||||||
newSave.add(copyJsonButton)
|
newSave.add(copyJsonButton)
|
||||||
|
|
||||||
topTable.add(newSave)
|
topTable.add(newSave)
|
||||||
topTable.pack()
|
topTable.pack()
|
||||||
|
|
||||||
rightSideButton.setText("Save game")
|
rightSideButton.setText("Save game".tr())
|
||||||
rightSideButton.addClickListener {
|
rightSideButton.addClickListener {
|
||||||
GameSaver().saveGame(UnCivGame.Current.gameInfo, textField.text)
|
GameSaver().saveGame(UnCivGame.Current.gameInfo, textField.text)
|
||||||
UnCivGame.Current.setWorldScreen()
|
UnCivGame.Current.setWorldScreen()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user