Commit graph

24919 commits

Author SHA1 Message Date
Celtic Minstrel
08ec9017b5 Lua API: Some tweaks of the experimental wml module 2018-03-17 16:48:00 -04:00
Celtic Minstrel
23aac4f72f Cleanup of fef953a48e
- Fix the rabbit AI
- Enable invoke_synced_command to also call (some) built-in commands
  and give an error message in the case of an unknown command
- Remove some unnecessary implementation details
2018-03-17 16:48:00 -04:00
stevecotton
29e3468b91 LoW S14 Objectives, reinforcements, edit repetitive dialog (ok for string freeze) (#2585)
Objectives: note that the death of Galtrid is a losing condition

Reinforcements: In multiplayer, Landar's L3 troops that join on turn 9
now join his side, instead of trying to join side 13 (and ending up on
Kalenz' side).

Dialog: the following conversation happened on both turn 1 and turn 9.
Having 6 repeated messages in a row gave a strong sense of deja vu,
and I thought that a bug had repeated an event. This commit cuts the
repetition.

* Elf: "Kalenz! We come to fight beside you!"
* Kalenz: "Where is the rest of the elvish army? ...
* Elf: "The Great Council has decided it was too risky ...
* Landar: "That is well! If the Ka’lian is too fearful or blind ...
* Cleodil: "It is not well that we have become so divided as this."
* Kalenz: "No, it is not. But ...
2018-03-17 20:53:25 +02:00
loonycyborg
cdd1cb692b pot-update and regenerate doc files 2018-03-17 21:37:00 +03:00
Celtic Minstrel
5c3f04518d Attempt to address RIPLIB violations in Raider -> Marauder advancement
- Grant Marauder the mountain movement+defense of the Raider
- Reduce Raider hills defense to match the Marauder
  (avoiding reduction on level-up)
- Adjust Marauder resistances
2018-03-17 14:27:29 -04:00
Celtic Minstrel
c8f95b1bf5 Simplify Piercer resistance definition by only listing those that differ from the movetype 2018-03-17 14:27:29 -04:00
Celtic Minstrel
ee8077ea14 Dunefolk balancing tweaks
- Burner line: -20% cold
- Soldier line: -10% cold
- Soldier line: possibility of fearless trait
- Rover line: +10% pierce
- Piercer: +10% impact
- Reduced Piercer XP
- Increased Rider XP
2018-03-17 14:27:29 -04:00
doofus-01
003942410f [UtBS] Quenoth Mystic and Sun Singer line animations (#2579)
* Initial pass at sun singer animations

* adding sun-shyde and generalizing fire animations

* sun-singer healing anim, and change of default image

* mystic healing animation, and move mystic images to sub-directory

* harmonized sprite file naming scheme for sun-shyde with sun-singer
2018-03-17 19:50:16 +02:00
Jyrki Vesterinen
267510ea07 Show screenshot window before saving the screenshot
In particular, this allows the player to choose the filename before saving,
including the extension. If support for target format is present, Wesnoth
honors the extension and saves the screenshot in that format.

I also changed the default screenshot format back to PNG due to quality
issues JPEG has with pixel art. See discussion in pull request #2655.

This commit doesn't introduce any string changes. I used existing strings
for everything (sometimes having to take them from another textdomain).
2018-03-16 23:45:36 +02:00
Charles Dang
95d9eb7f1b Unit Attack: removed the Choose Weapon text
[ci skip]

Legacy from the GUI1 dialog, not really in line with our current UI.
Replaced it with a spacer.
2018-03-17 00:41:33 +11:00
Charles Dang
134353f863 Further cleanup of deprecated Lua API usecases (inc. ones from fef953a)
[ci skip]
2018-03-17 00:41:32 +11:00
gfgtdf
10a3ef1dac
Merge pull request #2663 from gfgtdf/no_syncedcommand
No synced command
2018-03-16 13:48:22 +01:00
gfgtdf
fef953a48e remove ai.synced_command
fixes #1649 . ai.synced_command could easily be used to implement all types of
undeteced cheats so it was removed. As a replacement this commit adds a
[custom_command] synced command that just calls
wesnoth.game_events.on_synced_command which calls a lua handler that
must first be set.
2018-03-16 13:43:05 +01:00
Charles Dang
85f98fc4d4 Bump map border layers
[ci skip]

Fixes map borders drawing over certain editor overlays. Not sure why UMC editor overlays
weren't affected...

Should also preempt other such issues, since we always want borders to draw on top of
everything.
2018-03-16 22:17:37 +11:00
Charles Dang
55866694ff Editor: added overlay to Fake Shroud terrain
[ci skip]
2018-03-16 20:23:47 +11:00
Charles Dang
79b7e08573 Fixup 3783693cbe (removed a C++-ism)
[ci skip]
2018-03-16 11:26:21 +11:00
Charles Dang
3783693cbe Campaigns: cleaned up more cases of deprecated Lua API usage
[ci skip]
2018-03-16 11:23:30 +11:00
ln-zookeeper
624a407c94 Fixed issues with NEW:VILLAGE_TOD
Changed the default probability from 25 to 100, because it looks like a bug when only part of villages of the same kind are lit at night. Restored the original probabilities for elven and coast villages, and fixed column alignment for village macro calls.

[ci skip]
2018-03-15 20:32:30 +02:00
Charles Dang
c07063a85c Further tweaks to Heavy Infantryman attack animation
[ci skip]

* Adjusted timings
* Disabled automatic sliding
2018-03-15 19:45:09 +11:00
Charles Dang
e3d136de76 Updated new Sylph sprite to the new Elvish palette
[ci skip]

Also cleaned up an area that was supposed to be transparent.
2018-03-15 15:05:55 +11:00
Charles Dang
a023c7989e New Elvish Sylph baseframe by Jetrel (@rkettering)
[ci skip]
2018-03-15 12:16:38 +11:00
Charles Dang
2493741651 Heavy Infantryman: fixed incorrect shadows in two frames
[ci skip]
2018-03-15 06:04:06 +11:00
Charles Dang
1f3f3a6658 Fixup 31a0a19d2e
[ci skip]

Forgot to save some of these at the larger canvas size...
2018-03-15 05:00:34 +11:00
Charles Dang
7ffce2251a TRoW/EI: added new Jevyan and Ravanal sprites by sleepwalker
[ci skip]

https://forums.wesnoth.org/viewtopic.php?p=540837#p540837
https://forums.wesnoth.org/viewtopic.php?p=541707#p541707

Not wired in yet. I fixed the shadow on Ravanal's sprite (was the wrong color).
2018-03-14 16:56:37 +11:00
Charles Dang
31a0a19d2e New Heavy Infantryman attack animation by Zoomo
[ci skip]

https://forums.wesnoth.org/viewtopic.php?p=624673#p624673

Images were edited to fix the shadow color. Frame 1 was also removed, since it was
the same as the baseframe.

All frames were also resized to better center the sprite on the hex.
2018-03-14 12:04:35 +11:00
Charles Dang
0103959c36 Cleaned up deprecated API usage in core Lua
[ci skip]
2018-03-13 16:55:36 +11:00
Severin Glöckner
f97329a110 add a translation hint 2018-03-13 00:33:44 +01:00
Charles Dang
b92ee187b8 Cleaned up use of deprecated APIs in campaign Lua
[ci skip]
2018-03-13 08:06:11 +11:00
Charles Dang
443339d8a0 Updated default schedule ToD images
[ci skip]

Constructed from resources in images/unit_env/schedule (created by @Lordbob)
2018-03-13 06:12:33 +11:00
Charles Dang
1340c005b3 Fixed minor text errors reported on the wiki
[ci skip]

Added all to pofix except the extra space added before the Initiative ability's special note.
2018-03-13 04:11:54 +11: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
Steve Cotton
981dd13965 LoW save the persistent multiplayer data for chapter 2 (fixes #2637)
In multiplayer mode, the LoW campaign has multiple start points, and some
persistent storage that stores the characters at the end of a chapter, so that
a new game starting from the next chapter starts with those stats.

The data for chapter 2 wasn't saved, because the campaign tried to create it in
a cutscene scenario that doesn't have the expected sides.
2018-03-11 22:50:11 -04:00
Charles Dang
3a90f86674 Addressed more whitespace issues from #2613
[ci skip]
2018-03-12 03:48:59 +11:00
Celtic Minstrel
9712147eed Fix incorrect filter for Thunderer victory animation
Also remove a useless key in a Water Serpent attack animation

Issues found by schema validation (#2562)
2018-03-11 12:08:16 -04:00
Charles Dang
5fc4dcf5fa Revert "Message Dialog: make all option rows have the same height"
[ci skip]

This reverts commit 0089357edb. It wasn't suitable for
all usecases, and it's impossible to make it a dialog option.

Fixes #2628
2018-03-11 14:02:16 +11:00
Lari Nieminen
b6fa4740f3
SoF S7: Fixed the castle moveto event terrain filter
[ci skip]
2018-03-10 11:10:32 +02:00
sigurdfdragon
40119cc0f6 [WIP] NR S13a & S14a: Appearance improvements
Don't show carryover report after final battle.
Make orcish fortress look like an orcish fortress.
Fix trees being added when player can see it.
Continue to credits at end of dialog in S14a.
2018-03-09 19:41:54 -05:00
Charles Dang
471c9e876a Addressed a large chunk of the whitespace issues from #2613
[ci skip]
2018-03-09 11:37:00 +11:00
Charles Dang
0cb9f0d622 Data/Test: wmlindent run
[ci skip]

Addresses some of the whitespace issues mentioned in #2613
2018-03-09 11:22:00 +11:00
Charles Dang
33725add8f Data/AI: wmlindent run
[ci skip]

Addresses some of the whitespace issues noted in #2613.
2018-03-09 11:07:23 +11:00
sigurdfdragon
9f5a61601a NR S12a & 13a: Improve handling of Sisal & the Liches
Make Sisal loyal at end of S12a.
Have Sisal & the Liches appear in S13a at a time that makes more sense.

[ci skip]
2018-03-07 19:51:56 -05:00
sigurdfdragon
c243ca5c7b NR: Clean up handling of flags for secondary player sides
Drakes get long, elves get wood-elvish, and liches get undead.

[ci skip]
2018-03-07 19:51:56 -05:00
sigurdfdragon
77f8565553 NR S13a: Ensure correct unit type and facing for opening animations
Only needed type fix for Krash, Eryssa, & Tallin, but did them all.

[ci skip]

Add facing for entrance - merge with other commit
2018-03-07 19:51:56 -05:00
sigurdfdragon
a53ce26d3f NR S13a: Clean up side 9 handling to match previous commit
[ci skip]
2018-03-07 19:51:56 -05:00
sigurdfdragon
673e33bb20 NR: Fix Krash resurrection bug
After changes in 618659c083, the leader keys in Krash's side caused him
to be reborn if he was killed in the previous scenario for S11a-S13a.

[ci skip]
2018-03-07 19:51:56 -05:00
sigurdfdragon
35d32a0a80 NR: Ensure secondary player sides have names in statistics and carryover
[ci skip]
2018-03-07 19:51:56 -05:00
sigurdfdragon
86fc31d2ef NR S13a: Add income & loyal so Rakshas's side is more intimidating
Bump his income since he doesn't start with any villages.
Make guards loyal so they don't drain starting gold too quickly.

[ci skip]
2018-03-07 19:51:56 -05:00
sigurdfdragon
99ba7af231 NR: Fix and use character macro for Rakshas appearances
Unifies handling of character and ensures correct portrait is used.
Fixes part of issue #2569

[ci skip]
2018-03-07 19:51:56 -05:00
sigurdfdragon
884af3b016 NR S09a: Move troll out of likely vision of the player's ghost at start
There is dialog for when the player first sees a troll.

[ci skip]
2018-03-07 19:51:56 -05:00
sigurdfdragon
018b033266 NR S04: Make objectives more accurate
[ci skip]
2018-03-07 19:51:56 -05:00