Author: cycholka
Date: Mon Mar 24 09:26:01 2008
New Revision: 25051

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25051&view=rev
Log:
The great NR WML cleanup project
*First pass on scenario 9

Modified:
    trunk/data/campaigns/Northern_Rebirth/scenarios/09a_Introductions.cfg

Modified: trunk/data/campaigns/Northern_Rebirth/scenarios/09a_Introductions.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Northern_Rebirth/scenarios/09a_Introductions.cfg?rev=25051&r1=25050&r2=25051&view=diff
==============================================================================
--- trunk/data/campaigns/Northern_Rebirth/scenarios/09a_Introductions.cfg 
(original)
+++ trunk/data/campaigns/Northern_Rebirth/scenarios/09a_Introductions.cfg Mon 
Mar 24 09:26:01 2008
@@ -1,19 +1,16 @@
 #textdomain wesnoth-nr
 [scenario]
+# Basic scenario data, music, length. Whole sceanrio takes place underground, 
and endswhen tallin reaches a signpost
     id=introductions
     name= _ "Introductions"
     {SCENARIO_MUSIC "revelation.ogg"}
-
     map_data="{campaigns/Northern_Rebirth/maps/introductions.map}"
-
     {UNDERGROUND}
-
     {TURNS4 24 21 18 15}
-
     victory_when_enemies_defeated=no
     next_scenario=stolen_gold
-    {PLACE_IMAGE scenery/signpost.png 1 1}
-
+
+# Players side 
     [side]
         type=Lieutenant
         id=Tallin
@@ -22,117 +19,87 @@
         side=1
         controller=human
         recruit=Peasant,Woodsman,Thug,Poacher,Spearman,Bowman,Gryphon,Dwarvish 
Ulfserker,Footpad
-        team_name=mob
+        team_name=knalagans
         shroud=yes
     [/side]
-
+# Empty side for enemy trolls
     [side]
         no_leader=yes
-        type=Troll Warrior
-        id=Ung
         side=2
     [/side]
-
+# Start event, place decoration, bad guys, recall heroes, do the talk
     [event]
-        name=prestart
+        name=start
 
         {SCATTER_IMAGE (terrain=Uu) 4 scenery/rubble.png}
-
         [terrain]
             x=8
             y=15
             terrain=Uu
         [/terrain]
-    [/event]
-
-    [event]
-        name=start
-
-        [unit]
-            type=Troll Warrior
-            id=Ung
-            name= _ "Ung"
-            side=2
-            x=9
-            y=4
-        [/unit]
-
-        {TROLL_RAIDER 9 4}
-        {TROLL_RAIDER 13 4}
-        {TROLL_RAIDER 9 4}
-        {TROLL_RAIDER 9 4}
-        {TROLL_JUNIOR 13 4}
-        {TROLL_RAIDER 9 4}
-        {TROLL_JUNIOR 13 4}
-        {TROLL_RAIDER 9 4}
-        {TROLL_JUNIOR 9 4}
-        {TROLL_JUNIOR 9 4}
-        {TROLL_JUNIOR 9 4}
-        {TROLL_JUNIOR 9 4}
-        {RANGED_RAIDER 13 4}
-        {RANGED_RAIDER 9 4}
-        {RANGED_RAIDER 9 4}
-        {RANGED_RAIDER 13 4}
-        {RANGED_RAIDER 9 4}
-        {RANGED_RAIDER 9 4}
-
-        
-
+               {PLACE_IMAGE scenery/signpost.png 1 1}
+
+        {GENERIC_UNIT 2 "Troll" 9 4}
+        {GENERIC_UNIT 2 "Troll" 9 4}
+        {GENERIC_UNIT 2 "Troll" 13 4}
+        {GENERIC_UNIT 2 "Troll" 9 4}
+        {GENERIC_UNIT 2 "Troll" 9 4}
+        {GENERIC_UNIT 2 "Troll Whelp" 13 4}
+        {GENERIC_UNIT 2 "Troll" 9 4}
+        {GENERIC_UNIT 2 "Troll Whelp" 13 4}
+        {GENERIC_UNIT 2 "Troll" 9 4}
+        {GENERIC_UNIT 2 "Troll Whelp" 9 4}
+        {GENERIC_UNIT 2 "Troll Whelp" 9 4}
+        {GENERIC_UNIT 2 "Troll Whelp" 9 4}
+        {GENERIC_UNIT 2 "Troll Whelp" 9 4}
+        {GENERIC_UNIT 2 "Troll Rocklobber" 13 4}
+        {GENERIC_UNIT 2 "Troll Rocklobber" 9 4}
+        {GENERIC_UNIT 2 "Troll Rocklobber" 9 4}
+        {GENERIC_UNIT 2 "Troll Rocklobber" 13 4}
+        {GENERIC_UNIT 2 "Troll Rocklobber" 9 4}
+        {GENERIC_UNIT 2 "Troll Rocklobber" 9 4}
         [recall]
             role=Supporter
         [/recall]
