Commit Graph

239 Commits

Author SHA1 Message Date
45fc67df29 4.13.16 2024-10-13 23:01:55 +03:00
6f0babb393 4.13.15 2024-10-10 23:18:23 +03:00
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
2a8f0be257 4.13.12 2024-09-28 22:13:05 +03:00
9c7e5b3ae6 Resolved #11832 - re-activate Thai language, now with diacritic support 2024-09-23 23:53:59 +03:00
916317a048 Allow comment uniques and timed uniques in event choices 2024-09-23 18:39:26 +03:00
c9f5b94993 Update gradle libraries 2024-09-05 21:50:18 +03:00
16bca8d562 4.13.5 2024-09-05 21:32:07 +03:00
4a9739a643 Modding: "Costs [amount] [stockpiledResource]" construction accepts conditionals 2024-08-23 16:22:49 +03:00
072c3786c4 Added "upon damaging a [mapUnitFilter] unit" which can trigger a unique on the *enemy* unit! 2024-08-22 10:28:48 +03:00
f6efdd105f All unit trigger uniques start with a targetting parameter 2024-08-22 01:21:38 +03:00
3798dadad4 4.13.1 2024-08-21 23:25:36 +03:00
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
ec462f9e86 Fixed unique documentation not updating 2024-08-20 09:08:07 +03:00
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
ea1073c208 chore: TranslatedSelectBox doesn't need a skin parameter when it always uses the default anyway 2024-07-11 16:54:19 +03:00
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
51dbb3e6ed Modding docs: Show uniques on all targets 2024-07-11 10:05:37 +03:00
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
54d872045c Better "Withdraws before melee combat" unique 2024-06-26 00:17:06 +03:00
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
2093761e2d Resolved #11829 - "after [amount] turns" -> "after turn number [amount]" 2024-06-25 16:01:57 +03:00
39de50829a Resolve #11795 - fix performance problem for displaying air units in cities 2024-06-24 23:53:36 +03:00
109955c523 Simplified DispatcherVetoer, explained dispatcher 2024-06-19 00:37:07 +03:00
79be14e291 Resolved #11082 - Added "Will not be replaced by automated units" unique 2024-06-17 23:12:50 +03:00
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
be3260d770 History command no longer breaks on autocomplete sometimes 2024-06-10 22:19:21 +03:00
2f8b8ca974 4.11.18 2024-06-08 23:33:38 +03:00
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
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
1296b16f90 4.11.17 2024-06-04 18:18:49 +03:00
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
bdb0dcef65 Resolved #11675 - Unavailable techs work well with tech picker screen 2024-05-31 19:06:12 +03:00
5404b97009 4.11.16 2024-05-30 00:07:01 +03:00
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
cd9db42672 Added the culture-refunding remove policy unique (#11538) 2024-05-14 11:00:16 +03:00
d41a18ecd4 More movement uniques that have problems with conditionals 2024-05-05 20:39:48 +03:00
dee12bf23d 4.11.10 2024-05-04 21:51:28 +03:00
a13f71e654 Added victoryType conditionals (#11542) 2024-05-04 21:03:22 +03:00
43e38e3869 4.11.4 2024-04-12 00:10:52 +03:00
ef9965e218 Espionage Uniques, Buildings and Policy (#11401)
* Added OneTimeSpiesLevelUp, OneTimeGainSpy, SpyEffectiveness, EnemySpyEffectiveness and HiddenWithoutEspionage Uniques

* Spy effectiveness affects stealing tech and rigging elections

* Fixed HiddenWithoutEspionage

* Added Constabulary and Police Station

* Added cityFilter to SpyEffectiveness

* Added national Intelligence agency

* Added Great Firewall

* Fixed great firewall having a float value

* EspionageManager addSpy now returns Spy instead of name

* Added some simple espionage tests

* Fixed OneTimeSpiesLevelUp still wanting parameter

* Spy efficiency occurs after skill modifier

* Added another test

* Added Police State spy efficiency reduction unique

* Fixed "Hidden when espionage is disabled" wording

* Fixed "effectiveness" wording

* Changed "enemy spy effectiveness" unique to use negative matters

* Spy effectiveness only affect tech steal rate

* Changed "Gain an extra spy" and "Promotes all spies" uniques

* Removed Police State comment that is no longer accurate

* Changed spy effectiveness to be multiplicative
2024-04-09 23:12:21 +03:00
d1606cdcb9 Added triggerable unique to remove policy (#11405)
* Added triggerable unique to remove policy

* Revert a completed branch to incomplete state

* Fixed grammatical error
2024-04-07 11:28:25 +03:00
0caf0cb4fa Add configurable natural wonder discovery stat bonuses (#11249)
* Added configurable natural wonder discovery stats

* Shortened the code

* Updated the base rulesets with new unique

* Updated the El Dorado unique

* Applied the suggestions

* Reintroduced the implementation for deprecated uniques

* Changed tile.naturalWonder to naturalWonder
2024-04-04 23:39:31 +03:00
c2a2bcb417 4.11.0 2024-04-01 14:22:17 +03:00
5e89e2f46d Countable comparison conditional uniques (#11308)
* Added the countable comparison conditional uniques

* Applied the suggestions of yairm

* Minor wording change
2024-04-01 12:01:20 +03:00
c4f05b9a42 4.10.19 2024-03-15 12:01:44 +02:00
0eb79c5209 4.10.18 2024-03-13 23:31:22 +02:00
fc1e701c7f Add the unfiltered version of new era unique (#11255)
* Added the unfiltered version of new era unique

* Changed some strings according to yairm suggestions
2024-03-13 23:13:11 +02:00
1558a1dc6f Version rollout (#11282)
* Bump version and create initial changelog entry

* Update Catalan.properties (#11281)

* Create Norwegian.properties (#11275)

* Create Norwegian.properties

Created Norwegian.properties and some translations.

* Update Norwegian.properties

Updated and added more translations.

* Update Norwegian.properties

Added missing placeholders [civName], [city], [amount], and [mod], as well as a couple new translations.

* Update completionPercentages.properties

Added 'Norwegian = 0' to the percentages.

* Create folder /no/

Created the folder /no/ with the description files in Norwegian.

* Delete fastlane/metadata/android/no directory

Wrongfully created the folder and files.

* Update Norwegian.properties

Added Fastlane descriptions, other translations

* Added Norwegian.png

* Delete android/Images.Flags/FlagIcons/Norwegian.png

Removed for wrong size

* Create Norwegian.png

Correct size for Norwegian flag.

* Update Czech.properties (#11273)

* Translation part 1

* Translation part 2

* Translation part 3

* Fix brain not braining moment

* Translated Wesnoth map import lines

* Update French.properties (#11271)

* Update Italian.properties (#11270)

* Update Brazilian_Portuguese.properties (#11266)

* Update Brazilian_Portuguese.properties

* Update Brazilian_Portuguese.properties

* Update Indonesian.properties (#11265)

* Update Indonesian.properties

Added and fixed the translation.

* Update Indonesian.properties

* Add the Conditional Unique for checking speed (#11260)

* Added the conditionalSpeed unique

* Changed the unique wording

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Floxudoxu <67422605+Floxudoxu@users.noreply.github.com>
Co-authored-by: jahodovykolac <79529669+jahodovykolac@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: M792003 <158552928+M792003@users.noreply.github.com>
Co-authored-by: PLynx <pawelrys2011@gmail.com>
2024-03-09 23:07:39 +02:00
20b4e6674b Events! (#11276)
* Events!

* Whoops

* Resolved #11277 - "Upon turn end" also works for unit uniques
2024-03-09 21:26:45 +02:00