Commit graph

24919 commits

Author SHA1 Message Date
Severin Glöckner
51db9d01bf DiD S11, Sota S18: move unit type transformation to lua
[ci_skip]
2018-05-24 23:59:57 +02:00
Severin Glöckner
a24068ad02 DiD S11 & S12: transform all Mages instead of changing their advancements
This has the advantage that they use the same help page as newwly
recruited ons, and their advancement options are correctly shown there.

The transformation code is taken from SotA S18

[ci_skip]
2018-05-24 23:17:20 +02:00
Severin Glöckner
0f511e8e55 EI S11: use same approach as in 1e58164
to simplify scenario

[ci_skip]
2018-05-24 23:17:20 +02:00
Severin Glöckner
1e58164961 DiD: fix bug for units not being loyal anymore after leveling up
fixes #3163

[ci_skip]
2018-05-24 23:16:39 +02:00
Severin Glöckner
1315c660e7 Did S5: make campaign easier to debug
by moving an important change into it's own victory event

[ci skip]
2018-05-24 23:10:16 +02:00
Nils Kneuper
cb43b894ee updated Chinese (Simplified) translation 2018-05-24 21:33:53 +02:00
Charles Dang
c48a8e7edd Fixup 9bf7a4c (WFL comment syntax)
[ci skip]
2018-05-24 11:16:34 +11:00
Iris Morelle
f30634842e gui2/preferences: Add margin around the version info button
[ci skip]
2018-05-23 19:50:32 -04:00
Iris Morelle
e8c803d426 gui2/preferences: Add version info button
Also simplifies the layout of the bottom-most row of the dialog a bit.
2018-05-23 19:39:55 -04:00
Charles Dang
9bf7a4c8fb GUI2/Message: tweaked Magic Numbers to fix layout failure with large portraits
[ci skip]

