Improved clarity and moddability of building improvements (#6712)

* Renamed tile.hasUnique, deprecated `Indestructable`, unique for citadels
Also refactored the consumption of (great) people out of UnitActions.

* Reworked when improvements can be build somewhere for more clarity

* Made resources improvable by multiple improvements; Offshore Platform

* Fix compatability

* WIP

* Fixed the tests, but better

* I suppose I might as well update this now that we're a version later
This commit is contained in:
Xander Lenstra
2022-05-11 00:35:21 +02:00
committed by GitHub
parent 7b4833741d
commit 8fcfbf752b
33 changed files with 1187 additions and 1042 deletions

View File

@ -30,6 +30,7 @@ object Constants {
val vegetation = arrayOf(forest, jungle)
// Note the difference in case. **Not** interchangeable!
// TODO this is very opaque behaviour to modders
/** The "Fresh water" terrain _unique_ */
const val freshWater = "Fresh water"
/** The "Fresh Water" terrain _filter_ */