Commit Graph

251 Commits

Author SHA1 Message Date
yairm210
f6c342f7cf 4.14.17 2024-12-22 11:01:21 +02:00
yairm210
9f4828d55a 4.14.16 2024-12-16 15:10:22 +02:00
yairm210
1c0ba1f20b 4.14.12
Some checks failed
Conflict marking / main (push) Failing after 5s
Detekt / detekt (ubuntu-latest) (push) Failing after 31s
Generate mkdocs from docs folder / deploy (push) Failing after 22s
Build and test / Check code and run unit tests (push) Failing after 1h6m44s
Docker / build (push) Failing after 59s
2024-12-02 20:15:31 +02:00
yairm210
fbfeb4d508 docs: 2024-11-19 17:38:02 +02:00
yairm210
a914571b8e Avoid OOM errors when updating all games by avoiding parallelization 2024-11-19 08:50:59 +02:00
yairm210
086573b112 perf(rendering): ignore unit layers with no units 2024-11-13 11:57:32 +02:00
yairm210
6da45f4dd2 4.14.5 2024-11-10 14:47:40 +02:00
yairm210
6a3d4548bb Fixed serialization 2024-11-05 14:47:05 +02:00
yairm210
42eb0fb040 Modding: Added validation to event uniques
Fixes tutorial
2024-11-01 12:02:36 +02:00
Rob Loach
e9481d4bc1
Add <when espionage is enabled> conditional (#12326)
* Modding: Replaced "Hidden when espionage is disabled" with "Only available <when espionage is enabled>"

* Modding: Fix unique deprecation notice

* Add ConditionalEspionageEnabled to isUnavailableBySettings list
2024-10-21 21:51:50 +03:00
yairm210
9140acb432 4.13.18 2024-10-20 15:02:04 +03:00
yairm210
579ea79d09 Modding: Replaced "Hidden when [victoryType] Victory is disabled" with "Only available <when [victoryType] Victory is enabled>" 2024-10-20 13:35:55 +03:00
yairm210
45fc67df29 4.13.16 2024-10-13 23:01:55 +03:00
yairm210
6f0babb393 4.13.15 2024-10-10 23:18:23 +03:00
PLynx
5d1c05d8e4
Add two population-related conditional uniques (#12258)
* Added the Conditional Below Population

* Added the Conditional Between Population
2024-10-06 16:46:34 +03:00
yairm210
2a8f0be257 4.13.12 2024-09-28 22:13:05 +03:00
yairm210
9c7e5b3ae6 Resolved #11832 - re-activate Thai language, now with diacritic support 2024-09-23 23:53:59 +03:00
yairm210
916317a048 Allow comment uniques and timed uniques in event choices 2024-09-23 18:39:26 +03:00
yairm210
c9f5b94993 Update gradle libraries 2024-09-05 21:50:18 +03:00
yairm210
16bca8d562 4.13.5 2024-09-05 21:32:07 +03:00
yairm210
4a9739a643 Modding: "Costs [amount] [stockpiledResource]" construction accepts conditionals 2024-08-23 16:22:49 +03:00
yairm210
072c3786c4 Added "upon damaging a [mapUnitFilter] unit" which can trigger a unique on the *enemy* unit! 2024-08-22 10:28:48 +03:00
yairm210
f6efdd105f All unit trigger uniques start with a targetting parameter 2024-08-22 01:21:38 +03:00
yairm210
3798dadad4 4.13.1 2024-08-21 23:25:36 +03:00
yairm210
43b0c9bbad Temporary unit statuses! Can be applied with "This Unit gains the [promotion] status for [positiveAmount] turn(s)" trigger unique
Example: "This Unit gains the [Morale] status for [1] turn(s) <for [1] movement> <for units without [Morale]>"
2024-08-21 09:32:07 +03:00
yairm210
ec462f9e86 Fixed unique documentation not updating 2024-08-20 09:08:07 +03:00
SomeTroglodyte
65a99e23fd
Enhance modding freedom for Natural Wonders (#12062)
* Allow omitting `turnsInto` on Natural Wonders

* Support a wider range of parameters on NaturalWonderConvertNeighbors*

* Extend docDescription

* Good suggestion

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2024-08-06 10:10:29 +03:00
yairm210
ea1073c208 chore: TranslatedSelectBox doesn't need a skin parameter when it always uses the default anyway 2024-07-11 16:54:19 +03:00
yairm210
b58b73a790 Added "Can only start games from the starting era" conditional, "if [buildingFilter] is not constructed" unique 2024-07-11 16:34:03 +03:00
yairm210
51dbb3e6ed Modding docs: Show uniques on all targets 2024-07-11 10:05:37 +03:00
SomeTroglodyte
8da58ed34a
Add a Unique allowing an Improvement to specify which Resource(s) it improves (#11718)
* Linting

* Add UniqueType.ImprovesResources

* Address reviews and extensive Kdoc

* Oops, better include the generated stuff
2024-06-27 23:26:14 +03:00
yairm210
54d872045c Better "Withdraws before melee combat" unique 2024-06-26 00:17:06 +03:00
yairm210
0a19cfb739 Resolved #11829 - "after [amount] turns" -> "after turn number [amount]", "before [amount] turns" -> "before turn number [amount]" 2024-06-25 16:09:18 +03:00
yairm210
2093761e2d Resolved #11829 - "after [amount] turns" -> "after turn number [amount]" 2024-06-25 16:01:57 +03:00
Yair Morgenstern
39de50829a Resolve #11795 - fix performance problem for displaying air units in cities 2024-06-24 23:53:36 +03:00
Yair Morgenstern
109955c523 Simplified DispatcherVetoer, explained dispatcher 2024-06-19 00:37:07 +03:00
Yair Morgenstern
79be14e291 Resolved #11082 - Added "Will not be replaced by automated units" unique 2024-06-17 23:12:50 +03:00
SomeTroglodyte
d39c7a97bf
Use Events for the floating "Tutorials" (#11717)
* Split off reuses of CityStateIcons/Cultured to allow modding separately

* Reposition floating tutorials in case the TopBar moved its buttons

* Event definition, art and basic support

* Split off Event rendering from AlertPopup

* Support Event presentation modes and replace hardcoded floating tutorials

* "Meet another civilization" art - can't find any better

* Tweak TranslationFileWriter and some polishing
2024-06-10 22:22:18 +03:00
Yair Morgenstern
be3260d770 History command no longer breaks on autocomplete sometimes 2024-06-10 22:19:21 +03:00
Yair Morgenstern
2f8b8ca974 4.11.18 2024-06-08 23:33:38 +03:00
Yair Morgenstern
68e29e9c53
"(modified by game speed)" modifier (#11696)
* "(modified by game speed)" modifier

* Added missing flags

* Fixed G&K ruleset
2024-06-08 21:58:52 +03:00
SomeTroglodyte
e276a08d61
UniqueParameterType getErrorSeverity/isKnownValue architecture simplification (#11701)
* UniqueParameterType getErrorSeverity/isKnownValue simplification

* Minor changes to a few UniqueType documentations

* Allow UnitsGainPromotion e.g. "[Melee] units gain the [Morale] promotion"
2024-06-08 21:58:38 +03:00
yairm210
1296b16f90 4.11.17 2024-06-04 18:18:49 +03:00
SomeTroglodyte
7e3bbb6053
A ModOptions unique allowing a mod to control which map gets preselected (#11468)
* Minor linting

* UniqueType.ModMapPreselection
2024-06-04 18:00:29 +03:00
yairm210
bdb0dcef65 Resolved #11675 - Unavailable techs work well with tech picker screen 2024-05-31 19:06:12 +03:00
yairm210
5404b97009 4.11.16 2024-05-30 00:07:01 +03:00
Yair Morgenstern
11cee77fb9
"for every [countable]" unique modifier (#11641)
* "for every [countable]" unique modifier

* detekt fix

* Test city-unique edge cases
2024-05-27 12:32:12 +03:00
PLynx
cd9db42672
Added the culture-refunding remove policy unique (#11538) 2024-05-14 11:00:16 +03:00
Yair Morgenstern
d41a18ecd4 More movement uniques that have problems with conditionals 2024-05-05 20:39:48 +03:00
Yair Morgenstern
dee12bf23d 4.11.10 2024-05-04 21:51:28 +03:00