Converted UtBS to the new gold carryover system...

...and upped the minimum starting golds from 100 to 200.
This commit is contained in:
Lari Nieminen 2008-12-26 00:22:30 +00:00
parent ceee1ffb46
commit 8cffb10df4
15 changed files with 135 additions and 26 deletions

View file

@ -150,6 +150,8 @@
description= _ "Death of Kaleh, Nym, Garak or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
# There are 3 mudcrawler encounter spots, in the NW and SW corner
@ -792,7 +794,7 @@
[set_variable]
name=seen_naru
value="yes"
[/set_variable]
[/set_variable]
[message]
speaker=Naru
message= _ "Is it safe to come out? I was so scared."
@ -1105,6 +1107,8 @@
description= _ "Death of Kaleh, Nym, Garak or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
#enddef
@ -1200,6 +1204,7 @@
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/then]
[/if]
@ -1209,6 +1214,7 @@
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/else]
[/if]

View file

@ -25,6 +25,7 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=200
{INCOME 17 14 12}
controller=human
recruit=Desert Fighter, Desert Archer, Desert Hunter, Desert Shaman, Desert Scout
@ -187,6 +188,8 @@
description= _ "Death of Kaleh, Nym, Garak or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
# Recall Nym, Zhul and Garak
@ -1704,6 +1707,8 @@
description= _ "Death of Kaleh, Nym, Garak or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[unit]
@ -1953,6 +1958,7 @@
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/else]
[/if]

View file

@ -36,6 +36,7 @@
canrecruit=yes
controller=human
recruit=Desert Fighter, Desert Archer, Desert Hunter, Desert Shaman, Desert Scout
gold=200
{INCOME 4 2 0}
shroud=yes
fog=no
@ -195,6 +196,8 @@
description= _ "Death of Kaleh, Nym, Garak or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
#recall heroes
@ -514,7 +517,7 @@
[filter]
side=2,3,4
[/filter]
[message]
speaker=Nym
message= _ "They're raising the corpses of our fallen! What a horrible fate!"
@ -524,7 +527,7 @@
message= _ "Then we shall have to give them a proper cremation."
[/message]
[/event]
# Count destroyed tents, each lost makes future scenarios harder
# Includes defeat by loss of tents
# Affects variables : $elven_camps
@ -539,8 +542,8 @@
# give player villages to protect
{VARIABLE elven_camps $camps.length}
#This generates and stores an event for every camp.
#That way we can avoid to store information about each village
#This generates and stores an event for every camp.
#That way we can avoid to store information about each village
#by using the first_time_only feature.
{FOREACH camps camp}
[set_variables]
@ -554,7 +557,7 @@
x=$camps[$camp].x
y=$camps[$camp].y
[/filter]
[if]
[variable]
name=unit.side
@ -588,9 +591,9 @@
#ifdef EASY
{NOTRAIT_UNIT $unit.side (Walking Corpse) $|x1 $|y1}
#endif
[/then]
[/if]
[/if]
[gold]
#ifdef EASY
@ -604,9 +607,9 @@
#endif
side=$unit.side
[/gold]
{VARIABLE_OP elven_camps add -1}
[if]
[variable]
name=elven_camps
@ -617,7 +620,7 @@
speaker=Kaleh
message= _ "Too many of our people have been killed. We will surely be overwhelmed by the undead now. All is lost!"
[/message]
[endlevel]
result=defeat
[/endlevel]
@ -1228,6 +1231,8 @@ This unit always strikes first with this attack, even if they are defending."
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
{VARIABLE defiant_death 1}
[/then]
@ -1386,6 +1391,8 @@ This unit always strikes first with this attack, even if they are defending."
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[/then]
[/if]
@ -1551,6 +1558,8 @@ This unit always strikes first with this attack, even if they are defending."
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[/then]
[/if]
@ -1678,6 +1687,8 @@ This unit always strikes first with this attack, even if they are defending."
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
{VARIABLE defiant_death 1}
[/then]
@ -1836,6 +1847,8 @@ This unit always strikes first with this attack, even if they are defending."
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[/then]
[/if]
@ -1968,6 +1981,8 @@ This unit always strikes first with this attack, even if they are defending."
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
{VARIABLE defiant_death 1}
[/then]
@ -2126,6 +2141,8 @@ This unit always strikes first with this attack, even if they are defending."
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[/then]
[/if]
@ -2586,6 +2603,7 @@ This unit always strikes first with this attack, even if they are defending."
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/then]
[/if]
@ -2692,6 +2710,7 @@ This unit always strikes first with this attack, even if they are defending."
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/then]
[/if]
@ -2844,6 +2863,7 @@ This unit always strikes first with this attack, even if they are defending."
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]

