Commit graph

11471 commits

Author SHA1 Message Date
doofus-01
19fcc1424f
Deprecation of old-style _PLFB and script-generated macros
1.17 terrain-graphics macros clean-up (#6606)
2022-04-16 10:01:09 -07:00
Celtic Minstrel
a76aa9bddc
Add wesnoth.interface.add_floating_label as a replacement for wesnoth.print (#5837)
This returns a label handle which allows you to remove, reposition, or replace the label later.

In addition to all the features of wesnoth.print, you can now specify where the label appears onscreen, as well as a fadeout time separate from the duration.

You can also anchor the text to an edge or corner instead of centering in on the screen,
specify the maximum width it can occupy as an absolute width or a percentage,
and specify a background colour and transparency.

It includes a demo scenario that demonstrates many of the capabilities of the API.
To play the demo scenario, run with -toverlay_text_demo or select it from the in-game test list.
2022-04-10 13:00:29 -04:00
Steve Cotton
c7acca4ea7 SoF: Consistently use lower-case after ellipses
Sadly, this takes the campaign up to 100 string changes between 1.16.2 and
1.16.3. The only one of these that was already going to change for 1.16.3 is
S04t's volcanic forge one.

(cherry picked from commit a1e60f061d)
2022-04-09 01:27:48 +02:00
Luis Miguel Iglesias Sánchez
8561fb64e3
NR S05a_01 Enhance dialogue between Tallin and Abhai (#6612) 2022-04-08 02:26:09 +02:00
Wedge009
dbf50b01be THoT: Move unused images to attic.
Resolves #6602.
2022-04-05 10:34:19 +10:00
Descacharrado
eb123ed8bb Fix units stuck in spider wall and filter 2022-04-05 10:27:07 +10:00
Tahsin Jahin Khalid
32e0542b3b
Xol -> Xos^Efs for 4 maps of AToTB/SotA/THoT/NR
Updates deprecated maps to current tileset.
2022-03-29 13:26:04 +06:00
Wedge009
1726c1ce48 THoT: Remove unused Ratheln character.
Resolves #6587.
2022-03-28 15:06:54 +11:00
Tahsin Jahin Khalid
000dde5bb1 THoT map 09: Xol -> Xos^Efs 2022-03-26 22:22:05 +06:00
Tahsin Jahin Khalid
90b68b5388 NR map 5A: Xol -> Xos^Efs 2022-03-26 22:21:52 +06:00
Tahsin Jahin Khalid
63e9d4d02b SotA map 20: Xol -> Xos^Efs 2022-03-26 22:21:41 +06:00
Tahsin Jahin Khalid
c5d7b6a954 AToTB map 03: Xol -> Xos^Efs 2022-03-26 22:21:00 +06:00
Tahsin Jahin Khalid
2a679a76df DiD S8: Add Spectral Servant-line (ghost)
to list of units who cannot pick up the book
2022-03-24 06:16:29 +06:00
Tahsin Jahin Khalid
b1d0c983ed DiD S8: make Spectral Servant ghost-line trigger dialogue
for book pickup
2022-03-24 06:14:39 +06:00
Elvish_Hunter
c23cdd5fb1 maps/background.jpg -> maps/background.webp 2022-03-16 22:34:06 +01:00
Wedge009
170c124bcb UtBS: Rename ally_name to ally_id for clarity.
Justification: ally_name variable actually holds the ID attribute of the unit, not the name attribute.
This change was originally included in #6165, which has since been reverted, so reinstating the variable renaming here.
2022-03-15 10:51:13 +11:00
Wedge009
d5b95e621d While this is far from the only place where variables are used in translated text, the use of variables adds challenges to some translations.
The particular discussion which led to this reversion relates to the Czech translation.

Revert "Refactor handling of allies in UtBS. Resolves #6158."
Revert "Add po hints where self-referential troll names have been replaced with variables."

This reverts commit 541f0a1e73.
This reverts commit 4a3ddfb143.
2022-03-14 11:22:32 +11:00
Steve Cotton
1f41893f18 SoF: explain the Shorbear tools as products of the volcanic forge
I don't like the explanation of the tools being made of unobtainium, so changed
it to use a convenient plot device. I think this also solves a plot hole about
the forge; instead of it being near the Shorbear Caves by random chance, this
gives a reason for the Shorbear Clan to live there (even if they haven't been
in there in living memory).
2022-03-09 13:31:18 +01:00
Wedge009
0c13523544 DM S23: It makes more sense that Asheviere does not mention the attack on Sagus at all.
[ci skip]
2022-02-22 11:44:05 +11:00
Wedge009
77cb32302b Not aware of north-east Wesnoth being a special region used as a proper noun, so remove capitalisation.
[ci skip]
2022-02-21 13:56:13 +11:00
Wedge009
e76717b40b Directions are not capitalised.
[ci skip]
2022-02-21 13:54:59 +11:00
Tahsin Jahin Khalid
b3a8361869 WoF: update map of S9
To stop a Cave Bear spawning at an unreachable location
2022-02-20 23:17:33 +06:00
Tahsin Jahin Khalid
35aa0d1893
[world conquest] update deprecated share_view (#6536)
'share_view = true' => 'share_vision = "all"'
2022-02-19 13:54:59 -05:00
nemaara
ee0d695a77
Merge pull request #6493 from nemaara/WoF
WoF and Drake revisions
2022-02-19 12:58:53 -05:00
Nils Kneuper
68329d9069 updated Czech translation 2022-02-19 15:23:31 +01:00
Tahsin Jahin Khalid
ed0afaa382 [world conquest] added a summary section with full code
hopefully all problems can be clarified here.
2022-02-18 10:13:42 +01:00
Tahsin Jahin Khalid
90aa587525 [world conquest] more typo updates 2022-02-18 10:13:42 +01:00
Tahsin Jahin Khalid
98cc04cc3c [world conquest] modding instructions update 2022-02-18 10:13:42 +01:00
Tahsin Jahin Khalid
86c8ed78fe [world conquest] finish up section on documentation 2022-02-18 10:13:42 +01:00
Tahsin Jahin Khalid
daba1240f1 Update Modding.md 2022-02-18 10:13:42 +01:00
Tahsin Jahin Khalid
754961dd40 world conquest: finished section on era manipulation 2022-02-18 10:13:42 +01:00
Tahsin Jahin Khalid
49f89acaee [world conquest] add section on era manipulation 2022-02-18 10:13:42 +01:00
Tahsin Jahin Khalid
2de6746286 world conquest: convert file from .txt to .md 2022-02-18 10:13:42 +01:00
Tahsin Jahin Khalid
aa596a8c03 update modding instructions
if umc era authors follow this now, they can actually override the enemy array
2022-02-18 10:13:42 +01:00
nemaara
d6c8290a9a SoF S8: make dragons rivals 2022-02-17 21:46:59 -05:00
nemaara
5e93ec2802 WoF S9: revise text 2022-02-17 21:45:02 -05:00
nemaara
6f70523b17 WoF S7: remove references to Zhangor 2022-02-17 21:45:02 -05:00
nemaara
7dc39fd2fb WoF: change reference to Avalon 2022-02-17 21:44:54 -05:00
Wedge009
c836a81f67 Replace deprecated placement=map_overwrite. 2022-02-17 16:04:08 +11:00
Wedge009
47ec300d54 HttT S17: Comply with current Wesnoth Lua API specifications
wesnoth.special_locatioons is deprecated.

Resolves #6517
2022-02-16 16:46:25 +01:00
Tahsin Jahin Khalid
c168b63c33 SoF: fix thursagan's arcanister advancement breaking in some cases 2022-02-15 22:06:51 +01:00
Wedge009
c3aaabd26c Spelling correction.
[ci skip]
2022-02-15 22:23:14 +11:00
Wedge009
4c88909396 Set Chantal's side to have shroud so that share_vision has the intended effect when the player finds her. 2022-02-15 22:08:03 +11:00
Wedge009
f983a998a2 Replace deprecated share_maps and share_view with share_vision.
Closes #6496.

share_maps=yes -> share_vision=shroud
share_view=yes -> share_vision=all
2022-02-15 22:08:03 +11:00
nemaara
e9c9c4b6f2 WoF: revise secret drake lore 2022-02-07 02:22:07 -05:00
Celtic Minstrel
759b040069 fix whitespace
The whitespace-fixing script seems to be slightly different depending on the platform.
Even though it produces no effect in the CI, it made these changes locally on my Mac.
I'm committing them now so as to avoid unrelated files being changed in other pull requests.
2022-02-06 00:05:09 -05:00
Tahsin Jahin Khalid
3c58ffde2a world conquest, artifacts = substitute value= with add=
fixes banner not stacking with leadership
2022-02-02 00:10:20 +01:00
Wedge009
101359b06c Capitalise direct references to the completed Sceptre of Fire.
Arguably, references to generic sceptres, as is the case with references to the Sceptre of Fire before its completion throughout the rest of this campaign, ought to use the default US English spelling of 'scepter'. This was the case in The Rise of Wesnoth where Haldric quips that the Ruby of Fire should be made into a 'scepter'.

[ci skip]
2022-01-26 19:01:57 +11:00
Alexander Lacson
ec66a0a832
SoF Proofread Pass and Campaign Prose edits (#6177)
* SoF Proofread Pass and Campaign Prose edits

This is a proofread pass. But this also has edits that are more than just minor edits which try to improve the campaign text.

commit

* SoF Proofread Second Draft

This is a changelog relative to the first draft:
- Fixed up "nor" in S1.
- reverted the ellipsis I added to indicate pause in story part of S2.
- Reworded my edit in S3 to be closer to the original.
- Followed Wedge's suggestion for S4.
- S5: Exchanged Shorbear dwarves and elves, removed introductory clause in ln 560, rewording in ln 592.
- Reverted my edit in S6.
- in S8, converted comma into ellipsis to indicate pause.
- S9: Reworded exposition of Thursagan, changed wording in ln1221, changed a period to a semi-colon.

* SoF Proofread Third Draft

* Update 4t_The_Jeweler.cfg

* Update 1_A_Bargain_is_Struck.cfg

removed a comma

* Update 1_A_Bargain_is_Struck.cfg

* More prose edits (SoF)

* Update 4t_The_Jeweler.cfg

* SoF Proofread Pass edits

* Capitalize Sceptre

* S5 and S9 small dialog change

* S6 change semicolon to period

* S9 change semicolon to exclamation
2022-01-26 18:48:57 +11:00
Descacharrado
cfd32880b8
HttT S04, S05b & S06 Role code enhancement (#6436) 2022-01-22 08:20:35 +01:00