656 Commits

Author SHA1 Message Date
mattsc
7c34313a41 AI: remove attack_depth settings from mainline campaigns
The attack_depth aspect has not done anything in a long time.
2018-11-16 06:45:40 -08:00
Celtic Minstrel
639787e1c9 Merge pull request #2562 from wesnoth/schema 2018-11-11 13:52:19 -05:00
gfgtdf
9966f813b8 fix lua error in 2p_Dark_Forecast 2018-10-28 14:07:07 +01:00
Celtic Minstrel
b06259811d ANL: Remove needless silent= key from [object]s
The silent key is meaningful only when using the [object] as ActionWML.
None of these are used thusly, so it does nothing.
2018-10-23 22:39:34 -04:00
Celtic Minstrel
703d0c3cf4 Fix erroneous/useless [event] in [titlescreen_music], [lobby_music], [editor_music]
The playlist macros set the music list twice, once before the
story screen and again in prestart, but the order of tracks is different.

This means that the track order at the titlescreen and in the lobby is now the same
as the track order in a scenario using the default playlist, which previously was not the case.

Similarly, the track order in the editor is now the same as the track order
in a scenario using the full playlist.

Whether that actually matters? I have no idea. I doubt it.

In any case, as of this commit, there are no schema validation errors
at the title screen, when entering the MP Create screen, or in the map editor.
2018-10-23 22:38:19 -04:00
gfgtdf
c70143077c fix test_lua_mapgen.lua after and -> all rename 2018-10-22 19:28:09 +02:00
gfgtdf
42920cbc88 rename and,or,nor ->all,any,none in luafilters
these come closer to their actual meaning and also are not lua keywords
which might come in hand later, in particular we can now replace the
f_and, f_or,f_terrain, with f.all, f.any, f.terrain if we want.
2018-10-20 13:29:25 +02:00
gfgtdf
45a09464e1 add examplecode for the new lua mapgen features. 2018-10-20 13:29:22 +02:00
Severin Glöckner
f6f7572126 ANL: fix village gold being too low
[ci skip]

(cherry-picked from commit 09f418bdd84838d0230e3d01779c4f567637ece2)
2018-10-07 03:25:15 +00:00
Severin Glöckner
4d15d7e601 ANL: remove superfluous temp variables
The other variables in that event are not needed either, left them in for
readability for the time being.

[ci skip]

(cherry-picked from commit 7a29fc15b4a09837f4eaa2242ab5db4b230f4ef0)
2018-10-07 03:24:59 +00:00
Severin Glöckner
5aaccf2d2a MP Tombs of Kesorak: adjust comment, avoid darkening overlay
A better image is needed, I remove the darkening overlay, because it would be
missleading when a Mage of Light affects this field.

[ci skip]

(cherry-picked from commit 0ef3c0d5f94f895c65598aee36d9ffde63d5766b)
2018-10-07 03:24:59 +00:00
joeylmaalouf
b96ff34df4 Allow ties to be reported as such in the turns_over_advantage calculation (fixes #1341)
(cherry-picked from commit 3d481c1b8b918a4b3914465679c98d4a3c9dbd28)
2018-10-07 03:24:49 +00:00
Severin Glöckner
c2d09e9763 fixup, use same capitalization
[ci skip]

(cherry-picked from commit c3227f53d75512e2a2ea6fdbe18f499e2de6577b)
2018-10-07 03:24:24 +00:00
Severin Glöckner
8a90f814ba ANL worker: converting to flatland is not the same as creating a farm
Farms have a multi turn cycle:
1) crate farm (converts to Re)
2) end turn on the filed to harvest (Re has been automatically converted)
3) convert to grasland [othrwise the fields remains unusable for building]

Step 3 was labeled the same as step 1.

[ci skip]

(cherry-picked from commit 1867274d25993d465c74dda528381895e79de7ae)
2018-10-07 03:24:23 +00:00
Severin Glöckner
27f6be9a37 use & to denote team setup in MP
code it as & to avoid a pango warning in stderr
3ec26df changed it previously to '+' to work around that warning
also change it for the untranslatable strings in the credits
[ci skip]

(cherry-picked from commit cd5b3f785e137f66f9d282c8348a6ad877e48d2f)
2018-10-07 03:24:07 +00:00
Iris Morelle
31aaabb92e Fix excessive dots in ellipses in several mainline scenarios
[ci skip]