Fixes #2912
2018-05-24 10:26:31 +11:00
ln-zookeeper
cdea2e70cf SoF S9: Removed garbage terrain code 2018-05-22 11:23:41 +03:00
ln-zookeeper
0de4a4c706 TRoW S15: Increased the amount of lvl2 units enemies recruit
This will make enemies recruit equally many lvl1 and lvl2 units, thus decreasing the amount of units overall and making it less feasible to last indefinitely due to hordes of lvl1 units blocking better damage-dealers from reaching player units.
2018-05-22 15:12:52 +11:00
ln-zookeeper
bd23bb3253 HttT S08: Increased Li'sar's income slightly 2018-05-22 15:12:51 +11:00
ln-zookeeper
856b8ce78b TSG S03: Made the scenario very subtly harder
Increased the number of bats/undead the enemy can recruit, and made the terrain east of the enemy camp more easily passable.
2018-05-22 15:12:50 +11:00
ln-zookeeper
c0583a1842 SoF S9: Fixed some issues with the volcano eruption (fixes #3099)
This merely patches the worst problems (multiple successive [endlevel] calls, inconsistent [endlevel] contents, recursive elf die event, lava fills visually broken); ideally the whole scenario should be rewritten and redesigned.

The mask changes only consist of re-sizing them to match the map size.
2018-05-22 15:12:49 +11:00
Charles Dang
8d3f54ce7c [remove_sound_source] now accepts a comma-separated ID list
[ci skip]

Lack of this pointed out by @shikadiqueen.
This change will also throw an error if id= is missing. Not sure if it did so before.
2018-05-22 14:55:34 +11:00
Iris Morelle
8ae38ac19f Do not allow [message] to scroll to units through fog/shroud
This was a regression from 1.12.
2018-05-21 23:23:06 -04:00
Iris Morelle
df782f5401 Fix broken TC in a north-facing standing animation frame for the Revenant
[ci skip]
2018-05-21 21:32:02 -04:00
Severin Glöckner
f291deb6cf LoW 2 S7 - fix repeated endlevel execution
[ci skip]
2018-05-21 18:31:16 +02:00
Severin Glöckner
69f17c775d name generators: update translation hint
[ci skip]
2018-05-21 08:52:05 +02:00
Iris Morelle
6eddc6f978 Remove door terrains that were supposed to be removed by 1.14
If someone was using these despite being hidden and everything they were
really asking to get shot in the foot at some point.
2018-05-20 23:08:43 -04:00
mattsc
a6c0012689 Experimental AI recruiting: use math.huge instead of 9e99 2018-05-20 14:55:17 -07:00
mattsc
f810504306 Experimental AI: clear recruit cache when no recruit action found 2018-05-20 14:55:01 -07:00
mattsc
a65605c547 Fix Experimental AI not working without enemy units
An example are the first two turns of Dark Forecast.
2018-05-20 14:54:45 -07:00
ln-zookeeper
43c5b6fbb2 UtBS: Re-numbered Nym's sword animation frames
Also optimized them.
2018-05-21 00:01:29 +03:00
Pentarctagon
d02e16d712 Fixup: Vyncyn was already listed in the credits. 2018-05-20 09:35:59 -05:00
doofus-01
c585ac4462 kaleh sword animation 2018-05-20 14:55:00 +11:00
Iris Morelle
e82d811ab0 Fix [change_theme] crashing when theme= isn't specified
Leaving theme= unspecified ought to have the same effect as providing it
and setting it to an empty string. Without the check for a nil value,
however, it would result in a crash like this:

  20180519 22:31:54 error scripting/lua: lua/wml-tags.lua:922: bad argument #3 to '__newindex' (string expected, got nil)
  stack traceback:
          [C]: in metamethod '__newindex'
          lua/wml-tags.lua:922: in local 'cmd'
          lua/wml-utils.lua:145: in field 'handle_event_commands'
          lua/wml-flow.lua:6: in function <lua/wml-flow.lua:5>
2018-05-19 22:38:06 -04:00
Charles Dang
91150f2504 THoT S2: fixed misspelled event name (fixes #3131)
[ci skip]
2018-05-20 10:25:46 +11:00
Pentarctagon
16bfab0b0a Add new units as discussed on the forums.
See https://forums.wesnoth.org/viewtopic.php?f=32&t=47721&start=450#p625660

All images but the young roc/roc would remain under the GPL, since Kwandulin based them on images by Sleepwalker and I wasn't able to contact him about using the CC BY-SA for them.  The young roc base and attack sprites are under the CC BY-SA, and are by Vyncyn(forum username).
2018-05-19 15:28:42 -05:00
Nils Kneuper
71a6488419 updated Chinese (Simplified) translation 2018-05-19 20:06:16 +02:00
Celtic Minstrel
4a3508f13f
Support [break], [continue], and [return] in [random_placement] 2018-05-19 00:42:23 -04:00
Nils Kneuper
63bac52b71 updated Italian translation 2018-05-19 01:28:52 +02:00
doofus-01
29f97cd2fe Nym sword attack animation 2018-05-17 16:41:34 +11:00
Severin Glöckner
3730ff9738 NR S2: let Hammel not take part in combat
All this trouble is about keeping him alive after all.
And fix a spelling mistake resuling in always false.

[ci skip]
2018-05-17 03:04:30 +02:00
Charles Dang
80e0463131 Begone, MENU_IMG_TXT!
[ci skip]

This utilized the deprecated DescriptionWML syntax.
2018-05-17 11:28:50 +11:00
Charles Dang
505d6264ac Removed deprecated objective text macros
[ci skip]

These are incorporated into the objectives dialog automatically. They lack a deprecation
notice, but they should be given level 3 status on the 1.14 branch.
2018-05-17 11:09:18 +11:00
Wedge009
e161d59536 Revert "Revert "'moreso' isn't a word in any dialect of English.""
This reverts commit 4d5a3de4e6.

Restoring correction at @Vultraz's request.

[ci skip]
2018-05-16 15:39:18 +10:00
Aaron Winter
77fd148f06 SotBE: Changed a few dates to fit the tweaked timeline from the forums
Discussed in detail in https://forums.wesnoth.org/viewtopic.php?f=12&t=46460
2018-05-16 01:30:22 +03:00
Severin Glöckner
ddaf9f5a87 NR S2: fix filters for Micro AIs
and allow L2 recruits if the dwarves are under attack in late game.

[ci skip]
2018-05-15 16:44:15 +02:00
Charles Dang
3e9424fa33 Removed macros deprecated at level 2 and 3
[ci skip]
2018-05-15 11:38:49 +11:00
mattsc
66b9e11a2d Replace remaining uses of FOREACH macro 2018-05-14 17:13:42 -07:00
Severin Glöckner
fd9fc26ca0 NR S2: balance imporvements between AIs
* castle of the southwestern leader has been moved down a bit
* fixup for  gate event and troll die event not properly working
* give dwarves more gold if they are in trouble, increased income of trolls
* added micro AIs, currently not working as expected
* other minor map edits
* removed patch 9b9aa13 for #3073, the village had been moved down one hex
  for visual reasons

[ci skip]
2018-05-15 00:28:18 +02:00
Severin Glöckner
ed46bc1d2b wmllint: add campaign abilites & specials
So far only stun was in the list

[ci skip]
2018-05-14 06:11:29 +02:00
mattsc
4b6681a300 Do not load helper.lua where it is not used any more 2018-05-13 20:53:01 -07:00
mattsc
1684e2f5da Remove unnecessary inclusions of helper.set_wml_action_metatable {} 2018-05-13 20:52:51 -07:00
mattsc
08a000a7da Lua code: remove deprecated helper.set_wml_var_metatable() call
It’s not needed here.
2018-05-13 20:52:40 -07:00
mattsc
3c792fc7d7 Lua code: replace deprecated helper.[gs]et_variable_array() calls 2018-05-13 20:52:17 -07:00
mattsc
7c137e1a33 Lua code: replace deprecated helper.child_range() calls 2018-05-13 20:52:08 -07:00
mattsc
f0bb40590f Lua code: replace deprecated helper.get_child() calls 2018-05-13 20:51:56 -07:00