78482 Commits

Author SHA1 Message Date
Pentarctagon
cb5f45cae6
Remove left over paramiko usage from dockerfiles. 2021-03-07 16:49:22 -06:00
mattsc
b56a44ed66 ExpAI recruiting: prevent potential divide-by-zero 2021-03-07 14:46:04 -08:00
Iris Morelle
703e7e3664 campaignd: Add log-related FIFO commands
This adds 'log <severity> <comma-domain-list>' to change the log level
for one or more log domains without restarting the server, 'log precise
on/off' for changing the timestamp precision setting, and 'timings
on/off' for changing the request servicing timing reports setting.
2021-03-07 16:26:11 -03:00
mattsc
373559b6bf Protect Unit Micro AI test scenario: fix deprecated WML 2021-03-06 16:45:57 -08:00
Celtic Minstrel
37fde7aaee
Allow hex references to hold auxiliary user values 2021-03-06 18:44:29 -05:00
mattsc
51e4b56a1e ai_helper.lua: fix a typo 2021-03-06 15:35:43 -08:00
mattsc
cadb233d6c Update some deprecated Lua uses 2021-03-06 15:08:54 -08:00
Celtic Minstrel
a2d7a26365
Fix several Lua issues, mostly unintentional globals (#5587) 2021-03-06 17:01:53 -05:00
Pentarctagon
3da6ce096b
Disable Windows github actions caching.
It already didn't work anyway, but now it seems to be actively causing problems by randomly failing due to lack of disk space. Though how it can only sometimes run out of disk space despite trying to cache the same thing every time, and when the runner instance is supposed to always have the same amount of disk space available, is anyone's guess.
2021-03-06 13:26:57 -06:00
mattsc
44e279cb2f Lua location_set: fix a variable name 2021-03-06 10:53:02 -08:00
mattsc
200f5dd913 Lua AI: do not add deprecated-syntax fetchers for new aspects 2021-03-06 10:05:14 -08:00
mattsc
d9e8f69718 Lua AIs: fix some incorrectly used variables
Fixes #5586
2021-03-06 09:53:53 -08:00
mattsc
cab4446580 Lua AI helper functions: remove trailing spaces 2021-03-06 09:53:27 -08:00
Celtic Minstrel
8562676615 This seems to fix the SIGILL on MacOS 2021-03-06 11:01:31 -05:00
Celtic Minstrel
9346c3c6b6 Oops, that wasn't supposed to be committed 2021-03-06 10:15:09 -05:00
Celtic Minstrel
a96fd147d1 Fix a crash if the cache gets corrupted 2021-03-06 10:07:52 -05:00
Nils Kneuper
9c85dd2de3 updated Chinese (Traditional) translation 2021-03-06 12:56:47 +01:00
Celtic Minstrel
9fb200e57a
Fix the schema 2021-03-05 22:17:41 -05:00
Celtic Minstrel
a12de1f90f Fix several races using the Markov name generator instead of the new CFG generator 2021-03-05 09:29:11 -05:00
Celtic Minstrel
93398ae3a4
Fix another syntax error 2021-03-04 23:43:24 -05:00
Celtic Minstrel
86c3c30c46
Fix a syntax error 2021-03-04 23:33:33 -05:00
Celtic Minstrel
3a7eef0310 Merge pull request #4580 from wesnoth/lua_gamemap
Refactor the game map to permit exposing it to Lua
2021-03-04 14:00:43 -05:00
mattsc
28ea6e82c6 Multipack Wolves MAI: fix error when a wolf is surrounded 2021-03-03 17:41:41 -08:00
mattsc
ea4657c6d4 Goto Micro AI: add remove_movement option
By default, the MAI removes movement points from units even when they cannot find a hex to move to.  When this option is set to 'no' (default is 'yes'), this step is skipped, so that other candidate actions can take over.

This implements feature request #5580
2021-03-03 12:49:35 -08:00
mattsc
7e8cedaea8
Merge pull request #5573 from mattsc/ca_retreat_injured
AI: Improve behavior of the retreat_injured CA
2021-03-03 08:22:21 -08:00
mattsc
043ee7a80b Protect Unit Micro AI: ensure units are on AI side
In general, the units specified in the MAI setup should be on the AI side.  However, that might change during a scenario, for example when there is an event that switches units to other sides.
2021-03-03 08:14:46 -08:00
Steve Cotton
0035b776d7
Handle empty children in patch_movetype (#5582)
In movetype::write, the children might not be created if that child has an
empty config; there might be no child at all for movetypes such as "none". The
movetype "none" is a real movetype defined in units.cfg for units that
shouldn't be able to move.

The original_cfg local variable was only used once anyway, removing it and the
comment made the code clearer.

This wasn't caught in the 1.15 testing, but with 1.14 it resulted in a
"mandatory WML child missing" warning.
2021-03-03 02:57:01 -05:00
doofus-01
0e449be887
UtBS - undead variations set for the rider/mounted Quenoths
Merge pull request #5584
2021-03-02 19:12:25 -08:00
Celtic Minstrel
7d7e367a8e Boost.Optional was still used in some places 2021-03-02 20:54:24 -05:00
doofus-01
ac7dc6f3e6 UtBS - undead variations for the rider/mounted Quenoths 2021-03-02 16:41:37 -08:00
Charles Dang
ba5f0d386f Fixed build on GCC 11 (fixes #5581) 2021-03-02 06:39:27 -05:00
nemaara
2845d34097 Add SotA balance to changelog 2021-03-02 02:36:45 -05:00
nemaara
3e59f2ef5b SotA: rebalance campaign 2021-03-02 02:36:20 -05:00
nemaara
d1461370aa Add SotBE balance to changelog 2021-03-02 00:36:03 -05:00
nemaara
df10b80cae SotBE: balance campaign 2021-03-02 00:35:40 -05:00
Steve Cotton
3522eb2c2a Support [terrain_defaults]'s original subtag names
This is preparation for backporting 0ba433203e, with the idea that both sets
of names will be supported in both branches.

No deprecation messages are added. While config::get_attribute_value() has a
config::get_old_attribute_value(), there isn't currently a similar utility for
config::child(); maybe I should add one now, but it feels too large a change
for a backport.
2021-03-02 00:22:32 +01:00
Elvish_Hunter
c1c80e3a7f wmllint: implemented Xol terrain conversion 2021-03-01 20:30:07 +01:00
Elvish_Hunter
780797e3bc wmllint: enable checks inside Lua [args] tags
Completes PR #5470
2021-03-01 18:43:03 +01:00
doofus-01
edd405fbff
Update Corpse_Soulless.cfg 2021-03-01 04:27:06 -08:00
doofus-01
1527f3174a
Update Corpse_Walking.cfg 2021-03-01 04:26:01 -08:00
doofus-01
69ad6cac51
Update changelog.md 2021-02-28 20:15:58 -08:00
doofus-01
17093158b1
Merge pull request #5551 from doofus-01/beastmountWC_20210215
units - Walking Corpse beast-rider (taurus) variation
2021-02-28 20:09:52 -08:00
doofus-01
a834c78728 units - soulless beastrider sprite, animations, and portrait 2021-02-28 19:26:19 -08:00
Celtic Minstrel
c7b2dcca3f Oh look, a deprecated thing that was missed sometime in the past 2021-02-28 18:16:33 -05:00
Celtic Minstrel
9d3bf196b0 Update everything to use the new wesnoth.map module
- get_terrain and set_terrain replaced with direct indexing operations
- get_map_size mostly replaced with either the iterator or an on_board call.
  Only a few cases really needed to know the size of the map for some other purpose.
- shroud and fog operations, village owner, time areas, and location filters
- get_terrain_info replaced with terrain_types table
- Map generation functions create_map and create_filter
2021-02-28 18:16:33 -05:00
Celtic Minstrel
6558c7981b Add a wesnoth.terrain_types table 2021-02-28 18:16:33 -05:00
Celtic Minstrel
cf71af4e11 Add a terrain hex reference API
This adds a metatable to all locations returned from wesnoth.map.find.
2021-02-28 18:16:32 -05:00
Celtic Minstrel
9cea078f9b Implement a map iterator 2021-02-28 18:16:32 -05:00
Celtic Minstrel
2054cf4acb Add on_board and on_border map methods 2021-02-28 18:16:32 -05:00
Celtic Minstrel
5a129cb570 Add wesnoth.map.get_hexes_in_radius 2021-02-28 18:16:31 -05:00