Skip to content

Commit

Permalink
TRoW S5: moved unit variable storage
Browse files Browse the repository at this point in the history
  • Loading branch information
nemaara authored and sevu committed Jan 5, 2019
1 parent e97aa84 commit f3b9978
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions data/campaigns/The_Rise_Of_Wesnoth/scenarios/05_The_Oldwood.cfg
Expand Up @@ -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]

Expand All @@ -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]

0 comments on commit f3b9978

Please sign in to comment.