View file

@ -25,11 +25,10 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=200
{INCOME 6 4 2}
controller=human
recruit=Desert Fighter, Desert Archer, Desert Hunter, Desert Shaman, Desert Scout
shroud=yes
fog=no
[/side]
@ -231,6 +230,8 @@
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
# the variable scen3 is based on how many encampments
@ -1480,6 +1481,7 @@
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]

View file

@ -28,6 +28,7 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=200
{INCOME 7 5 3}
controller=human
shroud=yes
@ -401,6 +402,8 @@
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
#increase the cost of all units by 1
@ -1492,6 +1495,8 @@
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[/command]
[/option]
@ -1534,6 +1539,8 @@
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[/command]
[/option]
@ -2999,6 +3006,8 @@
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[set_variable]
@ -3017,6 +3026,7 @@
result=victory
next_scenario=6b_In the Domain of the Dwarves
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/else]
[/if]
@ -3088,6 +3098,8 @@
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[set_variable]
@ -3106,6 +3118,7 @@
result=victory
next_scenario=6a_In_the_Tunnels_of_the_Trolls
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/else]
[/if]
@ -3433,6 +3446,7 @@
result=victory
next_scenario="6b_In the Domain of the Dwarves"
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/then]
[/if]
@ -3453,6 +3467,7 @@
result=victory
next_scenario=6a_In_the_Tunnels_of_the_Trolls
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/then]
[/if]

View file

@ -27,6 +27,7 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=200
{INCOME 5 3 1}
controller=human
recruit=Desert Fighter, Desert Archer, Desert Hunter, Desert Shaman, Desert Scout
@ -207,6 +208,8 @@
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
#increase the cost of all units by 1
@ -2181,8 +2184,8 @@
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]

View file

@ -38,6 +38,7 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=200
{INCOME 5 3 1}
controller=human
shroud=yes
@ -291,6 +292,8 @@
description= _ "Death of Kaleh, Nym or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
#increase the cost of all units by 1
@ -2030,6 +2033,7 @@
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]

View file

@ -28,6 +28,7 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=0
{INCOME -2 -2 -2}
controller=human
#recruit=Desert Fighter3, Desert Archer3, Desert Hunter3, Desert Shaman3, Desert Scout3
@ -730,7 +731,9 @@
[/message]
[endlevel]
result=continue
result=victory
carryover_report=no
{NEW_GOLD_CARRYOVER 100}
[/endlevel]
[/else]
[/if]
@ -806,7 +809,9 @@
[command]
[endlevel]
result=continue
result=victory
carryover_report=no
{NEW_GOLD_CARRYOVER 100}
[/endlevel]
[/command]
[/option]

View file

@ -28,6 +28,7 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=0
{INCOME -2 -2 -2}
controller=human
#recruit=Desert Fighter3, Desert Archer3, Desert Hunter3, Desert Shaman3, Desert Scout3
@ -729,7 +730,9 @@
[/message]
[endlevel]
result=continue
result=victory
carryover_report=no
{NEW_GOLD_CARRYOVER 100}
[/endlevel]
[/else]
[/if]
@ -802,7 +805,9 @@
[command]
[endlevel]
result=continue
result=victory
carryover_report=no
{NEW_GOLD_CARRYOVER 100}
[/endlevel]
[/command]
[/option]

View file

