Skip to content

Commit

Permalink
EI S3: formatting cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 20, 2015
1 parent aac01d4 commit 73dcb88
Showing 1 changed file with 79 additions and 70 deletions.
@@ -1,4 +1,5 @@
#textdomain wesnoth-ei

[scenario]
id=03_An_Unexpected_Appearance
name= _ "An Unexpected Appearance"
Expand All @@ -12,43 +13,44 @@
{EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg}
{EXTRA_SCENARIO_MUSIC wanderer.ogg}

{campaigns/Eastern_Invasion/utils/deaths.cfg}

{EI_TRACK {JOURNEY_03_NEW} }

[side]
type=Lieutenant
id=Gweddry
name= _ "Gweddry"
side=1
canrecruit=yes
controller=human
team_name=wesnothians
user_team_name=_"Wesnothians"
{GOLD 200 150 100}
team_name=wesnothians
user_team_name= _ "Wesnothians"
{FLAG_VARIANT loyalist}

type=Lieutenant
id=Gweddry
name= _ "Gweddry"
canrecruit=yes
[/side]

[side]
type=Dark Sorcerer
id=Mal-Skraat
name= _ "Mal-Skraat"
facing=ne
side=2
canrecruit=yes
controller=ai
recruit=Skeleton,Skeleton Archer,Skeleton Rider,Soulless
[ai]
recruitment_pattern=scout,scout,fighter,fighter,archer
[/ai]
{GOLD 80 110 140}
team_name=undead
user_team_name= _ "Undead"
{FLAG_VARIANT undead}

type=Dark Sorcerer
id=Mal-Skraat
name= _ "Mal-Skraat"
canrecruit=yes

facing=ne
[modifications]
{TEAM_COLOR_OVERRIDE () darkred}
[/modifications]

team_name=undead
user_team_name=_"Undead"
[ai]
recruitment_pattern=scout,scout,fighter,fighter,archer
[/ai]

[ai]
recruitment_pattern=fighter,archer,scout,scout
Expand All @@ -63,63 +65,47 @@
[/ai]
[/side]

#ifdef HARD
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Skeleton Rider) 3}
#else
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Skeleton Rider) 2}
#endif

{STARTING_VILLAGES 2 7}

[side]
side=3
controller=ai
recruit=Walking Corpse
{GOLD 10 20 30}
team_name=undead
user_team_name= _ "Undead"
{FLAG_VARIANT undead}

type=Dark Adept
id=Mal-Tar
name= _ "Mal-Tar"
canrecruit=yes

facing=sw
experience=24
side=3
canrecruit=yes
recruit=Walking Corpse
team_name=undead
user_team_name=_"Undead"
{GOLD 10 20 30}
{FLAG_VARIANT undead}

[ai]
aggression=1.0
[/ai]
[/side]

# As long as Mal-Tar sits on his keep, ensure that he can't survive long by
# getting lucky.
{FORCE_CHANCE_TO_HIT side=1 id=Mal-Tar 100 (
[have_unit]
id=Mal-Tar

[filter_location]
terrain=Ke
[/filter_location]
[/have_unit]
)}

[side]
side=4
controller=ai
recruit=Vampire Bat,Skeleton,Skeleton Archer,Ghoul
{GOLD 75 100 150}
team_name=undead
user_team_name= _ "Undead"
{FLAG_VARIANT undead}

type=Dark Sorcerer
id=Mal-Kallat
name= _ "Mal-Kallat"
facing=sw
side=4
canrecruit=yes
recruit=Vampire Bat,Skeleton,Skeleton Archer,Ghoul
team_name=undead
user_team_name=_"Undead"

facing=sw
[modifications]
{TEAM_COLOR_OVERRIDE () darkred}
[/modifications]

{GOLD 75 100 150}
{FLAG_VARIANT undead}

[ai]
recruitment_pattern=fighter,archer,scout,scout
aggression=0.6
Expand All @@ -133,23 +119,35 @@
[/ai]
[/side]

{PLACE_IMAGE scenery/trapdoor-open.png 21 12}

# As long as Mal-Tar sits on his keep, ensure that he can't survive long by
# getting lucky.
{FORCE_CHANCE_TO_HIT (side=1) (id=Mal-Tar) 100 (
[have_unit]
id=Mal-Tar

[filter_location]
terrain=Ke
[/filter_location]
[/have_unit]
)}

#ifdef HARD
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Skeleton Rider) 3}
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 (Vampire Bat) 4}
#else
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Skeleton Rider) 2}
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 (Vampire Bat) 2}
#endif

{STARTING_VILLAGES 2 7}

{STARTING_VILLAGES 4 9}

[event]
name=prestart

[item]
x=21
y=12
image=scenery/trapdoor-open.png
[/item]

[objectives]
side=1
[objective]
Expand All @@ -172,41 +170,50 @@
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]

[event]
name=start
[recall]
id=Dacyn
[/recall]
[/event]

[event]
name=start

[message]
speaker=Gweddry
message= _ "We have escaped from those dark tunnels! But where are we now?"
[/message]

[message]
speaker=Dacyn
message= _ "We are in the middle of the eastern mountains, in a mountain pass leading east and west. We need to head north, but we cannot go through the mountains... we must go east, or west, and hope we can get around them."
[/message]

[message]
speaker=Mal-Kallat
message= _ "Hahaha! We have you surrounded!"
[/message]

[message]
speaker=Mal-Skraat
message= _ "Why don’t we see if the new recruit can handle them. After all, there are only two!"
[/message]

[message]
speaker=Mal-Tar
message= _ "No!! They’ll kill me!"
[/message]

[message]
speaker=Mal-Kallat
message= _ "That would be your problem, then."
[/message]

[message]
speaker=Gweddry
message= _ "These undead are toying with us! This adept is weak — we may be able to take his fort."
[/message]

[message]
speaker=Dacyn
message= _ "A good idea. Then, we must kill either of the dark sorcerers. I would prefer to attack the western one, so we can return to Wesnoth."
Expand All @@ -218,14 +225,14 @@
[filter]
id=Mal-Skraat
[/filter]

[message]
speaker=Mal-Skraat
message= _ "No! You have defeated me, and can re-enter Wesnoth!"
[/message]
[set_variable]
name="first_fork"
value="west"
[/set_variable]

{VARIABLE first_fork west}

[endlevel]
result=victory
next_scenario=04a_An_Elven_Alliance
Expand All @@ -239,14 +246,14 @@
[filter]
id=Mal-Kallat
[/filter]

[message]
speaker=Mal-Skraat
message= _ "You have defeated my brother, but I will follow you and kill you!"
[/message]
[set_variable]
name="first_fork"
value="east"
[/set_variable]

{VARIABLE first_fork east}

[endlevel]
result=victory
next_scenario=04b_The_Undead_Border_Patrol
Expand All @@ -256,4 +263,6 @@
[/event]

{EARLY_DEFEAT}

{campaigns/Eastern_Invasion/utils/deaths.cfg}
[/scenario]

0 comments on commit 73dcb88

Please sign in to comment.