DM S08: Fix issue with objectives and improve closing scene
If Ur-Thorodor moves off of keep and Delfador is next to him, scenario doesn't end, which looks odd. So prevent Ur-Thorodor from moving. Make end scene look better by moving Delfador to the keep for meditating.
This commit is contained in:
parent
253700e540
commit
e9742f8dfb
2 changed files with 42 additions and 0 deletions
|
@ -140,6 +140,9 @@
|
|||
carryover_percentage=80
|
||||
[/gold_carryover]
|
||||
[/objectives]
|
||||
|
||||
{FREEZE_UNIT Ur-Thorodor} # To avoid the silliness of him
|
||||
# being away from the castle and next to Delfador
|
||||
[/event]
|
||||
|
||||
### give the Woses a boost when their leader is first attacked
|
||||
|
@ -230,6 +233,15 @@
|
|||
|
||||
[redraw][/redraw]
|
||||
|
||||
[delay]
|
||||
time=1000
|
||||
[/delay]
|
||||
{MOVE_UNIT (id=Delfador) 23 11}
|
||||
{MODIFY_UNIT (id=Delfador) facing sw}
|
||||
[delay]
|
||||
time=500
|
||||
[/delay]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
message=_"As the Wesnothians withdrew from the island, the woses melted away into the trees. Delfador began the meditation that would place him in contact with the spirit world.
|
||||
|
|
|
@ -122,3 +122,33 @@
|
|||
blue=0
|
||||
[/color_adjust]
|
||||
#enddef
|
||||
|
||||
#define FREEZE_UNIT ID
|
||||
[object]
|
||||
silent=yes
|
||||
duration=scenario # So this object will not be in the save files forever.
|
||||
[filter]
|
||||
id={ID}
|
||||
[/filter]
|
||||
[effect]
|
||||
apply_to=movement_costs
|
||||
replace=no # So this amount is added to the current number.
|
||||
[movement_costs]
|
||||
shallow_water=100
|
||||
reef=100
|
||||
swamp_water=100
|
||||
flat=100
|
||||
sand=100
|
||||
forest=100
|
||||
hills=100
|
||||
mountains=100
|
||||
village=100
|
||||
castle=100
|
||||
cave=100
|
||||
frozen=100
|
||||
unwalkable=100
|
||||
fungus=100
|
||||
[/movement_costs]
|
||||
[/effect]
|
||||
[/object]
|
||||
#enddef
|
||||
|
|
Loading…
Add table
Reference in a new issue