SotA: Clear variables when no longer needed

[ci skip]
This commit is contained in:
sigurdfdragon 2017-05-31 20:59:00 -04:00
parent 14c6d534ea
commit d5d297818c
3 changed files with 17 additions and 2 deletions

View File

@ -500,7 +500,7 @@ We crossed the high plateaus, and forded the Arkan-thoria. Then we headed up int
[redraw][/redraw]
[clear_variable]
name=rastabahn_stored, rastabahn_harmed, location
name=rastabahn_stored, rastabahn_harmed, location, holy_waters
[/clear_variable]
[endlevel]
result=victory

View File

@ -288,6 +288,9 @@ Not far inside the cave was a ruined castle built in a style I did not recognize
[/insert_tag]
[/modifications]
[/unit]
[clear_variable]
name=rastabahn_stored
[/clear_variable]
{DELAY}

View File

@ -183,7 +183,7 @@ We left the fires of the mountain behind and plunged once more into darkness. Af
[/do]
[/repeat]
[clear_variable]
name=dwarf_type
name=dwarf_type, location
[/clear_variable]
[item]
@ -425,6 +425,9 @@ We left the fires of the mountain behind and plunged once more into darkness. Af
[/filter]
variable=alerting_unit
[/store_unit]
[clear_variable]
name=can_see_the_king
[/clear_variable]
[fire_event]
name=get_more_gold
[/fire_event]
@ -488,11 +491,17 @@ We left the fires of the mountain behind and plunged once more into darkness. Af
range=vision
variable=clear_shroud
[/store_reachable_locations]
[clear_variable]
name=alerting_unit
[/clear_variable]
[remove_shroud]
side=1
find_in=clear_shroud
[/remove_shroud]
[redraw][/redraw]
[clear_variable]
name=clear_shroud
[/clear_variable]
[message]
speaker=Golbanduth
@ -533,6 +542,9 @@ We left the fires of the mountain behind and plunged once more into darkness. Af
find_in=clear_shroud
[/remove_shroud]
[redraw][/redraw]
[clear_variable]
name=clear_shroud
[/clear_variable]
[move_unit]
id=porter