Converted DiD to the new gold carryover system.

This commit is contained in:
Lari Nieminen 2008-09-21 12:48:33 +00:00
parent 0c1a42f43e
commit eaffd04c5c
12 changed files with 93 additions and 14 deletions

View file

@ -131,6 +131,9 @@
condition=lose
description=_ "Death of Drogan"
[/objective]
note= _ "Early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
# Place signpost to mark area defended
@ -347,6 +350,9 @@
[/kill]
[endlevel]
result=victory
bonus=yes
carryover_add=yes
carryover_percentage=20
[/endlevel]
#enddef

View file

@ -79,6 +79,9 @@
condition=lose
description=_ "Death of Darken Volk"
[/objective]
note= _ "Early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
[/event]
@ -338,8 +341,10 @@
[/message]
[endlevel]
bonus=yes
result=victory
bonus=yes
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/else]
[/if]

View file

@ -110,6 +110,9 @@
condition=lose
description=_ "Death of Darken Volk"
[/objective]
note= _ "Early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
# {SCATTER_IMAGE (terrain=Uu) 5 scenery/rubble.png}
@ -297,8 +300,10 @@
[event]
name=enemies defeated
[endlevel]
bonus=yes
result=victory
bonus=yes
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/event]

View file

@ -110,6 +110,9 @@
condition=lose
description=_ "Death of Darken Volk"
[/objective]
note= _ "Early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
# Signpost at the end of the pass
@ -285,8 +288,21 @@
{CLEAR_VARIABLE weakened_ice}
[endlevel]
bonus=yes
result=victory
bonus=yes
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/event]
[event]
name=enemies defeated
[endlevel]
result=victory
bonus=yes
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/event]
[/scenario]

View file

@ -157,6 +157,9 @@
condition=lose
description=_ "Death of Darken Volk"
[/objective]
note= _ "Early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
[recall]
@ -322,8 +325,10 @@
[/store_unit]
[endlevel]
bonus=yes
result=victory
bonus=yes
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/then]
[/if]

View file

@ -123,6 +123,9 @@
condition=lose
description= _ "Death of Malin Keshar"
[/objective]
note= _ "No early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
# Replace the fallback orcish leader with the stored one from the
@ -305,6 +308,9 @@
condition=lose
description= _ "Death of Malin Keshar"
[/objective]
note= _ "No early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
[music]
name=loyalists.ogg
@ -332,8 +338,10 @@
[/message]
[endlevel]
result=victory
bonus=no
result=continue
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/event]

View file

@ -105,6 +105,9 @@
condition=lose
description= _ "Death of Darken Volk"
[/objective]
note= _ "No early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
# Add a little randomness to the forest
@ -315,8 +318,10 @@
[/message]
[endlevel]
bonus=no
result=continue
bonus=no
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/then]
[/if]
@ -342,8 +347,10 @@
message=_ "Here is the entrance! Hurry!"
[/message]
[endlevel]
bonus=no
result=continue
bonus=no
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/then]
[/if]

View file

@ -416,8 +416,10 @@
message=_ "I think I have found the passage to the great hall. Follow me quickly!"
[/message]
[endlevel]
result=victory
bonus=yes
result=continue
bonus=no
carryover_add=yes
carryover_percentage=100
[/endlevel]
[/event]

View file

@ -28,6 +28,7 @@
canrecruit=yes
recruit=
gold=0
income=-2
shroud=yes
fog=no
share_maps=yes
@ -408,8 +409,10 @@
message=_ "Phew! Let's get out of here."
[/message]
[endlevel]
result=victory
bonus=no
result=continue
carryover_add=yes
carryover_percentage=100
[/endlevel]
[/event]
[/then]

View file

@ -41,7 +41,7 @@
recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD
fog=no
shroud=no
gold=180
gold=200
[/side]
[side]
@ -118,6 +118,9 @@
condition=lose
description=_ "Death of Malin Keshar"
[/objective]
note= _ "No early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
# {SCATTER_IMAGE (terrain=Gg) 3 scenery/oak-leaning.png}
@ -560,8 +563,10 @@
[/message]
[endlevel]
result=victory
bonus=no
result=continue
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/event]

View file

@ -38,7 +38,7 @@
canrecruit=yes
recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD
income=0
{GOLD 100 80 60}
gold=100
fog=yes
shroud=yes
[/side]
@ -540,6 +540,9 @@
condition=lose
description=_ "Destruction of Mal Keshar"
[/objective]
note= _ "Early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
# Turns are measured from here
@ -652,6 +655,9 @@
[/filter]
[endlevel]
result=victory
bonus=yes
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/event]

View file

@ -70,6 +70,9 @@
condition=lose
description=_ "Destruction of Mal Keshar"
[/objective]
note= _ "Early finish bonus." + "
20%" + _" of finishing gold carried over to the next scenario."
[/objectives]
[if]
@ -442,7 +445,15 @@
# In-scenario events defined within the prestart event
[event]
name=victory
name=enemies defeated
{VARIABLE_OP timesForever add 1}
[endlevel]
result=victory
bonus=yes
carryover_add=yes
carryover_percentage=20
[/endlevel]
[/event]
[/scenario]