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

@ -829,7 +829,7 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
Applicable to: Building, Improvement
??? example "Unbuildable"
Applicable to: Building, Unit
Applicable to: Building, Unit, Improvement
??? example "Cannot be purchased"
Applicable to: Building, Unit
@ -1396,6 +1396,9 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
Applicable to: Improvement
??? example "Can only be built to improve a resource"
Applicable to: Improvement
??? example "Gives a defensive bonus of [relativeAmount]%"
Example: "Gives a defensive bonus of [+20]%"
@ -1420,10 +1423,10 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
??? example "Provides a random bonus when entered"
Applicable to: Improvement
??? example "Unpillagable"
??? example "Constructing it will take over the tiles around it and assign them to your closest city"
Applicable to: Improvement
??? example "Indestructible"
??? example "Unpillagable"
Applicable to: Improvement
??? example "Irremovable"