@ -26,6 +26,7 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=200
{INCOME 4 2 0}
controller=human
shroud=yes
@ -834,6 +835,8 @@
description= _ "Death of Kaleh, Nym, Zhul, or Dwarf Ally"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[/then]
@ -848,6 +851,8 @@
description= _ "Death of Kaleh, Nym, Zhul, or Troll Ally"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[/else]
[/if]
@ -4204,6 +4209,8 @@
description= _ "Death of Kaleh, Nym, or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[set_variable]
@ -4960,6 +4967,8 @@
description= _ "Death of Kaleh, Nym, or Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[set_variable]
@ -5109,7 +5118,8 @@
description= _ "Death of Kaleh, Nym, or Zhul"
condition=lose
[/objective]
note= _ "The messenger is the leader of the special white colored units"
note= _ "The messenger is the leader of the special white colored units"+"
"+{EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
# flag to store if we should start the messenger timer or not
@ -5669,6 +5679,7 @@
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]

View file

@ -24,6 +24,7 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=200
{INCOME 2 0 0}
controller=human
shroud=yes
@ -521,6 +522,8 @@
description= _ "Death of Kaleh, Nym, Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
[teleport]
@ -1078,6 +1081,8 @@
description= _ "Death of Kaleh, Nym, Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
# move tanstafaal to keep
@ -2998,6 +3003,8 @@
description= _ "Death of Kaleh, Nym, Zhul"
condition=lose
[/objective]
note={EARLY_FINISH_BONUS_NOTE}+{NEW_GOLD_CARRYOVER_NOTE_40}
[/objectives]
# allow player's elves to recruit units again
@ -3245,6 +3252,7 @@
[endlevel]
name=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/then]
[/if]

View file

@ -28,6 +28,7 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=0
{INCOME -2 -2 -2}
controller=human
#recruit=Desert Fighter3, Desert Archer3, Desert Hunter3, Desert Shaman3, Desert Scout3
@ -677,7 +678,10 @@
[/message]
[endlevel]
result=continue
result=victory
linger_mode=no
carryover_report=no
{NEW_GOLD_CARRYOVER 100}
[/endlevel]
[/event]

View file

@ -39,6 +39,7 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
gold=200
{INCOME 0 0 0}
controller=human
shroud=yes
@ -615,6 +616,8 @@
description= _ "Death of Kaleh, Nym, Zhul"
condition=lose
[/objective]
note={NO_GOLD_CARRYOVER_NOTE}
[/objectives]
#create starting elves
@ -1102,6 +1105,8 @@
description= _ "Death of Kaleh, Nym, Zhul"
condition=lose
[/objective]
note={NO_GOLD_CARRYOVER_NOTE}
[/objectives]
# change the music playing
@ -1201,7 +1206,8 @@
[endlevel]
result=victory
bonus=yes
bonus=no
{NEW_GOLD_CARRYOVER 0}
[/endlevel]
[/then]
@ -1238,6 +1244,8 @@
description= _ "Death of Kaleh, Nym, Zhul"
condition=lose
[/objective]
note={NO_GOLD_CARRYOVER_NOTE}
[/objectives]
[/else]
[/if]
@ -1292,7 +1300,8 @@
[endlevel]
result=victory
bonus=yes
bonus=no
{NEW_GOLD_CARRYOVER 0}
[/endlevel]
[/then]
@ -1329,6 +1338,8 @@
description= _ "Death of Kaleh, Nym, Zhul"
condition=lose
[/objective]
note={NO_GOLD_CARRYOVER_NOTE}
[/objectives]
[/else]
[/if]
@ -1362,6 +1373,8 @@
description= _ "Death of Kaleh, Nym, Zhul"
condition=lose
[/objective]
note={NO_GOLD_CARRYOVER_NOTE}
[/objectives]
[/then]
[/if]
@ -1509,7 +1522,8 @@
[then]
[endlevel]
result=victory
bonus=yes
bonus=no
{NEW_GOLD_CARRYOVER 0}
[/endlevel]
[/then]
[/if]

View file

@ -31,7 +31,8 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
{INCOME 2 0 0}
gold=0
{INCOME 0 0 0}
controller=human
shroud=no
fog=no
@ -1594,7 +1595,11 @@
{CLEAR_VARIABLE temp_y}
[endlevel]
result=continue_no_save
result=victory
bonus=no
carryover_report=no
linger_mode=no
{NEW_GOLD_CARRYOVER 0}
[/endlevel]
[/event]

View file

@ -28,7 +28,8 @@
id=Kaleh
type=Desert Fighter
canrecruit=yes
{INCOME 2 0 0}
gold=0
{INCOME 0 0 0}
controller=human
shroud=no
fog=no