Added City Ruins when a city is razed (no effects, just game flavour)

This commit is contained in:
Yair Morgenstern 2018-09-23 11:03:03 +03:00
parent 5710001715
commit 7b2bf48e04
8 changed files with 228 additions and 203 deletions

View File

@ -79,8 +79,11 @@ All the following are from [the Noun Project](https://thenounproject.com) licenc
* [Pickaxe](https://thenounproject.com/term/pickaxe/175792/) By Creative Stall
* [Food stall](https://thenounproject.com/term/food-stall/1618358/) By I Putu Kharismayadi
* [Road](https://thenounproject.com/term/road/1600491/) By REVA
* [Ruins](https://thenounproject.com/term/ruins/175277/) By Creative Stall
* [Ruins](https://thenounproject.com/term/ruins/3849/) By Paulo Volkova
## Buildings
* [Chinese traditional tower](https://thenounproject.com/term/chinese-traditional-tower/1808410/) By 1516
* [Factory](https://thenounproject.com/term/factory/545906/) By icon 54
* [Factory](https://thenounproject.com/term/factory/1624235/) By Maxim Kulikov

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 638 KiB

After

Width:  |  Height:  |  Size: 642 KiB

View File

@ -126,5 +126,12 @@
gold:4,
improvingTech:"Economics",
improvingTechStats:{gold:1}
},
{
name:"Ancient ruins"
},
{
name:"City ruins"
}
]

View File

@ -186,6 +186,7 @@ class CityInfo {
fun destroyCity() {
civInfo.cities.remove(this)
getTiles().forEach { expansion.relinquishOwnership(it) }
getCenterTile().improvement="City ruins"
}
fun moveToCiv(newCivInfo: CivilizationInfo){