Commit Graph

29805 Commits

Author SHA1 Message Date
Gothyoba
7bd657e2a5 Increased text size for UMC Author note in terrain elevation help page 2024-09-19 11:15:02 -04:00
Subhraman Sarkar
355ed849ee scroll_text: make components look more integrated 2024-09-18 23:01:46 -04:00
Subhraman Sarkar
54535fca3b scroll_text: markup and link awareness support
support for copying and partial editing only.
this does not make multiline_text a rich text editor.
2024-09-18 23:01:46 -04:00
Subhraman Sarkar
6023eb338c chatbox: use scroll_text so text can be copied 2024-09-18 23:01:46 -04:00
Charles Dang
1011c0f58a GUI2/Tab Container: clean up unnecessary grid 2024-09-18 20:13:32 -04:00
Charles Dang
3b07a7c76e MP/Method Selection: new design 2024-09-18 19:42:45 -04:00
Charles Dang
fc1409e2d1 MP/Staging, Join Game: improve sidebar layout 2024-09-18 16:09:07 -04:00
pentarctagon
ea8cdf9282 1.19.4+dev 2024-09-17 21:22:35 -05:00
pentarctagon
ff9c4461ae 1.19.4 2024-09-17 21:21:55 -05:00
pentarctagon
1ba012f05c pot-update and regenerate doc files 2024-09-17 21:20:42 -05:00
Jonathan-Kelly
c4610a0283 Tests of events in [abilities] and [specials] tags 2024-09-16 21:07:38 -04:00
Jonathan-Kelly
bddbf060a5 Support events in [abilities] and [specials] tags 2024-09-16 21:07:38 -04:00
Gothyoba
4cb3b8fd82 Use proper apostrophe to spell Shek’kahan 2024-09-17 06:51:40 +10:00
Celtic Minstrel
c7ad093ac5 Lua API: Avoid trying to iterate a userdata in location_set.of_pairs
Fixes #9345
2024-09-15 15:27:39 -04:00
Celtic Minstrel
ab022c09ae Lua API: Add unit:rebuild
Fixes #9314
2024-09-15 15:27:39 -04:00
Celtic Minstrel
6d8a17aa8d Lua API: Add mathx.lerp_index and wesnoth.game_config.palettes 2024-09-15 15:27:39 -04:00
Celtic Minstrel
fc86cb0b93 WFL: Add replace_all, starts_with, and ends_with string functions.
The latter two are also added to the Lua stringx module.
2024-09-15 15:27:39 -04:00
Celtic Minstrel
2a26a68025 Some updates to Lua map location operations
* Rename the vector operations to hex_vector (to emphasize that they are NOT standard vector ops) and document them as official API
* Add new get_hexes_at_radius, which returns an unfilled ring (as opposed to get_hexes_in_radius which returns a filled circle)
* Expose the new cubic coordinate conversions
2024-09-15 15:27:39 -04:00
Gunter Labes
654a199d5f
Use proper apostrophe 2024-09-15 13:13:29 +02:00
Oleksii
094918c5ac
LoW: some fixes for S10, S22 (#9128)
* fixes for S10, S22
* fixes for #7137 #8359 #8360
* fixes for #7137 #8359 #8360
* fixes for #7137 #8359 #8360
2024-09-14 15:00:02 -05:00
Gunter Labes
c53cb1d6fb
Add missing tags to game config schema 2024-09-13 21:59:04 +02:00
Gunter Labes
41729833c8
Include the unknown condition in the error message 2024-09-13 21:50:17 +02:00
Steve Cotton
7f8e3344cf Add a second unit test for TEST_FORCE_CHANCE_TO_HIT
It should work even when the macro appears in the same event as the
attack; this tests that.

The new one uses the COMMON_KEEP macro, but I've left the existing
one unchanged, except for the renaming.
2024-09-13 19:15:56 +02:00
Subhraman Sarkar
14732806c9 Preferences: move the Apply button and disable it unless needed
this also makes it obvious that the Apply button is used only for UI theme selection, and is not a global Apply button
2024-09-11 15:07:49 -04:00
pentarctagon
d32a363ae8 plague tests 2024-09-10 18:14:50 -05:00
Subhraman Sarkar
47642719bf Update the help page entry for the Item tool to reflect that removal is now possible 2024-09-10 06:14:34 +05:30
Gunter Labes
91e6daad23
Fix image file name 2024-09-09 18:18:17 +02:00
Gunter Labes
45558f52ee
Use correct wesnoth option 2024-09-09 16:22:01 +02:00
Charles Dang
e814a48f40 GUI2/File Dialog: clean up definition 2024-09-09 09:09:22 -04:00
Gunter Labes
4991005765
WC: Explain that you can also add data via resources 2024-09-08 19:54:42 +02:00
newfrenchy83
5c9065eb7e change calculation rules so that add and sub are always used independently
when two special weapons use multiply and divide with the same id, both operations are used, isn't that so why should it be different with 'add' and 'sub' where it's the larger value that is used (if asub=value_sub and add=value_add are used and value_sub>value_add then value_sub is used). This logic is counter-intuitive. that multiplication/division is applied to (base_value +- add/sub) is understandable but not this discrimination. For me add and sub should still be usable; even if it means changing the rules, but I think we will gain clarity in the end.
2024-09-08 14:16:28 +02:00
pentarctagon
9e756f9fc5 petrifies tests 2024-09-07 19:53:08 -05:00
Steve Cotton
547de5fd93 Test calculations of abilities with add and sub
Fix a typo in the add_sub_separated test, because it was testing
exactly the same code as add_sub_cumulative.

Add two new tests and clarify documentation, because in these tests
the order of the abilities determines whether the add or sub value is
used, it isn't that sub always overrides add.
2024-09-07 21:02:39 +02:00
newfrenchy83
c5351fb998
Fix recursion ability count version (#9296)
I use the same method what in master for weapon special recursion.
2024-09-07 16:45:26 +02:00
Subhraman Sarkar
adef779ed9 unit type editor: various ui improvements and bugfixes
1. race/alignment/attack damage type/attack range show corresponding icons
2. attack damage type/range now use comboboxes for custom dmg types/ranges
3. quit confirmation added to cancel button so that user doesn't accidentally lose their data
2024-09-06 09:02:05 +05:30
newfrenchy83
979289b579 fix tag_name check deficiencies
The tag_name check is deficient for two reasons:
1.when apply_to=both is used, in the case of [damage_type] [filter_opponent][filter_weapon]type= will check the modified type for application to the owner and the original type for application to the opponent, hence a risk of infinite recursion, especially if [filter_self][filter_weapon]type= is used in the same weapon.

2. in the case of apply_to=attacker/defender, the check for [filter_attacker/defender] must take into account both the value of the variable is_attacker but also the application AFFECT_SELF/OTHER, otherwise in the case apply_to=defender with [filter_defender][filter_weapon]type=, and[filter_attacker][filter_weapon]type= otherwise we end up in the same configuration as for apply_to=both

Finally tag_name is renamed check_if_recursion to mean that this variable is used to ensure that a recursion cannot be set up even if 743b146efc prevents it from causing a crash but with an error log
2024-09-05 18:35:35 -05:00
Ethan-Nowa
eff8301cac
NR05a: Vary dialogue to better suit the speaker (#8830)
I changed some of the lines in NR The Pursuit to fit better with the different characters. Tallin, Abhai, Krash, etc.
I did not do it for every dialogue.
Addresses issues #8319 and #8772

More PR review feedback addressed by Wedge.

---------

Co-authored-by: Wedge009 <wedge009@wedge009.net>
2024-09-04 10:35:35 +02:00
Steve Cotton
de342bb29c Fix typos in test of recursion 2024-09-03 18:39:22 +02:00
Wedge009
0618eadf3e Replace tab with spaces 2024-09-03 17:02:12 +10:00
Wedge009
9b51a62a2e Remove contentious last sentence as per PR review. 2024-09-03 17:02:12 +10:00
palmenf
25e77a13e9 Added an explanation of vision to the in-game help 2024-09-03 17:02:12 +10:00
Gothyoba
3bcec77482 AToTB: Use month names intead of Roman Numerals 2024-09-03 07:09:11 +10:00
Tahsin Jahin Khalid
1e1db849fd names: remove inappropriate saurian name 2024-09-02 12:31:57 -04:00
Subhraman Sarkar
2985574c87 remove inproper and inconsistent names
1. remove obviously English and English sounding female names from Dunefolk female names list
2. remove 'bakri' from male name list (means 'goat', could be offensive)
3. remove one potentially offensive name from saurian name list
4. remove 'Dalal' from dunefolk female names (can be used as slang)
2024-09-02 21:12:58 +05:30
pentarctagon
96420da3d5 heal_on_hit tests - results are identical to drains aside from default value 2024-09-01 19:40:14 -05:00
Dalas121
8d90a2b6f5
Reduce Corpse/Soulless arcane vulnerablility from -40% to -20% (#9282)
Resolves #9224
2024-09-01 18:25:34 -05:00
Elvish_Hunter
61379bb5bc Fix wmlindent warnings 2024-09-01 01:14:40 +02:00
Elvish_Hunter
742f400612 Silence several wmllint warnings 2024-08-31 23:07:09 +02:00
pentarctagon
f22fb410a3 firststrike tests 2024-08-31 10:14:36 -05:00
Tahsin Jahin Khalid
41f87afaf7
SotBE S7: UX improvements (#9279)
- add auxiliary camp keep and camp
- make scorpions avoid villages

Co-authored-by: Tahsin Jahin Khalid <5283677+knyghtmare@users.noreply.github.com>
2024-08-31 15:23:55 +06:00