(cherry-picked from commit de8d468b14119d7486bbbb782a2aabce1b650991)
2018-10-07 03:23:15 +00:00
Severin Glöckner
40dc80f02f slight text edits
- missing dots in some MP strings
- superfluous space in some MP strings
-ran wmlinden on UtBS scenarios

[ci skip]

(cherry-picked from commit 5bd6221c44d1523b210bf9eaa5cf693cde350221)
2018-10-07 03:23:13 +00:00
Severin Glöckner
9cacb51351 Replace deprecated macro with terrain code in MP: Tombs of Kesorak
[ci skip]

(cherry-picked from commit 2a5ea00ad04f5b879ab316aae9578c29378eabb8)
2018-10-07 03:23:13 +00:00
Severin Glöckner
8508964935 Change campfire timezones in MP: Tombs of Kesorak
Instead of having another ToD, the image of the current ToD is used,
but illuminated. This is a visual change, no gameplay changes included.

For the always dark one exists no immage, uses one from after the fall,
with slightly adjusted ToD shifting as it looked to weak.

The 1 hex small campfires look best with dusk.

part of #3056

[ci skip]

(cherry-picked from commit f5890c10a21451b0477ca13956bb6f9124ce621e)
2018-10-07 03:23:13 +00:00
mattsc
f48f566afd Lua code: replace deprecated helper.[gs]et_variable_array() calls
(cherry-picked from commit 3c792fc7d774c96ef467847a6267a71a2f731f96)
2018-10-07 03:21:09 +00:00
mattsc
4586e04eca Lua code: replace deprecated helper.child_range() calls
(cherry-picked from commit 7c137e1a336559acdd6f797192a9516135480b2e)
2018-10-07 03:21:09 +00:00
mattsc
0e017d9f7c Lua code: replace deprecated wesnoth.set_variable() calls
(cherry-picked from commit ce7faae4f41f23f1d1f61d2b4f5ca95d4ce4f89a)
2018-10-07 03:21:07 +00:00
mattsc
05d5afa6a9 Lua code: replace deprecated wesnoth.get_variable() calls
(cherry-picked from commit f1764d182fe33c4e29c6bd42761be2e946cd0c94)
2018-10-07 03:21:06 +00:00
gfgtdf
bbe817086c fix lua error in 2p_Dark_Forecast 2
(cherry-picked from commit 438ca7bc1ee0e2c6e6b1dd6c97e409b2785f380b)
2018-10-07 03:19:51 +00:00
Severin Glöckner
5621fbb643 Dark Forecast: fix untranslatable string by
reusing the one from the Campaign Selection Menu

[ci skip]

