Commit graph

24750 commits

Author SHA1 Message Date
Celtic Minstrel
e1506935a1 Support bonus="string" in [objectives][gold_carryover]
This will take the string as an explanation of a condition that needs to be satisfied to receive an early finish bonus.
2018-08-04 23:36:49 -04:00
Celtic Minstrel
9ba7fd6d4a Support bonus=<multiple> in [objectives][gold_carryover] 2018-08-04 23:36:02 -04:00
Celtic Minstrel
7bd355e942 Support carryover_add in [objectives][gold_carryover] 2018-08-04 23:35:31 -04:00
Celtic Minstrel
01d7069d7d Implement a more modular approach to specifying objectives 2018-08-04 22:57:12 -04:00
Konrad2
37ddf43d3a Updated credits for @Konrad22 (#3430) 2018-08-04 21:34:30 +11:00
Jyrki Vesterinen
fb5f46c52a Help: update the "Installing Add-ons" page (addresses #2703)
[ci skip]
2018-08-04 11:03:39 +03:00
Jyrki Vesterinen
40205c55fb Help: document cores (#2703)
[ci skip]
2018-08-04 11:01:47 +03:00
Steve Cotton
66c56403db SoF S4: Improved the reminder to recruit miners (#3422) (fixes #3394)
Updated to [allow_undo], because the hint message shouldn't block undoing a
recall.  Recruiting can't be undone, even with [allow_undo], so this isn't
allowing a cheater's opportunity to recruit units with desired traits.
2018-08-04 08:46:27 +03:00
Celtic Minstrel
ff4e1b2e61 Add new contributors since 1.14.0 to the credits
Anyone who prefers to be credited some other way (or whose name I misspelled) can feel free to open another PR

@Byteron @rrigby @DisherProject @Ferk @Konrad22 @lilinitsy @UnwiseOwl @bandita137@Ordoviz
2018-08-03 20:50:10 -04:00
sigurdfdragon
c6d2a0febc NR: Ensure Krash doesn't overwrite other units and is properly placed.
This could happen if a player has Krash and skipped S10a.
2018-08-02 22:57:08 -04:00
joeylmaalouf
4befb3580d NR S7-8: avoid recreating the new companions from scratch 2018-08-03 01:54:20 +02:00
joeylmaalouf
7c70c1d985 NR S7: give Stalrag traits for consistency 2018-08-03 01:54:20 +02:00
Konrad2
87eb901c10 SoF S01: Added snowy mountains to right map edge (#3401) (fixes #3383)
New map for SoF - Sc1 to fix #3383 (removing the fast way to reach the elvish leader, by replacing some regular mountains with snowy mountains).
2018-08-01 10:10:07 +03:00
gfgtdf
936516c83b fix game crashing when showing a too large tooltip
previously the game would go into an infinite loop at
https://github.com/wesnoth/wesnoth/blob/1.14.4/src/gui/widgets/window.cpp#L1046
when a tooltip doesn't fit on screen, this could in particular happen in
the mp lobby when hovering over the 'i' of a game that uses a ridiculous
amount of modifications.

I currently don't see any case where the game is actually able to 'fix'
a bad height that was reported from reevaluate_best_size. so i just
disable reevaluate_best_size for floating tooltips.

If there exists such a case, an alternative fix could be to change the
reevaluate loop in window::layout to also stop when a new iteration
returned the same size as the previous iteration.
2018-07-31 22:58:45 +02:00
Severin Glöckner
c2064827e4 THoT S6: minor changes for difficulty and map
Uses an Orcish castle instead of destroyes human. Troll would maybe fit best,
but it doesn't fit well with the surrounding. Has now only 2 castle hexes.

On easy difficulty, reduced turns by two, it should be enought turns.
Also added one more enemy, as there are less wolves spawned on easy.
And income for Gryphons once again increased by 1, they are very expensive.

Reminding events have been adjusted to turns.

[ci skip]
2018-07-30 17:25:26 +02:00
Severin Glöckner
390d66fda1 THoT S6: Let the AI avoid the mage's hut
Until he is found. This also means one less villages for side 2, increased
their income thatfor,

[ci skip]
2018-07-30 17:25:26 +02:00
josteph
92bb1c263b THoT S6: Now that the player is told which hut to look at, don't trigger Ratheln if the player ignores the hint.
Suggested by @sevu.
2018-07-30 17:25:06 +02:00
sigurdfdragon
46cc9a5289 SotA S21: Slight touchups
Only recruit level 2 to match what nagas arrive with.
2018-07-29 12:43:48 -04:00
sigurdfdragon
32a630bd3f SotA S21: Fix #3294 properly
It is the Saurians that have their males killed in S11, so the females
take revenge.
2018-07-29 12:43:41 -04:00
sigurdfdragon
7ced35839b Revert "SotA S11 & 21: Fix #3294"
This reverts commit a4bad90bad.

It is supposed to be the male Saurians that get killed in S11, and the
females seek revenge in S21.
2018-07-29 12:43:35 -04:00
josteph
f0ed45bde9 THoT S6: Let a Scout be the first to smell Ratheln's cooking.
[ci skip]
2018-07-29 17:51:33 +02:00
Jyrki Vesterinen
aa73b83600 Extend the first CVE-2018-1999023 unit test to also try loadstring()
Like @gfgtdf pointed out, loadstring() is still supported by Lua in the
name of backwards compatibility, even though it was deprecated in Lua 5.2
and is no longer mentioned in Lua manual. Thus, as of committing this it's
actually possible to load Lua bytecode.

Let's unit test this to ensure that we don't reintroduce this
vulnerability.
2018-07-28 08:12:48 +03:00
DisherProject
d13c451afb Liberty S8: Fix some event filters 2018-07-27 20:01:29 -04:00
DisherProject
f32dfaa917 Liberty S8: Remove unnecessary hidden side
Side 3 was composed by enemy reinforcements. Since they were
spawned on the right corner of the map, and since side 2
was blocked inside Halstead by and [avoid] tag, it was
necessary to add a new hidden side which could move freely
on the map.
If we upgrade the AI, removing the [avoid] tag, this hidden
side becomes unnecessary.
2018-07-27 20:01:29 -04:00
DisherProject
e63a15fc91 Liberty S8: General fix and cleanup to the AI goals
All sides will now head to the central fortress. Orcs
should now be a bit smarter, and they should not suicide
during the morning or the afternoon. The humans in Halstead
will initially remain inside their fortress, until the enemy
arrival.
2018-07-27 20:01:29 -04:00
DisherProject
4ced6c7526 Liberty S1-S7: Fire victory when enemies are defeated
Instead of checking whether there are no enemy units left
every time one of them dies, use the "enemies defeated"
event.
2018-07-27 20:01:29 -04:00
DisherProject
cbe2bcef6b Liberty S1: Filter event by condition instead of using an
if-then clause
2018-07-27 20:01:29 -04:00
DisherProject
ddf9949cff Liberty S5-S6: Replace deprecated keys
"share_maps" and "share_view" have been replaced in
favour of "share_vision"
2018-07-27 20:01:29 -04:00
Iris Morelle
3b91481a0c UtBS: Improve Eloh's attack animation timings
Also remove a Kate modeline I didn't intend to push.

[ci skip]
2018-07-27 19:32:30 -04:00
Iris Morelle
6e1a861bda UtBS: New graphics for Eloh by me
There are two layers of halos and they are applied in a somewhat
convoluted fashion. I should probably explain why.

The bottom halo is designed so it's drawn *below* the main unit sprite
so as to not muddle the colours on it. Halos are normally drawn *on top*
of sprites.

The back halo is specifically masked so it's drawn behind the main unit
sprite without overlapping any of its pixels, but it's asymmetrical and
supposed to flip along with the unit sprite depending on the direction
it's facing. Halos do not do that currently, at least not without using
animation WML conditionals. Unfortunately, for some reason, using a
standing animation that's nothing but conditionals causes the game to
crash at the moment.

Taking all this into consideration, using the blit IPF is a much easier
mechanism to avoid both issues at once, even if it makes the code
slightly awkward.

If someone can think of an alternative method, they're more than welcome
to change the code as long as the sprite's composition remains exactly
the same as it is now. I'm just the artist in this case.

[ci skip]
2018-07-27 19:08:38 -04:00
josteph
a08b7c3ab3 THoT S10: Clarify objectives.
[ci skip]
2018-07-27 23:03:50 +02:00
josteph
5758c900e2 THoT S6: Rephrase Ratheln cue.
It didn't make sense for the dwarves to only notice "glowing" after night had ended.

[ci skip]
2018-07-27 23:03:22 +02:00
Jyrki Vesterinen
8dc60ae98f check_utf8.sh: don't check the Lua bytecode file
This avoids one of the two files which are currently causing macOS SCons
builds to fail in the master branch.
2018-07-27 23:52:38 +03:00
gfgtdf
6b13a63bb0 wml test for cve-2018-1999023
this test whether we succesfully prevent the exceution and parsing of
precompiled lua chunks, which can be used to break the lua sandbox.
This test does not cover all affected functions in particular not the ai
code that loads lua chunks.
2018-07-27 15:36:56 +03:00
ln-zookeeper
386493790e Updated snowy hut tile icons 2018-07-27 14:00:35 +03:00
doofus-01
9042b0beb7 Additional village variations (#3342)
* revised and additional snowed hut villages, with night-light TOD variations

* remove spaces to keep column alignment
2018-07-27 13:32:12 +03:00
joeylmaalouf
96d8ee06b0 updated contributors list 2018-07-25 19:29:55 -04:00
joeylmaalouf
05c6e397ba Tutorial: standardize Menu references 2018-07-25 19:29:49 -04:00
joeylmaalouf
9240d6d23d Tutorial: provide more detail about the Status Table 2018-07-25 19:29:42 -04:00
sigurdfdragon
ee798121e4 DM: Add last breath dialog for Zorlan 2018-07-25 19:29:37 -04:00
sigurdfdragon
3cfa413cbc DM: Generalize death message so it works when Delfador is young and old 2018-07-25 19:29:31 -04:00
Elvish_Hunter
af63d17e32 wmlindent: fixed crash on non-existent paths
Fixes #3346
2018-07-21 21:12:20 +02:00
sigurdfdragon
f6f1093661 SotA S21: Fix #3293: Nagas stealing villages
By having the nagas be able to recruit and put the gold to use.
Fits dialog better, improves play, & makes naga leader less suicidal.
2018-07-20 21:12:03 -04:00
Severin Glöckner
0ca460efcd Macro reference: Add hint to clear variable afterwards
[ci skip]
2018-07-19 01:45:47 +02:00
Nils Kneuper
111b5db7b4 updated Bulgarian translation 2018-07-17 22:57:35 +02:00
Martin Hrubý (hrubymar10)
bc4d22dc72 Migrate links to https if available - Fwd c18537edc0 2018-07-16 19:07:08 +11:00
Łukasz Hryniuk
c11ac9081b Add about.cfg entry 2018-07-16 08:16:51 +11:00
Łukasz Hryniuk
349b18b216 gui2: allow renaming units in the Recall dialog 2018-07-16 08:16:51 +11:00
josteph
d2c8c1ae0d THoT S9: Implement a victory condition closer to the one described in the objectives.
The previous condition was, "Win as soon as Aiglondur and Angarthing
have each touched the signpost".  The new condition is, "Win as soon
as Aiglondur is on the signpost and Angarthing is next to him, or the
other way around".

[ci skip]
2018-07-15 16:29:54 +02:00
Severin Glöckner
74b39ef3d6 Tutorial S1: followup previous commits
- Removed need for quick trait by spawning quantain next to Delfador
- Disabled movement point tracking due to #3344
- Use only one [label] tag to place both labels
- Removed id's of later quintains, as they are not used
- added some whitespaces

[ci skip]
2018-07-15 16:29:46 +02:00