-
         [recall]
             id=Abhai
         [/recall]
-
         [recall]
             id=Camerin
         [/recall]
-
         [recall]
             id=Father Marcus
         [/recall]
-
         [recall]
             id=Sister Theta
         [/recall]
-
         [recall]
             id=Krash
         [/recall]
-
         [recall]
             id=Elenia
         [/recall]
-
         [recall]
             id=Anita
         [/recall]
-
         [recall]
             id=Stalrag
         [/recall]
-
         [recall]
             id="Ro'Arthian"
         [/recall]
-
         [recall]
             id="Ro'Sothian"
         [/recall]
-
         [message]
             speaker=narrator
             message= _ "After rescuing the princess, Tallin and his allies 
quickly withdrew into the caves."
             image=wesnoth-icon.png
         [/message]
-
         [message]
             speaker=Anita
             message= _ "Now that we are well shut of that dungeon, do you mind 
telling me who you are?"
         [/message]
-
         [if]
             [have_unit]
                 id=Elenia
@@ -142,127 +109,102 @@
                     speaker=Elenia
                     message= _ "Sister! Don't you recognize me?"
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "Gods of Light! Elenia! It's you! It has been 
years! What in the world happened to you? We all had thought you dead!"
                 [/message]
-
                 [message]
                     speaker=Elenia
                     message= _ "Yes, I thought you would think that. What 
actually happened was that I was captured by that disgusting old bone-bag of a 
lich."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "You mean Malifor?"
                 [/message]
-
                 [message]
                     speaker=Elenia
                     message= _ "None other. I was his prisoner for many years 
until these brave people rescued me. It being far too dangerous to travel back 
to the elvish forests by myself with all these orcs about, and in consideration 
of the debt I owe to them, I have been with them ever since."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "Really, and who are these people?"
                 [/message]
-
                 [message]
                     speaker=Elenia
                     message= _ "Here we have our leader and hero, Tallin."
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ " *rolls eyes*"
                 [/message]
-
                 [message]
                     speaker=Elenia
                     message= _ "He is the one who lead his people in revolt 
against the orcs armed with nothing but pitchforks."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "Wow!"
                 [/message]
-
                 [message]
                     speaker=Elenia
                     message= _ "Then they scrounged up bows and a cudgels from 
the dead orcs, and marched into the caves and broke the Dwarves out from their 
encirclement by the undead and trolls."
                 [/message]
-
                 [message]
                     speaker=Elenia
                     message= _ "Then Tallin and his ragtag band hunted down 
Malifor and reduced him to dust. Now Tallin is building an alliance of humans, 
dwarves, dead mages and whatever critters he can find to crush the orcs."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "You're right, Elenia, Tallin is truly a hero."
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ "Not at all, Princess. I am no more than a 
humble peasant trying to free my people from enslavement."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "And a modest one too!"
                 [/message]
-
                 [message]
                     speaker=Sister Theta
                     message= _ " *giggle*"
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "Tallin, not only have you freed me and my 
sister from captivity, but you have defeated Malifor, who has long been a 
scourge to my people. By defeating him, you have aided the Northern Elves more 
then you can imagine."
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ "Ahh, it was nothing, princess."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "No, it was far from nothing, Tallin. The 
Northern Elves will always be in your debt. Tell me, what can we do to repay 
you?"
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ "Princess, as Elenia has said, we are currently 
locked in a death-struggle with the orcs led by a warloard named Rakshas. You 
could help us most by joining us in our quest to crush this menace once and for 
all."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "That could hardly count as replayment of our 
debt to you, Tallin. This Rakshas fellow is an enemy to every Northern Elf as 
well. Why, it can't have been more then a few months ago that the orcs attacked 
our forests and took me prisoner. Helping you defeat them would be serving our 
own interests as much as yours."
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ "Princess, we are not seeking to do business 
here: 'I do this for you and you do this for me.' No, we seek to build 
everlasting friendships which will forever ensure the peace and prosperity of 
these northlands. Therefore, let there be no talk of debts and repayments 
between us."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "Well and nobly spoken, Tallin. Very well, I 
shall join you in your quest to crush this orcish menace. Let gryphons 
immediately be sent to our people; I shall use all the influence I have, or can 
induce our father to use, to raise elvish troops for the battles ahead."
                 [/message]
-
                 [message]
                     speaker=Elenia
                     message= _ "Er, Anita...there is a large elvish force 
moving this direction. By now they can be more then two days' march from here. 
It seems that our father sent them to either free you or bargain for your 
release."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "Why did you not speak of this before? Let us 
immediately send out the gryphons with my personal seal telling them that I 
shall be taking command of the force. Tell them to come straight to Knalga and 
meet me there."
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ "Sounds good...I mean, let it be so."
@@ -273,62 +215,50 @@
                     speaker=Tallin
                     message= _ "Not at all. I am Tallin, from the human town 
