From f3b9978d933d9394270c300581c2b5844f626b46 Mon Sep 17 00:00:00 2001 From: nemaara Date: Tue, 25 Dec 2018 04:18:50 -0500 Subject: [PATCH] TRoW S5: moved unit variable storage --- .../scenarios/05_The_Oldwood.cfg | 27 ++++++++++++++----- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/data/campaigns/The_Rise_Of_Wesnoth/scenarios/05_The_Oldwood.cfg b/data/campaigns/The_Rise_Of_Wesnoth/scenarios/05_The_Oldwood.cfg index 90920840d40b..c5654e702dee 100644 --- a/data/campaigns/The_Rise_Of_Wesnoth/scenarios/05_The_Oldwood.cfg +++ b/data/campaigns/The_Rise_Of_Wesnoth/scenarios/05_The_Oldwood.cfg @@ -390,13 +390,6 @@ speaker=Lady Outlaw message= _ "We should save the debate for later. I can still be of use to you. I shall scout the road ahead. We need to know if we can make it to Southbay. I’ll return in a few days." [/message] - [store_unit] - [filter] - id=Lady Outlaw - [/filter] - variable=lady_store - kill=yes - [/store_unit] [/then] [/if] @@ -415,4 +408,24 @@ image=portraits/haldric-mad.png [/message] [/event] + + [event] + name=victory + + [if] + [variable] + name=have_lady + numerical_equals=1 + [/variable] + [then] + [store_unit] + [filter] + id=Lady Outlaw + [/filter] + variable=lady_store + kill=yes + [/store_unit] + [/then] + [/if] + [/event] [/scenario]