From b091953eeedbd8ffccf482cd310c0dfba09f01f0 Mon Sep 17 00:00:00 2001 From: Alexander van Gessel Date: Sun, 11 Dec 2011 16:56:50 +0100 Subject: [PATCH] Add test case for bug #17961 and bug #18686 to test scenario --- data/scenario-test.cfg | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/data/scenario-test.cfg b/data/scenario-test.cfg index 98b9f647dfc..689dfa0dbdd 100644 --- a/data/scenario-test.cfg +++ b/data/scenario-test.cfg @@ -2,6 +2,9 @@ [binary_path] path=data/campaigns/Under_the_Burning_Suns [/binary_path] +[binary_path] + path=data/campaigns/The_Rise_Of_Wesnoth +[/binary_path] [+units] {campaigns/Under_the_Burning_Suns/units/elves/Kaleh.cfg} [/units] @@ -338,6 +341,21 @@ Xu , Xu , Qxu , Qxu , Ql , Ql [/object] [/modifications] [/unit] + [unit] + x,y=20,5 + type="Ancient Wose" + id="rithrandil" + name="Rithrandil" + profile="portraits/rithrandil.png" + [modifications] + [object] + [effect] + apply_to=movement + set=0 + [/effect] + [/object] + [/modifications] + [/unit] [/side] [side] side=3 @@ -371,6 +389,21 @@ Xu , Xu , Qxu , Qxu , Ql , Ql text="Explore the map" [/label] + [event] + name=moveto + [filter] + side=1 + [filter_adjacent] + id=rithrandil + [/filter_adjacent] + [/filter] + + [message] + id=rithrandil + message="Hello there" + [/message] + [/event] + #ifdef DEBUG_MODE [event] name=select