Get rid of old religion style actions!!! (#10192)

* Giant refactoring - get rid of old religion style actions!!!

* Added special promotion to replace Great Mosque of Djenne ability

* removed double promotion added my mistake

* Added AI recognition of cities with bonus spread religion charges

* Added "disallowed for pantheon" filtering to new unit actions

* merge unit action changes with religion action changes

* Use new invokeUnitAction function for simplicity

* revert inquisitor unique change used for tests

* separate modifier side effects from old-style side effects

* Use canUSe shorthand for clarity
This commit is contained in:
Yair Morgenstern
2023-10-01 09:43:26 +03:00
committed by GitHub
parent b01353eee7
commit 6d6dc51bea
14 changed files with 133 additions and 69 deletions

View File

@ -701,11 +701,6 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
Applicable to: Global
??? example "[baseUnitFilter] units built [cityFilter] can [action] [amount] extra times"
Example: "[Melee] units built [in all cities] can [Spread Religion] [3] extra times"
Applicable to: Global, FollowerBelief
??? example "Triggers victory"
Applicable to: Global
@ -1142,9 +1137,10 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
??? example "Can perform Air Sweep"
Applicable to: Unit
??? example "Can [action] [amount] times"
Example: "Can [Spread Religion] [3] times"
??? example "Can Spread Religion"
Applicable to: Unit
??? example "Can remove other religions from cities"
Applicable to: Unit
??? example "Can speed up construction of a building"