In Into the Depths, store Deoran's gold to what it was...

...at the beginning of Tidings Good and Ill.
This commit is contained in:
Lari Nieminen 2007-09-10 11:26:12 +00:00
parent 4d986aa7a6
commit e46da6e6b4
2 changed files with 26 additions and 0 deletions

View file

@ -98,6 +98,7 @@
[event]
name=prestart
# Store away Deoran, his human troops, Ethiliel and her bodyguards, so
# that only Gerrick and the rest of the elves remain.
@ -135,6 +136,21 @@
variable=stored_Deoran_army
[/store_unit]
# Store Deoran's gold so it can be restored in Into the Depths and set
# Gerrick's gold to 100.
[store_side]
side=1
variable=stored_Deoran_side
[/store_side]
[modify_side]
side=1
gold=100
[/modify_side]
# Recall Gerrick and set him as the leader.
[recall]

View file

@ -132,6 +132,16 @@
[/unstore_unit]
{NEXT i}
# Restore Deoran's gold from the beginning of Tidings Good and Ill.
[modify_side]
side=1
gold=$stored_Deoran_side.gold
[/modify_side]
{CLEAR_VARIABLE stored_Deoran_side}
[recall]
description=Ethiliel
[/recall]