mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 19:52:11 +00:00
TB S1: cleaned up code
This commit is contained in:
parent
417b83f578
commit
b9b71205d7
@ -1,4 +1,5 @@
|
||||
#textdomain wesnoth-tb
|
||||
|
||||
[scenario]
|
||||
id=01_Rooting_Out_a_Mage
|
||||
name=_ "Rooting Out a Mage"
|
||||
@ -8,14 +9,14 @@
|
||||
|
||||
{DEFAULT_SCHEDULE_DUSK}
|
||||
|
||||
{INTRO_AND_SCENARIO_MUSIC revelation.ogg battle.ogg}{LET_INTRO_MUSIC_FINISH}
|
||||
{SCENARIO_MUSIC battle.ogg}{LET_INTRO_MUSIC_FINISH}
|
||||
{EXTRA_SCENARIO_MUSIC casualties_of_war.ogg}
|
||||
{EXTRA_SCENARIO_MUSIC knolls.ogg}
|
||||
{EXTRA_SCENARIO_MUSIC suspense.ogg}
|
||||
|
||||
# This campaign, as originally written, had no definite time or
|
||||
# place. There was a vague reference to "the eastern reaches of
|
||||
# the kingdom of Wesnoth". In a later revision the epilog hints
|
||||
# the kingdom of Wesnoth". In a later revision the epilogue hints
|
||||
# that Arvith may have traveled with the elf-lord Kalenz, but this is
|
||||
# not much of a constraint as Kalenz was around in 1YW and at
|
||||
# least until the beginning of HttT in 517 YW.
|
||||
@ -28,7 +29,7 @@
|
||||
# Haldric IV in 350, the beginning of the First Dark Age. I'm arbitrarily
|
||||
# setting it at 363; Kalenz began his wanderings ten years later, so the
|
||||
# timing for Arvith to meet him later in life isn't bad. (Later moved
|
||||
# to 363 so the timing of the Epilog A-Red's backstory changes works
|
||||
# to 363 so the timing of the Epilogue. A-Red's backstory changes works
|
||||
# better.)
|
||||
|
||||
# Placing the campaign is a little trickier. Our main textual
|
||||
@ -45,6 +46,7 @@
|
||||
# wmllint: directory spelling Maghre
|
||||
[story]
|
||||
[part]
|
||||
music=revelation.ogg
|
||||
story=_ "The remote freehold of Maghre in the western reaches of the kingdom of Wesnoth was once a peaceful place, its inhabitants largely unaware of the comings and goings of the wider world. Wars and the rumor of wars touched them not, until the day a dark mage settled in the region and began seeking sacrifices for his evil summonings."
|
||||
background=story/Two_Brothers_M1P1.png
|
||||
[/part]
|
||||
@ -77,8 +79,98 @@ Will he heed the call? I do not know if he has kept the amulet; we have not spok
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
[side]
|
||||
side=1
|
||||
controller=human
|
||||
recruit=Horseman,Bowman,Spearman,Footpad
|
||||
#ifdef EASY
|
||||
gold=40
|
||||
#endif
|
||||
#ifdef HARD
|
||||
gold=25
|
||||
#endif
|
||||
team_name=good
|
||||
user_team_name= _ "Humans"
|
||||
{FLAG_VARIANT loyalist}
|
||||
|
||||
type=Knight
|
||||
id=Arvith
|
||||
name= _ "Arvith"
|
||||
profile="portraits/arvith.png~RIGHT()"
|
||||
canrecruit=yes
|
||||
unrenamable=yes
|
||||
|
||||
facing=sw
|
||||
|
||||
[unit]
|
||||
id=Baran
|
||||
name= _ "Baran"
|
||||
unrenamable=yes
|
||||
type=Red Mage
|
||||
profile=portraits/baran.png
|
||||
side=1
|
||||
{IS_HERO}
|
||||
x,y=31,21
|
||||
[modifications]
|
||||
{TRAIT_LOYAL}
|
||||
{TRAIT_INTELLIGENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
# The armed villagers, beware them
|
||||
{NAMED_LOYAL_UNIT () Spearman 30 22 Alwyn (_ "Alwyn")} {FACING sw}
|
||||
{NAMED_LOYAL_UNIT () Spearman 30 21 Brent (_ "Brent")} {FACING sw}
|
||||
{NAMED_LOYAL_UNIT () Spearman 31 22 Cadell (_ "Cadell")} {FACING sw}
|
||||
{NAMED_LOYAL_UNIT () Spearman 32 19 Dannen (_ "Dannen")} {FACING sw}
|
||||
{NAMED_LOYAL_UNIT () Bowman 33 19 Efran (_ "Efran")} {FACING sw}
|
||||
{NAMED_LOYAL_UNIT () Footpad 32 18 Faren (_ "Faren")} {FACING sw}
|
||||
|
||||
# Arvith’s mercenary band
|
||||
{NAMED_LOYAL_UNIT () Horseman 33 21 Tarek (_ "Tarek")} {FACING sw}
|
||||
{NAMED_LOYAL_UNIT () Horseman 32 21 Hann (_ "Hann")} {FACING sw}
|
||||
{NAMED_LOYAL_UNIT () Horseman 33 20 Magrid (_ "Magrid")} {FACING sw}
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
side=2
|
||||
controller=ai
|
||||
#ifdef HARD
|
||||
recruit=Skeleton,Walking Corpse,Vampire Bat,Ghost,Dark Adept,Ghoul
|
||||
gold=200
|
||||
#else
|
||||
recruit=Walking Corpse,Vampire Bat,Dark Adept,Ghoul
|
||||
gold=120
|
||||
#endif
|
||||
team_name=evil
|
||||
user_team_name= _ "Enemies"
|
||||
{FLAG_VARIANT undead}
|
||||
|
||||
type=Dark Sorcerer
|
||||
id=Mordak
|
||||
name= _ "Mordak"
|
||||
canrecruit=yes
|
||||
|
||||
[ai]
|
||||
recruitment_ignore_bad_movement=yes
|
||||
grouping=no
|
||||
passive_leader=yes
|
||||
[/ai]
|
||||
[/side]
|
||||
|
||||
{STARTING_VILLAGES 1 12}
|
||||
{STARTING_VILLAGES 2 5}
|
||||
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
[role]
|
||||
type=Horseman
|
||||
[not]
|
||||
canrecruit=yes
|
||||
[/not]
|
||||
role=Mercenary
|
||||
[/role]
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
@ -99,140 +191,54 @@ Will he heed the call? I do not know if he has kept the amulet; we have not spok
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
[side]
|
||||
{FLAG_VARIANT loyalist}
|
||||
#ifdef EASY
|
||||
gold=40
|
||||
#endif
|
||||
#ifdef HARD
|
||||
gold=25
|
||||
#endif
|
||||
type=Knight
|
||||
id=Arvith
|
||||
name= _ "Arvith"
|
||||
unrenamable=yes
|
||||
profile="portraits/arvith.png~RIGHT()"
|
||||
facing=sw
|
||||
side=1
|
||||
canrecruit=yes
|
||||
controller=human
|
||||
recruit=Horseman,Bowman,Spearman,Footpad
|
||||
[unit]
|
||||
id=Baran
|
||||
name= _ "Baran"
|
||||
unrenamable=yes
|
||||
type=Red Mage
|
||||
profile=portraits/baran.png
|
||||
side=1
|
||||
{IS_HERO}
|
||||
x=31
|
||||
y=21
|
||||
[modifications]
|
||||
{TRAIT_LOYAL}
|
||||
{TRAIT_INTELLIGENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
#the armed villagers, beware them
|
||||
#define SOUTHWEST
|
||||
[+unit]
|
||||
facing=sw
|
||||
[/unit]
|
||||
#enddef
|
||||
{NAMED_LOYAL_UNIT 1 Spearman 30 22 Alwyn (_ "Alwyn")} {SOUTHWEST}
|
||||
{NAMED_LOYAL_UNIT 1 Spearman 30 21 Brent (_ "Brent")} {SOUTHWEST}
|
||||
{NAMED_LOYAL_UNIT 1 Spearman 31 22 Cadell (_ "Cadell")} {SOUTHWEST}
|
||||
{NAMED_LOYAL_UNIT 1 Spearman 32 19 Dannen (_ "Dannen")} {SOUTHWEST}
|
||||
{NAMED_LOYAL_UNIT 1 Bowman 33 19 Efran (_ "Efran")} {SOUTHWEST}
|
||||
{NAMED_LOYAL_UNIT 1 Footpad 32 18 Faren (_ "Faren")} {SOUTHWEST}
|
||||
|
||||
# Arvith’s mercenary band
|
||||
{NAMED_LOYAL_UNIT 1 Horseman 33 21 Tarek (_ "Tarek")} {SOUTHWEST}
|
||||
{NAMED_LOYAL_UNIT 1 Horseman 32 21 Hann (_ "Hann")} {SOUTHWEST}
|
||||
{NAMED_LOYAL_UNIT 1 Horseman 33 20 Magrid (_ "Magrid")} {SOUTHWEST}
|
||||
#undef SOUTHWEST
|
||||
|
||||
team_name=good
|
||||
user_team_name=_"Humans"
|
||||
[/side]
|
||||
|
||||
{STARTING_VILLAGES 1 12}
|
||||
|
||||
[side]
|
||||
#ifdef HARD
|
||||
gold=200
|
||||
#else
|
||||
gold=120
|
||||
#endif
|
||||
type=Dark Sorcerer
|
||||
id=Mordak
|
||||
name= _ "Mordak"
|
||||
side=2
|
||||
canrecruit=yes
|
||||
#ifdef HARD
|
||||
recruit=Skeleton,Walking Corpse,Vampire Bat,Ghost,Dark Adept,Ghoul
|
||||
#else
|
||||
recruit=Walking Corpse,Vampire Bat,Dark Adept,Ghoul
|
||||
#endif
|
||||
[ai]
|
||||
recruitment_ignore_bad_movement=yes
|
||||
grouping=no
|
||||
passive_leader=yes
|
||||
[/ai]
|
||||
team_name=evil
|
||||
user_team_name=_"Enemies"
|
||||
{FLAG_VARIANT undead}
|
||||
[/side]
|
||||
|
||||
{STARTING_VILLAGES 2 5}
|
||||
|
||||
[event]
|
||||
name=start
|
||||
|
||||
[role]
|
||||
type=Horseman
|
||||
[not]
|
||||
canrecruit=yes
|
||||
[/not]
|
||||
role=Mercenary
|
||||
[/role]
|
||||
|
||||
[message]
|
||||
speaker=Baran
|
||||
message= _ "Greetings, brother, and welcome home."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "Hail."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Baran
|
||||
message= _ "Is that all, Arvith? I understand, but..."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "You called, and I came; be content with that. What ails Maghre?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Baran
|
||||
message= _ "A dark mage has come upon us; his creatures call him Mordak. They have been terrorizing outlying farms, and we fear they may soon attack the village itself! The villagers of Maghre have taken up weapons but they are not trained fighters; but we need your men, and you to lead them."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Baran
|
||||
message= _ "I can feel Mordak’s foul touch on the hidden currents of the earth and air. He is somewhere due north of here, I would say not more than two days’ ride."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "All right. I will do this for the village. Can you keep the mage off our backs?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Baran
|
||||
message= _ "I will go stealthily with a handful of our best scouts and woodsmen. While you demonstrate against him and kill his creatures, I will try to defeat Mordak himself with magic at an unguarded moment. You shall be the right hand, I the left... aye, brother?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "... Aye. Just make sure you’re there when we need you."
|
||||
[/message]
|
||||
|
||||
[kill]
|
||||
id=Baran
|
||||
[/kill]
|
||||
@ -240,6 +246,7 @@ Will he heed the call? I do not know if he has kept the amulet; we have not spok
|
||||
|
||||
[event]
|
||||
name=turn 6
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "Baran should be in position by now. Press them, distract the adept so Baran can spring his trap!"
|
||||
@ -248,14 +255,17 @@ Will he heed the call? I do not know if he has kept the amulet; we have not spok
|
||||
|
||||
[event]
|
||||
name=turn 10
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "Baran has not made his attack!"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
role="Mercenary"
|
||||
message= _ "Could he have abandoned us?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "No... No. This is something else. I’m worried about him... but right now it means we have to deal with this Mordak ourselves."
|
||||
@ -267,38 +277,47 @@ Will he heed the call? I do not know if he has kept the amulet; we have not spok
|
||||
[filter]
|
||||
id=Mordak
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Argh!"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "Good work, men! But what has become of my brother?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Worried about him, are you? E-he-he... hergh... gaargh..." # wmllint: no spellcheck
|
||||
[/message]
|
||||
|
||||
[kill]
|
||||
id=Mordak
|
||||
animate=yes
|
||||
[/kill]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "There’s nothing more to be had from this one; we will have to search for Baran ourselves!"
|
||||
[/message]
|
||||
|
||||
[role]
|
||||
type=Spearman,Bowman,Horseman
|
||||
role=Reporter
|
||||
[/role]
|
||||
|
||||
[message]
|
||||
role=Reporter
|
||||
message= _ "Sir, our scouts report that Baran was seen captured and carried away further north!"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "That they should dare this! We will give chase at once."
|
||||
[/message]
|
||||
|
||||
[endlevel]
|
||||
result=victory
|
||||
bonus=yes
|
||||
@ -306,20 +325,21 @@ Will he heed the call? I do not know if he has kept the amulet; we have not spok
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
#you lose
|
||||
[event]
|
||||
name=time over
|
||||
|
||||
[message]
|
||||
speaker=Mordak
|
||||
message= _ "Your brother’s plan to ambush me has failed. He is our prisoner now."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "My brother, kidnapped? I have failed you, Baran! And even now Mordak’s forces descend upon the village!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
#When you attack
|
||||
# When you attack
|
||||
[event]
|
||||
name=attack
|
||||
[filter_second]
|
||||
@ -328,13 +348,14 @@ Will he heed the call? I do not know if he has kept the amulet; we have not spok
|
||||
type=Dark Adept,Dark Sorcerer,Vampire Bat
|
||||
[/not]
|
||||
[/filter_second]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "I hear these creatures are nigh-immune to our weapons, let us see!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
#killer saying some bravado
|
||||
# Killer saying some bravado
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
@ -343,6 +364,7 @@ Will he heed the call? I do not know if he has kept the amulet; we have not spok
|
||||
type=Dark Adept,Dark Sorcerer,Vampire Bat
|
||||
[/not]
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=second_unit
|
||||
message= _ "That was not so hard!"
|
||||
@ -354,10 +376,12 @@ Will he heed the call? I do not know if he has kept the amulet; we have not spok
|
||||
[filter]
|
||||
id=Arvith
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=Arvith
|
||||
message= _ "All is lost now that I am dead..."
|
||||
[/message]
|
||||
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
|
Loading…
x
Reference in New Issue
Block a user