of Dwarven Doors. Together with the Dwarvish Lord Hamel and the mage Ro'Arthian 
and his brother, we are attempting to restore peace and freedom to Knalga."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "Uh huh. Good for you."
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ "The only problem - or the major one, anyway - 
is these blasted orcs. They all have united under the leadership of this guy 
called Rakshas and are determined to make Knalga into an orcish stronghold - 
enslaving or killing any humans, dwarves or anything else along the way."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "So what does this have to do with me?"
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ "There is a large elvish force not far from 
here who - we believe anyway - has been sent to free you. We were hoping if we 
could secure your release you guys would help us crush the orcish host."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "Pff, foolish human. What in the world gave you 
that idea."
                 [/message]
-
                 [message]
                     speaker="Ro'Arthian"
                     message= _ "Ungrateful minx! I'm sorely tempted to break 
your neck!"
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "Make one move towards me, lich, and you'll 
find yourself dangling off the end of a vine."
                 [/message]
-
                 [message]
                     speaker=Stalrag
                     message= _ "Leave her alone, lich! Rescuing her was a 
fool's quest to begin with and attacking her won't make the situation better. 
Especially an attack from an incompetent like you!"
                 [/message]
-
                 [message]
                     speaker=Father Marcus
                     message= _ "Peace! Peace!"
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ "Well, what about the orcs then, princess? 
Don't you wish to be rid of them?"
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "How we deal with the orcs is none of your 
concern!"
                 [/message]
-
                 [if]
                     [have_unit]
                         id=Camerin
@@ -338,61 +268,51 @@
                             speaker=Camerin
                             message= _ "What a little priss. She makes me want 
to fry her!"
                         [/message]
-
                         [message]
                             speaker=Anita
                             message= _ "Mind your betters, mage!"
                         [/message]
-
                         [message]
                             speaker=Camerin
                             message= _ "Mind your tongue, elf!"
                         [/message]
                     [/then]
                 [/if]
-
                 [message]
                     speaker=Father Marcus
                     message= _ "Frankly, princess, I am disappointed. I was 
always under the impression that elves were an honorable lot who took their 
debts seriously."
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "Who said that I wasn't going to repay you? 
When I get back to the elves, we will give you five thousand gold for your 
trouble."
                 [/message]
-
                 [message]
                     role=Supporter
                     message= _ "We already have a hoard of gold! We don't need 
more!"
                 [/message]
-
                 [message]
                     speaker=Anita
                     message= _ "That is your concern, not mine, human."
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ " *sigh* Oh well. It isn't as if we weren't 
expecting this."
                 [/message]
-
                 [message]
                     speaker="Ro'Arthian"
                     message= _ "See, I told you so!"
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ "I know, you were right. I am sorry, 
Ro'Arthian. I should have listened to you."
                 [/message]
-
                 [message]
                     speaker=Tallin
                     message= _ "Well, it's pointless to linger here. Let's get 
back to Knalga."
                 [/message]
             [/else]
         [/if]
-
+       # Set objectives
         [objectives]
             side=1
             [objective]
@@ -411,16 +331,13 @@
                 description= _ "Death of Ro'Sothian"
                 condition=lose
             [/objective]
-
             [objective]
                 description= _ "Turns run out"
                 condition=lose
             [/objective]
         [/objectives]
     [/event]
-
-    {campaigns/Northern_Rebirth/utils/herodeaths.cfg}
-
+# Reaching the target signpost, player won
     [event]
         name=moveto
         [filter]
@@ -433,32 +350,18 @@
             speaker=Tallin
             message= _ "OK, I can see the dwarvish defenses just ahead. Lets 
go!"
         [/message]
-
-        [if]
-                       [have_unit]
-                               id=Elenia
-                       [/have_unit]
-            [then]
-                [kill]
-                    id=Anita
-                                       fire_event=no
-                [/kill]
-            [/then]
-        [/if]
-
         [endlevel]
             result=victory
             bonus=yes
         [/endlevel]
-
-        {CLEAR_VARIABLE keep}
     [/event]
-
+# On sigthing the trolls
     [event]
         name=sighted
         [filter]
-            type=Troll,Troll Whelp,Troll Warrior
+            race=troll
         [/filter]
+
         [message]
             speaker=second_unit
             message= _ "Hey look, it's a troll!"
@@ -468,4 +371,7 @@
             message= _ "A troll? What in the world are trolls doing this close 
to Knalga? Something is up, men, let's hurry up and get back."
         [/message]
     [/event]
+# Load death events    
+    {campaigns/Northern_Rebirth/utils/herodeaths.cfg}
+
 [/scenario]


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to