28751 Commits

Author SHA1 Message Date
Pentarctagon
08cc17ac1a Put this in the right textdomain. 2022-07-01 10:21:39 -05:00
Pentarctagon
e3fbf930f3 Whitespace fixup. 2022-07-01 10:21:39 -05:00
Pentarctagon
536eaa67b4 Move hero string macro text into their definitions. 2022-07-01 10:21:39 -05:00
Pentarctagon
b15c3420d3 Remove silly GUI macro. 2022-07-01 10:21:39 -05:00
Pentarctagon
0ca5a97d1f Move mainline string macro text into various definitions. 2022-07-01 10:21:39 -05:00
Pentarctagon
d7fa23abc5 Move effect string macro text into various definitions. 2022-07-01 10:21:39 -05:00
Pentarctagon
df99280274 Move artifact string macro text into artifact definitions. 2022-07-01 10:21:39 -05:00
Pentarctagon
3eb75b3e48 Remove some training.cfg one-liner macros. 2022-07-01 10:21:39 -05:00
Pentarctagon
875c6e0cf1 Remove WORLD_CONQUEST_II_CAMPAIGN_RESOURCE from its own file. 2022-07-01 10:21:39 -05:00
Pentarctagon
159396fdc0 Remove one-liner macros used once within the same file. 2022-07-01 10:21:39 -05:00
Pentarctagon
d472e2acb0 Remove factions/random.cfg and its macro. 2022-07-01 10:21:39 -05:00
Pentarctagon
ff5f795663 Remove factions/strings.cfg and related macros.. 2022-07-01 10:21:39 -05:00
Pentarctagon
0b6eb2a6e0 Remove config.cfg and era-related single use macros. 2022-07-01 10:21:39 -05:00
Tahsin Jahin Khalid
4252fad434
Update Death Squire and Bone Knight units (#6820)
* Death Squire, Bone Knight: rename files
* Bone Knight, Death Squire, Skeleton Rider: attack icon change
* Bone Knight: stats adjust
2022-07-01 02:41:03 -04:00
Astrid Halberkamp
4878c3565e
Add the Skeleton Rider line and Death Squire to core (#6088) 2022-06-30 23:34:17 -04:00
Tommy
613f047c1e Remove hex_brightening config option
It is not used, and appears to have been unused for a long time.
It was related to mouseover hex brightening, but the brightening
amount is hardcoded. There were associated hex_semi_brightening,
mouseover_image and selected_image keys, but that info is also
hardcoded, and those keys appear to have been removed already.
2022-07-01 15:06:25 +12:00
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