Celtic Minstrel
9ade435cd4
Remove WC's custom Pick Your Advancements mod ( #6807 )
2022-06-29 19:29:04 -04:00
Pentarctagon
1244639dc7
Fix whitespace.
2022-06-28 23:34:27 -05:00
Celtic Minstrel
a089c6e5ea
Deprecate {AI_CA_POISONING}
...
This was already effectively deprecated by proxy due to the overall deprecation of FormulaAI.
So this just adds a message.
2022-06-28 23:07:50 -04:00
mattsc
38978feadd
Schema: allow key values to be variables
2022-06-28 09:47:11 -05:00
mattsc
6fcca95be0
Schema: Add missing path key to [textdomain]
2022-06-28 09:47:11 -05:00
mattsc
07d8a55d17
Merge pull request #6802 from mattsc/mai_parms_tests
...
Add Micro AI parameter checking
2022-06-28 06:21:31 -07:00
Tahsin Jahin Khalid
1ef94ce7e3
units/javelineer: add missing special notes
2022-06-27 23:34:08 -05:00
Tahsin Jahin Khalid
b541b4cb23
world conquest: fix bezoar artifact being bugged ( #6515 )
2022-06-27 23:33:55 -05:00
Celtic Minstrel
a7755749e3
WC: Fix a typo
2022-06-27 23:46:09 -04:00
mattsc
0092c141d2
Micro AIs: fix image paths
2022-06-27 20:21:28 -07:00
mattsc
2f3f70a709
Micro AIs: add warning messages if invalid parameters are used
2022-06-27 20:21:21 -07:00
mattsc
21475ced4f
Micro AIs: add error messages if parameters are of wrong type
...
Fixes #6408 .
2022-06-27 20:20:06 -07:00
larry_the_cow
8d91bc69a2
[harm_unit] fix secondary_attack animation
2022-06-27 23:17:31 -04:00
mattsc
a70ecf1ff5
Merge pull request #6783 from mattsc/expai_updates
...
Some fixes to the Experimental AI
2022-06-24 16:37:59 -07:00
mattsc
6796ac3d56
Merge pull request #6792 from mattsc/retreat_allied_villages
...
Fix retreat injured CA taking allied villages
2022-06-24 16:31:15 -07:00
mattsc
b55148ce91
Retreat injured CA: fix for regenerate ability without value key
...
The ability does not need to contain a value key if it only heals poison.
2022-06-24 16:03:51 -07:00
Celtic Minstrel
666571caa2
Fix load_string() ignoring the passed chunk name ( #6794 )
...
Complete with a unit test!
The test results in PASS_BY_VICTORY if it fails,
which is a bit weird, but it does work.
2022-06-24 01:49:28 -04:00
mattsc
c1d1ff517a
ExpAI recruit rushers: include unit types from extra_recruit
...
This fixes #4924 . Note, however, that the recruit rushers CA is set up for single-leader sides and does not work with multiple leaders, so this is of limited use.
2022-06-22 16:31:39 -07:00
mattsc
7877218158
Deprecate generic_recruit_engine.lua
2022-06-22 16:31:39 -07:00
mattsc
45ac8de582
ExpAI recruit rushers: new parameter reset_cache_each_turn
...
Many of the operations of the recruit rushers CA are expensive and are therefore cached. For the most part, this cache can be kept from turn to turn, but in case there are events that change, for example, the map or the recruit list, this parameter can be used to force a reset of the cache each turn.
2022-06-22 16:31:39 -07:00
mattsc
561314b0f6
ExpAI recruit rushers: do not parse side __cfg each eval
2022-06-22 16:31:38 -07:00
mattsc
dfde09c174
ExpAI recruit rushers: reset recruit_data.recruit each turn
...
While most data in recruit_data can stay persistent from turn to turn, some of recruit_data.recruit, such as enemy_types, needs to be updated each turn.
2022-06-22 16:31:38 -07:00
mattsc
e4b776cbb8
ExpAI: do not use generic_recruit_engine
...
This removes the need for the Generic Recruit Engine and makes Recruit Rushers a "clean" candidate action. In the process, it fixes a bug of data leakage between the Experimental AIs of different sides.
2022-06-22 16:31:28 -07:00
mattsc
b9506ff795
Retreat injured CA: allow taking ally villages when aspect is set
2022-06-22 08:16:31 -07:00
mattsc
ce9ba142bc
Add new AI aspect allow_ally_villages
2022-06-22 08:00:50 -07:00
mattsc
2b3824f44c
Retreat injured CA: do not take villages from ally
2022-06-22 07:51:46 -07:00
Celtic Minstrel
be8783154e
Add event unit tests for dynamic filters and names ( #6785 )
2022-06-21 22:25:01 -04:00
mattsc
fdb931bb16
Remove Lua AI code deprecated at level 3 in 1.15
2022-06-21 19:15:00 -07:00
Elvish_Hunter
f1fb3a73a8
wmlunits: used os.path.join() to build paths instead of string concatenation
2022-06-21 18:29:57 +02:00
Celtic Minstrel
1af084515f
Exclude deprecated things from dir()
2022-06-20 20:54:28 -04:00
Celtic Minstrel
d104a81269
Lua API: Make the WML module dir-friendly
2022-06-20 20:54:28 -04:00
Elvish_Hunter
b1c6029917
wmlunits: used shutil.move() instead of calling mv as a subprocess
...
This also means moving files in a more pythonic way and removing two functions (bash and shell) which aren't used anywhere else.
2022-06-20 23:24:47 +02:00
Wedge009
c3c47f828d
Standardise spacing (again).
...
[ci skip]
2022-06-20 11:58:47 +10:00
doofus-01
3e6e15207c
1.17 fauna work ( #6768 )
...
* add level 2 caribe
* update the fluff for caribes
* make caribes more different-looking
* remove Giant Stoat
* alternative cuttlefish melee attack anim
* sea serpent defend anim
2022-06-19 18:56:24 -07:00
Wedge009
f00ee60cbf
Spelling correction + standardise spacing.
...
[ci skip]
2022-06-20 09:11:59 +10:00
Gunter Labes
ff4a3bb5ff
Remove reduntant check on s2
2022-06-19 21:52:25 +02:00
Celtic Minstrel
2de3246915
Add font scaling back as an advanced preference for now.
...
This gives an opportunity for people to try it out and maybe improve it. It can be removed again before 1.18 if deemed unsuitable at that time.
2022-06-19 14:38:45 -04:00
Pentarctagon
5857964d61
1.17.5+dev.
2022-06-19 09:07:13 -05:00
Pentarctagon
f6cfad7b50
1.17.5.
2022-06-19 09:07:13 -05:00
Pentarctagon
44e38ae552
pot-update and regenerate doc files.
2022-06-19 09:07:12 -05:00
Nils Kneuper
253436b9a8
updated arabic translation credits
2022-06-19 11:31:08 +02:00
Elvish_Hunter
d16557bae1
wmlscope: used an enumerator instead of strings in scan_for_definitions() state checks
2022-06-18 19:06:07 +02:00
Elvish_Hunter
cfbad6b81c
wmlscope: avoid crashing on non-UTF8 files
2022-06-18 19:06:07 +02:00
Celtic Minstrel
473c6e468e
Fix wmlindent quote detection ( #6764 )
...
* wmlindent: Fix parsing quotes in comments
* Remove unnecessary wmlindent ignores
* Run wmlindent
2022-06-18 09:37:55 +02:00
Tommy
cf4c265fc3
Fix wmlindent complaint.
2022-06-17 03:31:10 +12:00
Tommy
8380e018f5
Fix low-res themes during replay.
...
This was mentioned as a comment in #5620 .
2022-06-17 03:02:38 +12:00
Tommy
9615236ae0
Fix low-res editor themes.
...
Fixes #5620 .
2022-06-17 02:04:42 +12:00
Tommy
91fd53ac45
Fix "End Turn" button placement on low-res themes.
...
Fixes #6544 .
I am not sure how this was even remotely working as it was.
2022-06-17 02:04:42 +12:00
Tommy
9e6762690c
SoTA: Fix zombie recruit dialog string concatenation
2022-06-15 18:54:44 +12:00
Tommy
c5eaa69fd8
SoTA: Fix zombie recruit dialog error.
...
There was an error complaining that horizontal_grow and
horizontal_alignment cannot both be set. I removed horizontal_grow
in favour of horizontal_alignment. I do not see any visible difference
in the dialog.
2022-06-15 18:54:44 +12:00