Skip to content

Commit

Permalink
TRoW S2: 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 21689cd commit e97aa84
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions data/campaigns/The_Rise_Of_Wesnoth/scenarios/02_The_Fall.cfg
Expand Up @@ -352,19 +352,9 @@

{FULL_HEAL (id=Lady Outlaw)}

[store_unit]
[filter]
id=Wesfolk Leader
[/filter]

kill=yes
variable=lady_store
[/store_unit]

{VARIABLE lady_store.id (Lady Outlaw)}
{VARIABLE lady_store.name ( _ "Lady Outlaw")}
{VARIABLE lady_store.canrecruit no}
{VARIABLE lady_store.side 1}
[hide_unit]
id=Wesfolk Leader
[/hide_unit]

[set_variable]
name=have_lady
Expand Down Expand Up @@ -467,6 +457,19 @@
[/kill]

{CLEAR_VARIABLE wesfolk_leader_store}

[store_unit]
[filter]
id=Wesfolk Leader
[/filter]

variable=lady_store
[/store_unit]

{VARIABLE lady_store.id (Lady Outlaw)}
{VARIABLE lady_store.name ( _ "Lady Outlaw")}
{VARIABLE lady_store.canrecruit no}
{VARIABLE lady_store.side 1}
[/event]
[/scenario]

Expand Down

0 comments on commit e97aa84

Please sign in to comment.