Even more pixel images!
Added Pillaging tutorial
BIN
android/Images/TileSets/FantasyHex/Units/Anti-Aircraft Gun.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
android/Images/TileSets/FantasyHex/Units/Anti-Tank Gun.png
Normal file
After Width: | Height: | Size: 224 B |
BIN
android/Images/TileSets/FantasyHex/Units/Artillery.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
android/Images/TileSets/FantasyHex/Units/Cannon.png
Normal file
After Width: | Height: | Size: 256 B |
BIN
android/Images/TileSets/FantasyHex/Units/Chariot Archer.png
Normal file
After Width: | Height: | Size: 324 B |
BIN
android/Images/TileSets/FantasyHex/Units/Great Artist.png
Normal file
After Width: | Height: | Size: 383 B |
BIN
android/Images/TileSets/FantasyHex/Units/Great Engineer.png
Normal file
After Width: | Height: | Size: 377 B |
BIN
android/Images/TileSets/FantasyHex/Units/Great Merchant.png
Normal file
After Width: | Height: | Size: 375 B |
BIN
android/Images/TileSets/FantasyHex/Units/Great Scientist.png
Normal file
After Width: | Height: | Size: 350 B |
BIN
android/Images/TileSets/FantasyHex/Units/Longswordsman.png
Normal file
After Width: | Height: | Size: 369 B |
BIN
android/Images/TileSets/FantasyHex/Units/Musketman.png
Normal file
After Width: | Height: | Size: 388 B |
BIN
android/Images/TileSets/FantasyHex/Units/Rifleman.png
Normal file
After Width: | Height: | Size: 387 B |
BIN
android/Images/TileSets/FantasyHex/Units/Swordsman.png
Normal file
After Width: | Height: | Size: 381 B |
BIN
android/Images/TileSets/FantasyHex/Units/Trebuchet.png
Normal file
After Width: | Height: | Size: 345 B |
BIN
android/Images/TileSets/FantasyHex/Units/War Elephant.png
Normal file
After Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
@ -392,4 +392,12 @@
|
||||
]
|
||||
],
|
||||
|
||||
_Pillaging:[
|
||||
[
|
||||
"Military units can pillage improvements, which heals them 25 health and ruins the improvement.",
|
||||
"The tile can still be worked, but advantages from the improvement - stat bonuses and resources - will be lost.",
|
||||
"Workers can repair these improvements, which takes less time than building the improvement from scratch.",
|
||||
]
|
||||
]
|
||||
|
||||
}
|
||||
|
@ -408,12 +408,18 @@ open class TileGroup(var tileInfo: TileInfo, var tileSetStrings:TileSetStrings)
|
||||
fun updatePixelMilitaryUnit(showMilitaryUnit: Boolean) {
|
||||
var newImageLocation = ""
|
||||
|
||||
if (tileInfo.militaryUnit != null && showMilitaryUnit) {
|
||||
val unitType = tileInfo.militaryUnit!!.type
|
||||
val specificUnitIconLocation = tileSetStrings.unitsLocation + tileInfo.militaryUnit!!.name
|
||||
val militaryUnit = tileInfo.militaryUnit
|
||||
if (militaryUnit != null && showMilitaryUnit) {
|
||||
val unitType = militaryUnit.type
|
||||
val specificUnitIconLocation = tileSetStrings.unitsLocation + militaryUnit.name
|
||||
newImageLocation = when {
|
||||
!UnCivGame.Current.settings.showPixelUnits -> ""
|
||||
ImageGetter.imageExists(specificUnitIconLocation) -> specificUnitIconLocation
|
||||
|
||||
militaryUnit.baseUnit.replaces!=null &&
|
||||
ImageGetter.imageExists(tileSetStrings.unitsLocation + militaryUnit.baseUnit.replaces) ->
|
||||
tileSetStrings.unitsLocation + militaryUnit.baseUnit.replaces
|
||||
|
||||
unitType == UnitType.Mounted -> tileSetStrings.unitsLocation + "Horseman"
|
||||
unitType == UnitType.Ranged -> tileSetStrings.unitsLocation + "Archer"
|
||||
unitType == UnitType.Armor -> tileSetStrings.unitsLocation + "Tank"
|
||||
|