Chris Beck
f43cb8edc2
add tests for scenario ending by killing enemy leader
...
Tests killing, killing on retal, and levelling up on killing,
in various configurations.
2014-06-07 17:21:00 -04:00
fendrin
396f1eae33
Moved mainline core definition file from _main.cfg to /data/cores.cfg.
2014-06-06 19:32:59 +02:00
Chris Beck
df71897d2f
add error reporting when [if] is evaluated with no actions
...
I frequently make the mistake of using {IF_VAR} but forgetting to
use [then] with it. One solution is to use my own macro, but the
better solution is to add proper error reporting to if. If the
engine parses an [if] tag with no [then], [else], or [elseif], it
should flag an error... otherwise these mistakes are generally
silent and very difficult to find.
2014-06-05 19:49:57 -04:00
Charles Dang
2af8c75e92
TSG S3: "foul undead" -> "foul creatures", since there are no undead on EASY
2014-06-05 22:02:08 +11:00
Charles Dang
74bbe0f76d
AToTB S3: fixed story date inconsistency
2014-06-05 21:56:29 +11:00
ln-zookeeper
3229949ef1
Return Grüü's gold to Kapou'e only if positive
2014-06-05 12:36:08 +03:00
Alarantalara
1b7fc80133
UtBS: Clear a variable not used later
2014-06-01 20:05:22 -04:00
Alarantalara
31d459620d
UtBS: Make assassin appear in scenario 5
...
Event name was improperly identifying variable names.
2014-06-01 20:05:22 -04:00
Alarantalara
44c993ef0c
UtBS: Increase difficulty of scenarios 1 and 3
...
Slightly fewer units in scenario 1 on hard
Deep One has more hp/attacks depending on difficulty
Less income available to player on hard in scenarios 1 and 2 to
decrease gold available in scenario 3
Added a define to make it easier to make Garak killable in scenario 3
2014-06-01 20:05:22 -04:00
Alarantalara
a5974b367b
UtBS: Provide a partial path between enemy keeps
...
Should slightly encourage them to fight each other and reduces the
amount of sand slightly, making interference/attacking the keeps
somewhat harder.
2014-06-01 20:05:22 -04:00
Alarantalara
0221553030
UtBS: Make the final fight harder
...
Increase hp and damage of all units unique to the fight, and make the
amounts scale with difficulty level.
2014-06-01 20:05:22 -04:00
ln-zookeeper
bab0915c94
Prevent allied leaders' suicidal behavior
2014-05-29 20:29:04 +03:00
ln-zookeeper
cf3699dabd
Prevent allied leaders' suicidal behavior
2014-05-29 19:56:03 +03:00
Elvish_Hunter
e3fc8f13b8
wmllint gui: made some options in the wmlscope tab evenly spaced
2014-05-29 14:57:10 +02:00
Elvish_Hunter
5480cca466
wmllint gui: fixed a bug in regexp handling
2014-05-29 14:57:09 +02:00
Chris Beck
55addc2999
Merge branch 'master' of git://github.com/wesnoth/wesnoth
2014-05-28 12:49:32 -04:00
Chris Beck
de55f1dfc7
increase coverage of reachability tests, and rebuild answers
2014-05-28 12:49:07 -04:00
Alexander van Gessel
a4e30b6275
Fix a wmllint crash
2014-05-28 17:54:49 +02:00
Chris Beck
3a102774b5
fixup pathfind tests, add reachability tests
2014-05-28 01:31:09 -04:00
Chris Beck
6cb367594b
test [store_locations], and try to characterize [find_path]
2014-05-27 20:30:30 -04:00
Chris Beck
cad6edf182
add comment to test_relative_dir.cfg
2014-05-27 12:00:30 -04:00
Alexander van Gessel
4d7de12e47
Unit tests for deterministic unit facings
2014-05-27 17:30:13 +02:00
Alexander van Gessel
038ff82a02
Test case for two interface bugs
...
An effect that does more than one thing concatenates the descriptions.
The effect description isn't updated when a new weapon which it affects
is added to the unit.
2014-05-27 14:58:43 +02:00
Chris Beck
f664b4e5af
add test of [modify_unit] facing= attribute
2014-05-26 23:34:48 -04:00
Chris Beck
b272239ea9
add replace_schedule in prestart test
2014-05-26 20:14:16 -04:00
Chris Beck
ec5ec4fb38
add tests of modify_turns tag
2014-05-26 20:02:05 -04:00
Chris Beck
7cc62266e9
unit tests for giving gold in prestart
2014-05-26 19:06:00 -04:00
aquileia
9b51a3a877
Implement temporary weapon swap in DM 21
...
As Kalenz puts it, "We have acquired orcish weapons". All elvish swords
are replaced by orcish ones for the duration of the scenario.
2014-05-26 23:23:28 +02:00
ancestral
29490feef3
Added [portrait] to Hakim
...
Hakim has a portrait, but his config file is missing it.
2014-05-24 16:56:39 -07:00
Chris Beck
12fad6efbc
fixup wmllint to include 1.11.15 changes
2014-05-24 19:11:48 -04:00
ln-zookeeper
91c13b82c0
Fixed Li'sar not carrying over correctly
2014-05-23 22:53:10 +03:00
mattsc
54b3030676
MAI test scenarios: fight_on_without_leader -> defeat_condition
...
Necessary due to a recent change how the victory conditions are
evaluated.
2014-05-22 19:51:51 -07:00
Chris Beck
49f97ee9be
Merge branch 'master' of git://github.com/wesnoth/wesnoth
2014-05-22 17:22:33 -04:00
Chris Beck
d129d80ebe
Add unit tests for check victory function
...
Mainly focused on defeat_condition field right now... woudl be good
to add some that test victory_when_enemies_defeated.
2014-05-22 17:21:53 -04:00
ln-zookeeper
3a860d4657
Fixed broken image reference
2014-05-22 20:53:55 +03:00
ln-zookeeper
86fe11bb24
Fixed repeated dialogue
2014-05-22 17:36:14 +03:00
Elvish_Hunter
2dbca0c3f1
wmllint GUI: avoid showing a blank Tk window if the program is run outside of a Wesnoth directory
2014-05-21 10:43:54 +02:00
Elvish_Hunter
385384de86
wmllint GUI: verbosity level radiobutton, Normal -> Terse
2014-05-21 10:43:54 +02:00
Elvish_Hunter
ef81cbad61
wmllint GUI: moved the exit button to the right side of the window
2014-05-21 10:43:54 +02:00
Elvish_Hunter
82e1126094
wmllint GUI: removed verbs from option labelframe labels
2014-05-21 10:43:53 +02:00
Elvish_Hunter
241015fa05
wmllint GUI: made two labelframe labels shorter
2014-05-21 10:43:53 +02:00
Elvish_Hunter
f3012b50db
wmllint GUI: used a smaller icon for the Browse button, and made the entry fill the whole frame
2014-05-21 10:43:52 +02:00
aquileia
8136065f75
Fix readme files about unit test scenarios
2014-05-19 17:13:27 -04:00
Chris Beck
ab29ba7e43
add map location rotate wml interface
2014-05-19 16:29:07 -04:00
Chris Beck
3f5350a5ef
add wml relative dir query tag, and interactive test scenario
2014-05-19 14:35:07 -04:00
Charles Dang
4613e5a619
AOI S7: removed [ai] tag from player side
2014-05-17 18:49:35 -04:00
Charles Dang
5cc1d2f9e2
AOI S7: removed redundant difficulty-conditional recruit list
2014-05-17 18:49:31 -04:00
Chris Beck
86fea3c551
add unit test for berzerk + firststrike interaction
2014-05-16 23:53:28 -04:00
Chris Beck
4e16a998a2
refactor break_replay tests into one file
2014-05-16 22:54:03 -04:00
Chris Beck
8d161347bc
refactor assert, return, two_plus_two, to each be one file
2014-05-16 22:45:54 -04:00