(cherry-picked from commit 8657fdb9a39f6556fb236d45e451a91c547852af)
2018-10-07 03:19:40 +00:00
Charles Dang
20493dc07c ANL: removed unused macro (closes #2878)
[ci skip]

(cherry-picked from commit 90d45dcf074aaf6e2f118abba81103999a17521a)
2018-10-07 03:19:09 +00:00
Severin Glöckner
28c58d0e21 remove unneded keys
[ci skip]

(cherry-picked from commit 533c7e9822b097fd8cc7502d8362d0345b29d022)
2018-10-07 03:19:08 +00:00
Iris Morelle
d7db76308e Add team colouring to some Aethermaw props missing it
[ci skip]

(cherry-picked from commit 8c97458a76b1a7303e23c2008cb069b0ffdd6724)
2018-10-07 03:19:07 +00:00
ln-zookeeper
8b4032436c ANL: Fixed scenario brokenness stemming from force_lock_settings=yes
[ci skip]

(cherry-picked from commit d0a2fde239d86d9d539846e001f96f342383ad0d)
2018-10-07 03:18:41 +00:00
Celtic Minstrel
1123c8a707 Remove some uses of set_wml_tag_metatable
(cherry-picked from commit 3939c332b908e9c9a4672688b4e0ef8095fc66ca)
2018-10-07 03:18:29 +00:00
Severin Glöckner
733f40f40f correct side names in on of the new MP maps (the last of them)
closes #2453 [ci_skip]
2018-03-12 03:54:08 +01:00
Charles Dang
471c9e876a Addressed a large chunk of the whitespace issues from #2613
[ci skip]
2018-03-09 11:37:00 +11:00
sigurdfdragon
e22330056f MP: Remove accidental inclusion of incorrect unit as leader option
[ci_skip]

Saree were never a leader option to begin with.
2018-02-28 19:11:47 -05:00
catagent101
ff6fcb803d Fix 2p - Clearing Gushes team names
On this map, side 1 starts at the bottom, while side 2 starts at the top. The naming of the teams assumed the opposite. Another check mark on issue #2453.
2018-02-10 01:58:52 +11:00
Charles Dang
fc57178aaf ANL: used Off-Map terrain instead of the massive expanse of ice
[ci skip]
2018-02-08 10:31:42 +11:00
Severin Glöckner
7bf479817e MP: refactor time schedules in Tombs_of_Kesorak
[ci skip]
2018-02-06 22:30:37 +01:00
Severin Glöckner
3eb2ccac53 MP: fix the recently added map Tombs_of_Kesorak
[ci skip]
2018-02-06 22:30:31 +01:00
Matthias Krüger
b11d3fdcbe fix a bunch of typos found by codespell in data directory.
https://github.com/lucasdemarchi/codespell
2018-02-06 23:03:06 +11:00
Severin Glöckner
4c8b3edd6d MP: 2p Silverhead Crossing - minor adjustments
- after the change to the tentacle, adjust HP to match 500 again
- let the teamname more sound like an easter egg
- apply the same lock settings as to similar scenarios

[ci skip]
2018-02-05 21:26:30 +01:00
Severin Glöckner
1ff652a1fe MP 6p Team Survival: lock teams in standard gameplay
Because there are just two, and nobody should join the AI team
When playing without default settings all kind of team combinations are possible

[ci skip]
2018-02-05 20:32:26 +01:00
Severin Glöckner
ae17a8d38e MP: add alot of xxx_lock setting
In these cases they have only in limited situations an effect:
In normal play the sides are hidden, if not using map settings they are ignored,
so this mostly only has an effect if starting the game in debug mode an using map
settings.

Other ones revert acidental changes caused by force_lock_settings.
fore_lock_settings does not only disallow the player to modify the settings,
but does also serve as default value for all the other lock settings.
2018-02-05 20:32:26 +01:00
Charles Dang
4f68df28ff ANL: added team and enemy leader names (fixes #2442)
[ci skip]

Also made side 9 hidden. Sevu/shiki's nicknames used with permission.
2018-02-05 16:44:55 +11:00
Severin Glöckner
12039f3bfc MP: added some keys to scenarios with AI sides
Namely disallow_observers and user_team_name which is displayed in debug mode

The prisoners in ANL are now allied with the player

[ci skip]
2018-02-05 00:57:28 +01:00
Severin Glöckner
9cdd0242d5 ANL: disallow observers for AI sides
[ci skip]
2018-02-05 00:05:22 +01:00
Severin Glöckner
e260fe9543 6p Team Survival: fix terrain mask
This one has been overlooked in an earlier change

(closes #2440)

[ci skip]
2018-02-04 23:02:30 +01:00
Charles Dang
36bd8dba8a Multiplayer: wmlindent run
[ci skip]
2018-02-05 04:00:09 +11:00
Charles Dang
1b79cb65f2 ANL: removed a bunch of duplicate allow_player= keys
[ci skip]
2018-02-05 04:00:08 +11:00
Severin Glöckner
02c79cf176 Dark Forecast: lock team selection
[ci skip]
2018-02-04 16:27:17 +01:00
Severin Glöckner
762ec56e06 Dark Forcast: reanable solo playmode
force_lock_settings did also force controller_lock=yes

[ci skip]
2018-02-04 02:40:21 +01:00
pentarctagon
dc21c42683 Renames the Dunefolk(formerly Khalifate) units based on forum discussions.
See this thread, along with a few linked within:
https://forums.wesnoth.org/viewtopic.php?f=12&t=47704

The purpose of this is both to:
a) Make the unit names more descriptive, so new players especially will have an easier time learning them and knowing what they do.
b) Make them eligible for translation, like the units of other factions are.

This commit only renames the files, along with the faction/AoH faction and wmllint.
2018-02-04 11:46:50 +11:00