Add unique to allow for generalized great generals (#10828)

* Add unique to allow for generalized great generals

* Don't add compatibility for rulesets with conditional generals

* Add to rulesets

* add in pre Kotlin 9 parenthesis

* whoops missed a parenthesis

* I guess pre Kotlin 9 parenthesis was unnecessary, whoops

* Add back old variables to clone function

* Move the list of all potential generals to Ruleset

* Move list of unit construction rejections to IConstruction

* flip !any{} to none{}

* Fix imports

* Typo
This commit is contained in:
SeventhM
2024-01-03 23:03:14 -08:00
committed by GitHub
parent 6e84377090
commit 665b5aa87c
11 changed files with 83 additions and 25 deletions

View File

@ -1653,6 +1653,7 @@
"Empire enters a [8]-turn Golden Age <by consuming this unit>",
"[+15]% Strength bonus for [Military] units within [2] tiles",
"Can instantly construct a [Citadel] improvement <by consuming this unit>",
"Can be earned through combat",
"Great Person - [War]", "Unbuildable", "Uncapturable"],
"movement": 2
},
@ -1666,6 +1667,7 @@
"[+15]% Strength bonus for [Military] units within [2] tiles",
"All adjacent units heal [+15] HP when healing", "[+15] HP when healing",
"Can instantly construct a [Citadel] improvement <by consuming this unit>",
"Can be earned through combat",
"Great Person - [War]", "Unbuildable", "Uncapturable"],
"movement": 5
},

View File

@ -1296,6 +1296,7 @@
"Empire enters a [8]-turn Golden Age <by consuming this unit>",
"[+15]% Strength bonus for [Military] units within [2] tiles",
"Can instantly construct a [Citadel] improvement <by consuming this unit>",
"Can be earned through combat",
"Great Person - [War]", "Unbuildable", "Uncapturable"],
"movement": 2
},
@ -1309,6 +1310,7 @@
"[+15]% Strength bonus for [Military] units within [2] tiles",
"All adjacent units heal [+15] HP when healing", "[+15] HP when healing",
"Can instantly construct a [Citadel] improvement <by consuming this unit>",
"Can be earned through combat",
"Great Person - [War]", "Unbuildable", "Uncapturable"],
"movement": 5
},