Resource+Improvement is go!
Added resource-specific plantations by The Bucketeer
BIN
android/Images/TileSets/FantasyHex/Tiles/Bananas.png
Normal file
After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 579 B |
BIN
android/Images/TileSets/FantasyHex/Tiles/Pearls.png
Normal file
After Width: | Height: | Size: 494 B |
BIN
android/Images/TileSets/FantasyHex/Tiles/Plantation+Bananas.png
Normal file
After Width: | Height: | Size: 862 B |
BIN
android/Images/TileSets/FantasyHex/Tiles/Plantation+Cotton.png
Normal file
After Width: | Height: | Size: 755 B |
BIN
android/Images/TileSets/FantasyHex/Tiles/Plantation+Dyes.png
Normal file
After Width: | Height: | Size: 727 B |
BIN
android/Images/TileSets/FantasyHex/Tiles/Plantation+Incense.png
Normal file
After Width: | Height: | Size: 705 B |
BIN
android/Images/TileSets/FantasyHex/Tiles/Plantation+Silk.png
Normal file
After Width: | Height: | Size: 768 B |
BIN
android/Images/TileSets/FantasyHex/Tiles/Plantation+Spices.png
Normal file
After Width: | Height: | Size: 714 B |
BIN
android/Images/TileSets/FantasyHex/Tiles/Plantation+Sugar.png
Normal file
After Width: | Height: | Size: 745 B |
BIN
android/Images/TileSets/FantasyHex/Tiles/Plantation+Wine.png
Normal file
After Width: | Height: | Size: 646 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 302 B |
BIN
android/Images/TileSets/FantasyHex/Tiles/Wheat.png
Normal file
After Width: | Height: | Size: 390 B |
Before Width: | Height: | Size: 316 KiB After Width: | Height: | Size: 323 KiB |
|
@ -195,6 +195,12 @@ open class TileGroup(var tileInfo: TileInfo, var tileSetStrings:TileSetStrings)
|
|||
if (ImageGetter.imageExists(baseTerrainTileLocation)){
|
||||
if(shouldShowImprovement){
|
||||
val improvementImageLocation = tileSetStrings.getTile(tileInfo.improvement!!)
|
||||
if(shouldShowResource){
|
||||
// E.g. (Grassland, Plantation+Spices)
|
||||
val improvementAndResourceImageLocation = improvementImageLocation+"+${tileInfo.resource}"
|
||||
if(ImageGetter.imageExists(improvementAndResourceImageLocation))
|
||||
return listOf(baseTerrainTileLocation,improvementAndResourceImageLocation)
|
||||
}
|
||||
// E.g. (Desert, Mine)
|
||||
if(ImageGetter.imageExists(improvementImageLocation))
|
||||
return listOf(baseTerrainTileLocation, improvementImageLocation)
|
||||
|
|