From e0b02406a9c392f2dc57917909902fba2f486b1b Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Mon, 2 Feb 2015 03:17:33 +1100 Subject: [PATCH] DiD: all-inclusive format fixup, code cleanup, and general refactor --- .../campaigns/Descent_Into_Darkness/_main.cfg | 2 +- .../scenarios/01_Saving_Parthyn.cfg | 135 +++---- .../scenarios/02_Peaceful_Valley.cfg | 81 ++-- .../scenarios/03_A_Haunting_in_Winter.cfg | 63 ++-- .../scenarios/04_Beginning_of_the_Revenge.cfg | 73 ++-- .../scenarios/05_Orc_War.cfg | 107 +++--- .../scenarios/06_Return_to_Parthyn.cfg | 129 ++++--- .../scenarios/07_A_Small_Favor.cfg | 217 +++++------ .../scenarios/08_A_Small_Favor2.cfg | 56 ++- .../scenarios/09_A_Small_Favor3.cfg | 100 ++--- .../scenarios/10_Alone_at_Last.cfg | 164 ++++---- .../scenarios/11_Descent_into_Darkness.cfg | 349 +++++++++--------- .../scenarios/12_Endless_Night.cfg | 80 ++-- 13 files changed, 789 insertions(+), 767 deletions(-) diff --git a/data/campaigns/Descent_Into_Darkness/_main.cfg b/data/campaigns/Descent_Into_Darkness/_main.cfg index 04c7804a0ddc..615f22437837 100644 --- a/data/campaigns/Descent_Into_Darkness/_main.cfg +++ b/data/campaigns/Descent_Into_Darkness/_main.cfg @@ -70,4 +70,4 @@ #endif -# wmllint: directory spelling Malin Dela Keshar Drogan Darken Volk +# wmllint: directory spelling Malin Dela Keshar Drogan Darken Volk Karres diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/01_Saving_Parthyn.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/01_Saving_Parthyn.cfg index ddf30ab09ebd..9a2f1ec6b992 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/01_Saving_Parthyn.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/01_Saving_Parthyn.cfg @@ -2,7 +2,7 @@ [scenario] id=01_Saving_Parthyn - name=_ "Saving Parthyn" + name= _ "Saving Parthyn" map_data="{campaigns/Descent_Into_Darkness/maps/01_Saving_Parthyn.map}" turns=15 next_scenario=02_Peaceful_Valley @@ -10,38 +10,36 @@ {DEFAULT_SCHEDULE} - {INTRO_AND_SCENARIO_MUSIC the_city_falls.ogg northerners.ogg} + {SCENARIO_MUSIC northerners.ogg} {EXTRA_SCENARIO_MUSIC loyalists.ogg} {EXTRA_SCENARIO_MUSIC battle.ogg} - # wmllint: local spellings stewpots [story] - #po: If the target language has a specialized term for a fortified town, - #po: like Latin "oppidum", use it for Parthyn. [part] - story=_ "Malin Keshar was born ten years after the death of Haldric IV. He grew up in the northern border town of Parthyn, the second child and eldest son of the baron of the city. Every summer when the mountain passes became clear, orcs came down from the north to prove themselves in battle. Every year Parthyn’s guards repelled the raids, though some of the townsfolk were always lost. Malin’s father led raiding parties to disrupt the orc encampments and send the orcs back to the north." + music=the_city_falls.ogg + # po: If the target language has a specialized term for a fortified town, like Latin "oppidum", use it for Parthyn. + story= _ "Malin Keshar was born ten years after the death of Haldric IV. He grew up in the northern border town of Parthyn, the second child and eldest son of the baron of the city. Every summer when the mountain passes became clear, orcs came down from the north to prove themselves in battle. Every year Parthyn’s guards repelled the raids, though some of the townsfolk were always lost. Malin’s father led raiding parties to disrupt the orc encampments and send the orcs back to the north." {STORYTXT_BACKGROUND_BIGMAP_DID} [/part] [part] - story=_ "When Malin was 10, a mage who passed through the town sensed strong magical abilities in the boy. His parents, seeing a chance for him to live away from the constant battles with the orcs, arranged for him to be sent to the mage community on the Isle of Alduin. There he studied for eight years, while back at home the orc raids increased in their frequency and ferocity. Before Malin could finish his training, however, he was expelled." + story= _ "When Malin was 10, a mage who passed through the town sensed strong magical abilities in the boy. His parents, seeing a chance for him to live away from the constant battles with the orcs, arranged for him to be sent to the mage community on the Isle of Alduin. There he studied for eight years, while back at home the orc raids increased in their frequency and ferocity. Before Malin could finish his training, however, he was expelled." {STORYTXT_BACKGROUND_BIGMAP_DID} [/part] [part] - # good to have an arrow that arcs across the screen here - story=_ "Malin returned to Parthyn just as summer began only to encounter more misfortune. Even as he arrived, an early, unexpected orc raid was being conducted against Parthyn. Malin watched as his father took an arrow in the chest and fell lifeless to the ground." + story= _ "Malin returned to Parthyn just as summer began only to encounter more misfortune. Even as he arrived, an early, unexpected orc raid was being conducted against Parthyn. Malin watched as his father took an arrow in the chest and fell lifeless to the ground." {STORYTXT_BACKGROUND_BIGMAP_DID} [/part] [part] - story=_ "Shaken by the loss of their commander, the human defense began to falter. As the orcs roared in anticipation of victory, skeleton warriors poured out of the woods to the orcs’ rear. The soldiers watched in amazement as the skeletons cut down orc after orc and then melted back into the forest." + story= _ "Shaken by the loss of their commander, the human defense began to falter. As the orcs roared in anticipation of victory, skeleton warriors poured out of the woods to the orcs’ rear. The soldiers watched in amazement as the skeletons cut down orc after orc and then melted back into the forest." {STORYTXT_BACKGROUND_BIGMAP_DID} [/part] - # wmllint: local spelling misdoubt [part] - story=_ "Shortly a man dressed in the robes of a necromancer emerged from the trees. “Allow me to introduce myself. I am Darken Volk. While I know your kingdom does not love my kind, I think it vital that we put aside our differences for the moment. The orc menace grows in the North, and I misdoubt any of the border towns can stand without some assistance. For now, I ask only to rest in your town for a few days.”" + # wmllint: local spelling misdoubt + story= _ "Shortly a man dressed in the robes of a necromancer emerged from the trees. “Allow me to introduce myself. I am Darken Volk. While I know your kingdom does not love my kind, I think it vital that we put aside our differences for the moment. The orc menace grows in the North, and I misdoubt any of the border towns can stand without some assistance. For now, I ask only to rest in your town for a few days.”" {STORYTXT_BACKGROUND_BIGMAP_DID} [/part] [part] - story=_ "Drogan, the captain of the guard, replied, “Surely you know that the penalty for necromancy is death. For your aid we will promise you rest and safety. Upon your departure, however, you are banished from these lands, not to return on pain of death. We thank you for your help, but need no alliances with those who deal only in dark magic.”" + story= _ "Drogan, the captain of the guard, replied, “Surely you know that the penalty for necromancy is death. For your aid we will promise you rest and safety. Upon your departure, however, you are banished from these lands, not to return on pain of death. We thank you for your help, but need no alliances with those who deal only in dark magic.”" {STORYTXT_BACKGROUND_BIGMAP_DID} [/part] [/story] @@ -51,18 +49,20 @@ [side] side=1 controller=human + recruit=Walking Corpse + gold=70 team_name=town guard - user_team_name=_"Defenders" + user_team_name= _ "Defenders" + {FLAG_VARIANT undead} + type=Apprentice Mage id=Malin Keshar name=_ "Malin Keshar" profile=portraits/malin_young.png - unrenamable=yes canrecruit=yes - recruit=Walking Corpse - gold=70 + unrenamable=yes + facing=nw - {FLAG_VARIANT undead} # Starting units for Malin {LOYAL_UNIT () (Spearman) 30 11} @@ -73,15 +73,17 @@ [side] side=2 controller=ai - team_name=orcs - user_team_name=_"Orcs" - type=Orcish Warrior - id="Kreg'a'shar Trr" - name=_ "Kreg’a’shar Trr" - canrecruit=yes recruit=Orcish Grunt,Orcish Archer,Wolf Rider,Orcish Crossbowman {GOLD 100 140 160} + team_name=orcs + user_team_name= _ "Orcs" {FLAG_VARIANT6 ragged} + + type=Orcish Warrior + id=Kreg'a'shar Trr + name= _ "Kreg’a’shar Trr" + canrecruit=yes + facing=sw [ai] @@ -96,17 +98,19 @@ [side] side=3 controller=ai + recruit=Peasant,Woodsman,Spearman + {GOLD 50 25 25} team_name=town guard - user_team_name=_"Defenders" + user_team_name= _ "Defenders" + {FLAG_VARIANT loyalist} + type=Sergeant id=Drogan - name=_ "Drogan" + name= _ "Drogan" profile=portraits/drogan.png - unrenamable=yes - {GOLD 50 25 25} canrecruit=yes - recruit=Peasant,Woodsman,Spearman - {FLAG_VARIANT loyalist} + unrenamable=yes + facing=ne # Starting units for Drogan @@ -142,27 +146,23 @@ [event] name=prestart - # FIXME: Merge this map with the one for Return To Parthyn. - # Scattering random trees on here would be a bad idea, - # since we visit it twice. - [objectives] side=1 [objective] condition=win - description=_ "Defend the river fort for two nights" + description= _ "Defend the river fort for two nights" [/objective] [objective] condition=lose - description=_ "Orcs break through the river fort defenses" + description= _ "Orcs break through the river fort defenses" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [objective] condition=lose - description=_ "Death of Drogan" + description= _ "Death of Drogan" [/objective] [gold_carryover] @@ -179,29 +179,29 @@ [message] speaker=narrator - message=_ "Malin, troubled by his father’s death, argues to no avail that Darken Volk be allowed to stay to help defend the town. The necromancer leaves Parthyn without incident." image=wesnoth-icon.png + message= _ "Malin, troubled by his father’s death, argues to no avail that Darken Volk be allowed to stay to help defend the town. The necromancer leaves Parthyn without incident." [/message] [message] speaker=narrator - message=_ "Several weeks pass..." image=wesnoth-icon.png + message= _ "Several weeks pass..." [/message] [message] speaker=Drogan - message=_ "Although I dislike sending a raiding party out so early, they should clear out the orc encampments and leave us a relatively quiet summer." + message= _ "Although I dislike sending a raiding party out so early, they should clear out the orc encampments and leave us a relatively quiet summer." [/message] [message] speaker=Malin Keshar - message=_ "So much for quiet, Drogan. Orcs mass north of the river!" + message= _ "So much for quiet, Drogan. Orcs mass north of the river!" [/message] [message] speaker=Drogan - message=_ "Curse them! You must hold the river fort, Malin, or they shall surely overrun the town. I will bring what soldiers remain to your aid. The raiding party is due to return in two days, and the orcs will not dare fight with such a force attacking from behind." + message= _ "Curse them! You must hold the river fort, Malin, or they shall surely overrun the town. I will bring what soldiers remain to your aid. The raiding party is due to return in two days, and the orcs will not dare fight with such a force attacking from behind." [/message] [/event] @@ -215,22 +215,23 @@ [message] speaker=Drogan - message=_ "What in blazes is that thing? Has the necromancer returned?" + message= _ "What in blazes is that thing? Has the necromancer returned?" [/message] [message] speaker=Malin Keshar - message=_ "No, Drogan. I raised this corpse with the skills Darken Volk taught to me before he left. While I have no love for it, without the help of the dead we consign ourselves and our families to orcish stewpots! Surely you can see that!" + # wmllint: local spelling stewpots + message= _ "No, Drogan. I raised this corpse with the skills Darken Volk taught to me before he left. While I have no love for it, without the help of the dead we consign ourselves and our families to orcish stewpots! Surely you can see that!" [/message] [message] speaker=Drogan - message=_ "No benefit is worth the price of defiling the bodies of our dead! You have been very close-mouthed about why the mages sent you home from Alduin; if it was for dabbling in such arts, it is no wonder they cast you out!" + message= _ "No benefit is worth the price of defiling the bodies of our dead! You have been very close-mouthed about why the mages sent you home from Alduin; if it was for dabbling in such arts, it is no wonder they cast you out!" [/message] [message] speaker=Malin Keshar - message=_ "No! No... it was nothing like that... But I will not stand by and allow the orcs to destroy my home while I have the skills to prevent it!" + message= _ "No! No... it was nothing like that... But I will not stand by and allow the orcs to destroy my home while I have the skills to prevent it!" [/message] {VARIABLE malin_used_necromancy yes} @@ -245,7 +246,7 @@ [message] speaker=narrator - message=_ "Welcome to Parthyn" + message= _ "Welcome to Parthyn" image=scenery/signpost.png [/message] @@ -260,7 +261,7 @@ [/filter] [message] speaker=narrator - message=_ "Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering." + message= _ "Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering." image=wesnoth-icon.png [/message] [/event] @@ -276,7 +277,7 @@ [message] speaker=Drogan - message=_ "The orcs have broken through our line. Parthyn is open to attack!" + message= _ "The orcs have broken through our line. Parthyn is open to attack!" [/message] [endlevel] @@ -294,7 +295,7 @@ [message] speaker=unit - message=_ "Who will be left to defend Parthyn?" + message= _ "Who will be left to defend Parthyn?" [/message] [endlevel] @@ -308,8 +309,8 @@ [message] speaker=narrator - message=_ "The raiding party returns, and the orcs flee in the face of a superior force." image=wesnoth-icon.png + message= _ "The raiding party returns, and the orcs flee in the face of a superior force." [/message] [endlevel] @@ -325,8 +326,8 @@ [message] speaker=narrator - message=_ "The orcs are broken, dead or fled." image=wesnoth-icon.png + message= _ "The orcs are broken, dead or fled." [/message] [endlevel] @@ -353,73 +354,73 @@ [then] [message] speaker=Drogan - message=_ "By all rights, I should have you executed on the spot, Malin. I certainly should have not given the necromancer the chance to corrupt you. Since I showed him mercy, however, I will give the same to you. You are hereby banished from Parthyn and all the Kingdom of Wesnoth." + message= _ "By all rights, I should have you executed on the spot, Malin. I certainly should have not given the necromancer the chance to corrupt you. Since I showed him mercy, however, I will give the same to you. You are hereby banished from Parthyn and all the Kingdom of Wesnoth." [/message] [message] speaker=Malin Keshar - message=_ "Would you rather have let the orcs overrun the town and seen us both dead?" + message= _ "Would you rather have let the orcs overrun the town and seen us both dead?" [/message] [message] speaker=Drogan - message=_ "Aye, better that than to even dabble in dark magic. People would have rebuilt the town, just as they always have in the past. Would that the mages had taught you more sense." + message= _ "Aye, better that than to even dabble in dark magic. People would have rebuilt the town, just as they always have in the past. Would that the mages had taught you more sense." [/message] [message] speaker=Malin Keshar - message=_ "The mages taught me enough. You won’t truly banish me, will you, Drogan?" + message= _ "The mages taught me enough. You won’t truly banish me, will you, Drogan?" [/message] [message] speaker=Drogan - message=_ "Begone, now. I’ve no wish to be forced to send the soldiers after you. Your father would be ashamed to see the end to which you’ve come." + message= _ "Begone, now. I’ve no wish to be forced to send the soldiers after you. Your father would be ashamed to see the end to which you’ve come." [/message] [/then] [else] [message] speaker=Drogan - message=_ "That was bravely done, lad, holding the orcs off by yourself. The mages taught you well. But there is grave news from the village; your sister Dela was wounded in the attack. Healers attend her, but she may not live out the hour." + message= _ "That was bravely done, lad, holding the orcs off by yourself. The mages taught you well. But there is grave news from the village; your sister Dela was wounded in the attack. Healers attend her, but she may not live out the hour." [/message] [message] speaker=Malin Keshar - message=_ "Orcs. Foul, pestilent creatures. The wide green world would be a better place with them all dead. Dead!" + message= _ "Orcs. Foul, pestilent creatures. The wide green world would be a better place with them all dead. Dead!" [/message] [message] speaker=Drogan - message=_ "Perhaps, but if kings and great mages have not abolished them neither you nor I are ever likely to." + message= _ "Perhaps, but if kings and great mages have not abolished them neither you nor I are ever likely to." [/message] [message] speaker=Malin Keshar - message=_ "Perhaps I cannot kill them all... but I see the back-trail of this band we defeated, and there will be more orcs at the other end of it. I shall pursue them." + message= _ "Perhaps I cannot kill them all... but I see the back-trail of this band we defeated, and there will be more orcs at the other end of it. I shall pursue them." [/message] [message] speaker=Drogan - message=_ "And leave your sister?" + message= _ "And leave your sister?" [/message] [message] speaker=Malin Keshar - message=_ "My hands were never apt for healing. But revenge I can give her." + message= _ "My hands were never apt for healing. But revenge I can give her." [/message] [message] speaker=Drogan - message=_ "No! We need every man who can fight here, not lost in doomed attempt to harry the orcs in their own country!" + message= _ "No! We need every man who can fight here, not lost in doomed attempt to harry the orcs in their own country!" [/message] [message] speaker=Malin Keshar - message=_ "I am resolved." + message= _ "I am resolved." [/message] [message] speaker=Drogan - message=_ "You’ll go without my blessing or my men, then. I won’t spare any on such an errand." + message= _ "You’ll go without my blessing or my men, then. I won’t spare any on such an errand." [/message] [/else] [/if] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/02_Peaceful_Valley.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/02_Peaceful_Valley.cfg index 361371fbb251..56858399eaae 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/02_Peaceful_Valley.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/02_Peaceful_Valley.cfg @@ -2,7 +2,7 @@ [scenario] id=02_Peaceful_Valley - name=_ "Peaceful Valley" + name= _ "Peaceful Valley" map_data="{campaigns/Descent_Into_Darkness/maps/02_Peaceful_Valley.map}" victory_when_enemies_defeated=no {TURNS 29 26 23} @@ -10,37 +10,43 @@ {DEFAULT_SCHEDULE_MORNING} - {INTRO_AND_SCENARIO_MUSIC wanderer.ogg elvish-theme.ogg} + {SCENARIO_MUSIC elvish-theme.ogg} {EXTRA_SCENARIO_MUSIC knolls.ogg} {EXTRA_SCENARIO_MUSIC revelation.ogg} [story] [part] - story=_ "Fighting tears and rage, Malin follows the back-trail of the orcish band. He curses the elder mages for sending him from the Isle of Alduin half-prepared, only to be thrust into conflict. He curses Drogan for lacking the courage to see what must be done. Most fiercely, he curses the orcs for ravaging his family and home through their ceaseless attacks." + music=wanderer.ogg + story= _ "Fighting tears and rage, Malin follows the back-trail of the orcish band. He curses the elder mages for sending him from the Isle of Alduin half-prepared, only to be thrust into conflict. He curses Drogan for lacking the courage to see what must be done. Most fiercely, he curses the orcs for ravaging his family and home through their ceaseless attacks." {STORYTXT_BACKGROUND_BIGMAP_DID} [/part] [part] - story=_ "Three days’ travel outside Parthyn, Malin meets Darken Volk, the same necromancer who had saved Parthyn and taught Malin to raise the dead not long ago. The necromancer takes pity on Malin in his friendless state, and asks Malin to travel with him. As the weeks pass, he teaches Malin more dark magic." + story= _ "Three days’ travel outside Parthyn, Malin meets Darken Volk, the same necromancer who had saved Parthyn and taught Malin to raise the dead not long ago. The necromancer takes pity on Malin in his friendless state, and asks Malin to travel with him. As the weeks pass, he teaches Malin more dark magic." {STORYTXT_BACKGROUND travel.jpg} [/part] [/story] - {DID_TRACK {JOURNEY_02_NEW} } + {DID_TRACK {JOURNEY_02_NEW}} [side] side=1 controller=human + recruit=Walking Corpse,Vampire Bat + {GOLD 120 100 80} + team_name=good + user_team_name= _ "Malin Keshar" + {FLAG_VARIANT undead} + type=Apprentice Mage id=Malin Keshar name=_ "Malin Keshar" profile=portraits/malin_young.png - unrenamable=yes canrecruit=yes - recruit=Walking Corpse,Vampire Bat - {GOLD 120 100 80} + unrenamable=yes + fog=yes shroud=yes - {FLAG_VARIANT undead} + facing=nw [unit] @@ -81,14 +87,18 @@ [side] side=2 controller=ai + recruit=Goblin Rouser,Goblin Impaler,Wolf Rider + {GOLD 70 90 110} + team_name=goblins + user_team_name= _ "Goblins" + {FLAG_VARIANT6 ragged} + type=Goblin Knight id="T'shar Lggi" name=_ "T’shar Lggi" canrecruit=yes - recruit=Goblin Rouser,Goblin Impaler,Wolf Rider - {GOLD 70 90 110} + fog=yes - {FLAG_VARIANT6 ragged} facing=se [ai] @@ -107,15 +117,15 @@ side=1 [objective] condition=win - description=_ "Occupy all of the goblin villages" + description= _ "Occupy all of the goblin villages" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [objective] condition=lose - description=_ "Death of Darken Volk" + description= _ "Death of Darken Volk" [/objective] {TURNS_RUN_OUT} @@ -132,32 +142,32 @@ [message] speaker=Darken Volk - message=_ "In truth, I share your hatred for the orcs. The northlands have been my... home... for many years, and the orcs have been a growing infestation in them. They despoil the beauty of the land wherever they go. If you are interested, I would be happy to take you on as my apprentice so that you can... aid me in the fight against them." + message= _ "In truth, I share your hatred for the orcs. The northlands have been my... home... for many years, and the orcs have been a growing infestation in them. They despoil the beauty of the land wherever they go. If you are interested, I would be happy to take you on as my apprentice so that you can... aid me in the fight against them." [/message] [message] speaker=Malin Keshar - message=_ "Yes! I thirst for revenge on those creatures!" + message= _ "Yes! I thirst for revenge on those creatures!" [/message] [message] speaker=Darken Volk - message=_ "Who knows? Perhaps removing the threat of orc raids will persuade the people of Parthyn to... welcome you home." + message= _ "Who knows? Perhaps removing the threat of orc raids will persuade the people of Parthyn to... welcome you home." [/message] [message] speaker=Malin Keshar - message=_ "Perhaps. Even Drogan would have to be thankful for a summer without orc raids." + message= _ "Perhaps. Even Drogan would have to be thankful for a summer without orc raids." [/message] [message] speaker=Darken Volk - message=_ "A goblin village lies in this valley, just ahead. They are a bastard race born of the orcs, and help them in their wars against humans and dwarves. These do not know of our coming. Subduing them will give us souls upon which to call in our fight against the orcs." + message= _ "A goblin village lies in this valley, just ahead. They are a bastard race born of the orcs, and help them in their wars against humans and dwarves. These do not know of our coming. Subduing them will give us souls upon which to call in our fight against the orcs." [/message] [message] speaker=Darken Volk - message=_ "It will be a worthwhile test of your new skills." + message= _ "It will be a worthwhile test of your new skills." [/message] [/event] @@ -171,7 +181,7 @@ [message] speaker=Darken Volk - message=_ "Beware the goblin guards in the villages." + message= _ "Beware the goblin guards in the villages." [/message] [/event] @@ -299,7 +309,7 @@ [message] speaker=Darken Volk - message=_ "Ahhh... I did not realize there was a swamp near this village. Malin, I believe it would be beneficial for your training if you and I were to investigate the swamp." + message= _ "Ahhh... I did not realize there was a swamp near this village. Malin, I believe it would be beneficial for your training if you and I were to investigate the swamp." [/message] [allow_undo][/allow_undo] @@ -308,14 +318,7 @@ [event] name=moveto [filter] - [not] - [not] - id=Darken Volk - [/not] - [not] - id=Malin Keshar - [/not] - [/not] + id=Darken Volk,Malin Keshar x=14-15,16-20,19-20 y=9-10,6-10,11 [/filter] @@ -350,27 +353,27 @@ [message] speaker=Malin Keshar - message=_ "What are those things?" + message= _ "What are those things?" [/message] [message] speaker=Darken Volk - message=_ "They are ghouls. Once, they were... evil men... murderers and outlaws. Through magic they have been transformed so their outsides match the spirits within. Those that outlive their masters gravitate towards the swamps and bogs, drawn by the natural decay there." + message= _ "They are ghouls. Once, they were... evil men... murderers and outlaws. Through magic they have been transformed so their outsides match the spirits within. Those that outlive their masters gravitate towards the swamps and bogs, drawn by the natural decay there." [/message] [message] speaker=Malin Keshar - message=_ "It seems cruel to turn men into such a hideous form." + message= _ "It seems cruel to turn men into such a hideous form." [/message] [message] speaker=Darken Volk - message=_ "In their present form they can best serve the greater good. Even now they will aid you in defeating this goblin rabble. Besides, as I said, these were men of great evil. No punishment is too great for their kind." + message= _ "In their present form they can best serve the greater good. Even now they will aid you in defeating this goblin rabble. Besides, as I said, these were men of great evil. No punishment is too great for their kind." [/message] [message] speaker=Malin Keshar - message=_ "I suppose so..." + message= _ "I suppose so..." [/message] [/event] @@ -411,17 +414,17 @@ [message] speaker=Malin Keshar - message=_ "Sacking goblin villages is all well and good, but walking corpses and bats won’t stand up to full orcish warriors." + message= _ "Sacking goblin villages is all well and good, but walking corpses and bats won’t stand up to full orcish warriors." [/message] [message] speaker=Darken Volk - message=_ "Your training is just beginning, Malin. With the souls from these goblins now available for our use, you will see your forces grow quickly." + message= _ "Your training is just beginning, Malin. With the souls from these goblins now available for our use, you will see your forces grow quickly." [/message] [message] speaker=Malin Keshar - message=_ "Excellent. I’m eager to move on to the real foes." + message= _ "Excellent. I’m eager to move on to the real foes." [/message] [store_villages] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/03_A_Haunting_in_Winter.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/03_A_Haunting_in_Winter.cfg index 759b23b4ca69..aecdfe1bef2e 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/03_A_Haunting_in_Winter.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/03_A_Haunting_in_Winter.cfg @@ -2,7 +2,7 @@ [scenario] id=03_A_Haunting_in_Winter - name=_ "A Haunting in Winter" + name= _ "A Haunting in Winter" map_data="{campaigns/Descent_Into_Darkness/maps/03_A_Haunting_in_Winter.map}" victory_when_enemies_defeated=yes {TURNS 36 34 32} @@ -10,53 +10,60 @@ {UNDERGROUND} - {INTRO_AND_SCENARIO_MUSIC the_deep_path.ogg knalgan_theme.ogg} + {SCENARIO_MUSIC knalgan_theme.ogg} {EXTRA_SCENARIO_MUSIC underground.ogg} {EXTRA_SCENARIO_MUSIC legends_of_the_north.ogg} [story] [part] + music=the_deep_path.ogg story=_ "Malin and Darken Volk spend the summer and fall traveling up and down the lower Northlands. They attack small goblin villages and orc camps when they find them. Malin’s power grows considerably under the constant tutelage of the necromancer." {STORYTXT_BACKGROUND travel.jpg} [/part] [/story] - {DID_TRACK {JOURNEY_03_NEW} } + {DID_TRACK {JOURNEY_03_NEW}} [side] side=1 controller=human + recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul + gold=150 + team_name=good + user_team_name= _ "Malin Keshar" + {FLAG_VARIANT undead} + type=Apprentice Mage id=Malin Keshar name=_ "Malin Keshar" profile=portraits/malin_young.png - unrenamable=yes canrecruit=yes - recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul + unrenamable=yes + fog=yes shroud=yes - gold=150 - {FLAG_VARIANT undead} facing=ne [/side] [side] side=2 controller=ai + recruit=Dwarvish Guardsman,Dwarvish Fighter,Dwarvish Thunderer + {GOLD 0 20 40} team_name=outlaws - user_team_name=_"Outlaws" + user_team_name= _ "Outlaws" + {FLAG_VARIANT6 ragged} + type=Dwarvish Steelclad id=Dap Horner name=_ "Dap Horner" canrecruit=yes - recruit=Dwarvish Guardsman,Dwarvish Fighter,Dwarvish Thunderer - {GOLD 0 20 40} + fog=yes - {FLAG_VARIANT6 ragged} facing=nw # Dwarf watchman - {NAMED_LOYAL_UNIT () (Dwarvish Guardsman) 14 12 Watchman (_ "Watchman")} + {NAMED_LOYAL_UNIT () (Dwarvish Guardsman) 14 12 Watchman ( _ "Watchman")} [ai] aggression=0.6 @@ -68,16 +75,18 @@ [side] side=3 controller=ai + recruit=Footpad,Poacher,Thug,Thief + {GOLD 60 80 100} team_name=outlaws user_team_name=_"Outlaws" + {FLAG_VARIANT6 ragged} + type=Bandit id=Gorak Cole name=_ "Gorak Cole" canrecruit=yes - recruit=Footpad,Poacher,Thug,Thief - {GOLD 60 80 100} + fog=yes - {FLAG_VARIANT6 ragged} facing=ne [ai] @@ -89,7 +98,7 @@ side=4 controller=ai team_name=free undead - user_team_name=_"Free Undead" + user_team_name= _ "Free Undead" no_leader=yes hidden=yes {FLAG_VARIANT undead} @@ -123,15 +132,15 @@ side=1 [objective] condition=win - description=_ "Clear the cave of enemies" + description= _ "Clear the cave of enemies" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [objective] condition=lose - description=_ "Death of Darken Volk" + description= _ "Death of Darken Volk" [/objective] {TURNS_RUN_OUT} @@ -176,7 +185,7 @@ [message] speaker=Darken Volk - message=_ "Winter comes on fast, and we need a sheltered place to spend it. This cave looks promising, but from the tracks in and out several bands of outlaws already inhabit it. You should clear them out so we may use it safely." + message= _ "Winter comes on fast, and we need a sheltered place to spend it. This cave looks promising, but from the tracks in and out several bands of outlaws already inhabit it. You should clear them out so we may use it safely." [/message] [/event] @@ -190,12 +199,12 @@ [message] speaker=Darken Volk - message=_ "Be careful when imprisoning a soul and use all your might to retain control over it or it might attempt to break free and destroy you!" + message= _ "Be careful when imprisoning a soul and use all your might to retain control over it or it might attempt to break free and destroy you!" [/message] [message] speaker=Malin Keshar - message=_ "I... I will try." + message= _ "I... I will try." [/message] [/event] @@ -210,7 +219,7 @@ [message] speaker=Malin Keshar - message=_ "Dwarves! They have often been our allies against the orc hordes. Surely they will allow us to winter with them." + message= _ "Dwarves! They have often been our allies against the orc hordes. Surely they will allow us to winter with them." [/message] [scroll_to] @@ -219,17 +228,17 @@ [message] speaker=second_unit - message=_ "Two necromancers are at the cave entrance! Up yer axes, boys, if ye dinna’ want tae be a walking pile o’ bones." + message= _ "Two necromancers are at the cave entrance! Up yer axes, boys, if ye dinna’ want tae be a walking pile o’ bones." [/message] [message] speaker=Malin Keshar - message=_ "Or not. Why do they hate us so much?" + message= _ "Or not. Why do they hate us so much?" [/message] [message] speaker=Darken Volk - message=_ "People fear that which they don’t understand, and death, after all, is the greatest mystery. Those who dare to investigate that mystery are bound to invoke fear and distrust. Worry not, your people will again warm to you once you deal with the orc threat at its source. For now, the cave-dwellers give us no choice." + message= _ "People fear that which they don’t understand, and death, after all, is the greatest mystery. Those who dare to investigate that mystery are bound to invoke fear and distrust. Worry not, your people will again warm to you once you deal with the orc threat at its source. For now, the cave-dwellers give us no choice." [/message] [/event] @@ -313,7 +322,7 @@ [message] speaker=Malin Keshar - message=_ "I think I’ve got the rest of them under control now. That was a close call." + message= _ "I think I’ve got the rest of them under control now. That was a close call." [/message] [/event] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/04_Beginning_of_the_Revenge.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/04_Beginning_of_the_Revenge.cfg index 341a39ba4e1c..ff1df2c9628b 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/04_Beginning_of_the_Revenge.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/04_Beginning_of_the_Revenge.cfg @@ -2,7 +2,7 @@ [scenario] id=04_Beginning_of_the_Revenge - name=_ "Beginning of the Revenge" + name= _ "Beginning of the Revenge" map_data="{campaigns/Descent_Into_Darkness/maps/04_Beginning_of_the_Revenge.map}" turns=36 next_scenario=05_Orc_War @@ -10,13 +10,14 @@ {DEFAULT_SCHEDULE_DUSK} - {INTRO_AND_SCENARIO_MUSIC revelation.ogg vengeful.ogg} + {SCENARIO_MUSIC vengeful.ogg} {EXTRA_SCENARIO_MUSIC nunc_dimittis.ogg} {EXTRA_SCENARIO_MUSIC knalgan_theme.ogg} {EXTRA_SCENARIO_MUSIC northerners.ogg} [story] [part] + music=revelation.ogg story=_ "Burning inside with a desire to take his revenge against the orcs and push them further north, Malin spends the winter learning as much from Darken Volk as he can. His years of study with the mages serve him well, and his power grows quickly." {STORYTXT_BACKGROUND travel.jpg} [/part] @@ -26,35 +27,41 @@ [/part] [/story] - {DID_TRACK {JOURNEY_04_NEW} } + {DID_TRACK {JOURNEY_04_NEW}} [side] side=1 controller=human + recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton + gold=140 + team_name=good + user_team_name= _ "Malin Keshar" + {FLAG_VARIANT undead} + type=Apprentice Mage id=Malin Keshar - name=_ "Malin Keshar" + name= _ "Malin Keshar" profile=portraits/malin_old.png - unrenamable=yes canrecruit=yes - recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton - gold=140 - {FLAG_VARIANT undead} + unrenamable=yes + facing=nw [/side] [side] side=2 controller=ai - team_name=orcs - user_team_name=_"Orcs" - type=Orcish Warlord - id="Gron'r Hronk" - name=_ "Gron’r Hronk" - canrecruit=yes recruit=Orcish Archer,Orcish Crossbowman,Wolf Rider,Orcish Grunt {GOLD 120 150 180} + team_name=orcs + user_team_name= _ "Orcs" {FLAG_VARIANT6 ragged} + + type=Orcish Warlord + id=Gron'r Hronk + name= _ "Gron’r Hronk" + canrecruit=yes + facing=nw [ai] @@ -71,15 +78,17 @@ [side] side=3 controller=ai + recruit=Orcish Crossbowman,Wolf Rider,Goblin Pillager,Orcish Grunt + {GOLD 130 170 210} team_name=orcs - user_team_name=_"Orcs" + user_team_name= _ "Orcs" + {FLAG_VARIANT6 ragged} + type=Orcish Warlord - id="K'rrlar Oban" + id=K'rrlar Oban name=_ "K’rrlar Oban" canrecruit=yes - recruit=Orcish Crossbowman,Wolf Rider,Goblin Pillager,Orcish Grunt - {GOLD 130 170 210} - {FLAG_VARIANT6 ragged} + facing=sw [ai] @@ -102,20 +111,20 @@ side=1 [objective] condition=win - description=_ "Move Malin to the end of the mountain pass" + description= _ "Move Malin to the end of the mountain pass" [/objective] [objective] {ALTERNATIVE_OBJECTIVE_CAPTION} condition=win - description=_ "Kill the orc leaders" + description= _ "Kill the orc leaders" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [objective] condition=lose - description=_ "Death of Darken Volk" + description= _ "Death of Darken Volk" [/objective] {TURNS_RUN_OUT} @@ -141,12 +150,12 @@ [message] speaker=Darken Volk - message=_ "Orcs block the way out of the mountain pass. Destroy them, and we will move on to bigger targets." + message= _ "Orcs block the way out of the mountain pass. Destroy them, and we will move on to bigger targets." [/message] [message] speaker=Malin Keshar - message=_ "With the might of the undead at my command, many orcs will die this day. They shall pay for getting me banished from Parthyn." + message= _ "With the might of the undead at my command, many orcs will die this day. They shall pay for getting me banished from Parthyn." [/message] [/event] @@ -184,13 +193,13 @@ [message] speaker=Malin Keshar - message=_ "The ice doesn’t look very thick..." + message= _ "The ice doesn’t look very thick..." [/message] - #[message] - # speaker=Darken Volk - # message=_ "..." - #[/message] + [message] + speaker=Darken Volk + message= _ "..." + [/message] [allow_undo][/allow_undo] [/event] @@ -236,15 +245,15 @@ [then] [message] speaker=narrator - message=_ "The weak ice gives way beneath the undead creature, who becomes mired in the thick mud at the lake’s bottom." image=wesnoth-icon.png + message= _ "The weak ice gives way beneath the undead creature, who becomes mired in the thick mud at the lake’s bottom." [/message] [/then] [else] [message] speaker=narrator - message=_ "The weak ice gives way beneath the heavy warrior, who drowns in the frigid mountain waters." image=wesnoth-icon.png + message=_ "The weak ice gives way beneath the heavy warrior, who drowns in the frigid mountain waters." [/message] [/else] [/if] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/05_Orc_War.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/05_Orc_War.cfg index f8ba37e2411a..5264f14b001b 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/05_Orc_War.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/05_Orc_War.cfg @@ -2,7 +2,7 @@ [scenario] id=05_Orc_War - name=_ "Orc War" + name= _ "Orc War" map_data="{campaigns/Descent_Into_Darkness/maps/05_Orc_War.map}" victory_when_enemies_defeated=yes turns=30 @@ -29,22 +29,24 @@ [/part] [/story] - {DID_TRACK {JOURNEY_05_NEW} } - - {SET_LABEL 8 12 (_"River Longlier")} + {DID_TRACK {JOURNEY_05_NEW}} [side] side=1 controller=human + recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD + gold=200 + team_name=good + user_team_name= _ "Malin Keshar" + {FLAG_VARIANT undead} + type=Apprentice Mage id=Malin Keshar - name=_ "Malin Keshar" + name= _ "Malin Keshar" profile=portraits/malin_old.png - unrenamable=yes canrecruit=yes - recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD - gold=200 - {FLAG_VARIANT undead} + unrenamable=yes + facing=sw [/side] @@ -53,15 +55,18 @@ [side] side=2 controller=ai + recruit=Goblin Spearman,Orcish Archer,Orcish Crossbowman,Wolf Rider,Orcish Grunt,Goblin Knight,Orcish Warrior,Troll Whelp + {GOLD 110 130 150} team_name=orcs user_team_name=_"Orcs" + {FLAG_VARIANT6 ragged} + type=Orcish Warlord id=Borth - name=_ "Borth" + name= _ "Borth" profile=portraits/orcs/transparent/warlord.png canrecruit=yes - recruit=Goblin Spearman,Orcish Archer,Orcish Crossbowman,Wolf Rider,Orcish Grunt,Goblin Knight,Orcish Warrior,Troll Whelp - {GOLD 110 130 150} + facing=se [ai] @@ -82,21 +87,23 @@ value=1 [/goal] [/ai] - {FLAG_VARIANT6 ragged} [/side] [side] side=3 controller=ai + recruit=Orcish Archer,Orcish Crossbowman,Goblin Pillager,Orcish Grunt,Orcish Assassin + {GOLD 110 130 150} team_name=orcs - user_team_name=_"Orcs" + user_team_name= _ "Orcs" + {FLAG_VARIANT6 ragged} + type=Orcish Warlord - id="P'Gareth" - name=_ "P’Gareth" + id=P'Gareth + name= _ "P’Gareth" profile=portraits/orcs/transparent/grunt-3.png canrecruit=yes - recruit=Orcish Archer,Orcish Crossbowman,Goblin Pillager,Orcish Grunt,Orcish Assassin - {GOLD 110 130 150} + facing=ne [ai] @@ -117,22 +124,23 @@ value=1 [/goal] [/ai] - {FLAG_VARIANT6 ragged} [/side] [side] side=4 controller=ai + recruit=Orcish Archer,Orcish Crossbowman,Troll Whelp,Wolf Rider,Orcish Grunt + {GOLD 110 130 150} team_name=orcs - user_team_name=_"Orcs" + user_team_name= _ "Orcs" + {FLAG_VARIANT6 ragged} + type=Orcish Warlord - id="K'Vark" - name=_ "K’Vark" + id=K'Vark + name= _ "K’Vark" profile=portraits/orcs/transparent/grunt-5.png canrecruit=yes - recruit=Orcish Archer,Orcish Crossbowman,Troll Whelp,Wolf Rider,Orcish Grunt - {GOLD 110 130 150} - {FLAG_VARIANT6 ragged} + facing=nw [ai] @@ -155,6 +163,11 @@ [/ai] [/side] + [label] + x,y=8,12 + text= _ "River Longlier" + [/label] + {STARTING_VILLAGES 2 10} {STARTING_VILLAGES 3 7} {STARTING_VILLAGES 4 8} @@ -166,15 +179,15 @@ side=1 [objective] condition=win - description=_ "Kill the orc leaders" + description= _ "Kill the orc leaders" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [objective] condition=lose - description=_ "Death of Darken Volk" + description= _ "Death of Darken Volk" [/objective] {TURNS_RUN_OUT} @@ -199,22 +212,22 @@ [message] speaker=Malin Keshar - message=_ "Since the very founding of Wesnoth you have hounded humans at every turn. You have raided my home at every opportunity. You have trampled our fields, slaughtered our livestock. You have brought war to a place of peace, and death to a place of life. You have killed without remorse, and despoiled that which was once beautiful. You have murdered my father and caused endless trouble to me. Now I shall have my revenge on you. Expect no mercy from me, because you have long since lost the right to it. I will crush you into the dust. The attacks on Parthyn will stop here and now. When I bring word of your demise the town will cheer my triumphant return." + message= _ "Since the very founding of Wesnoth you have hounded humans at every turn. You have raided my home at every opportunity. You have trampled our fields, slaughtered our livestock. You have brought war to a place of peace, and death to a place of life. You have killed without remorse, and despoiled that which was once beautiful. You have murdered my father and caused endless trouble to me. Now I shall have my revenge on you. Expect no mercy from me, because you have long since lost the right to it. I will crush you into the dust. The attacks on Parthyn will stop here and now. When I bring word of your demise the town will cheer my triumphant return." [/message] [message] speaker=Borth - message=_ "Stop your silly talk, foul necromancer. You have caused enough trouble. It is time for you to die." + message= _ "Stop your silly talk, foul necromancer. You have caused enough trouble. It is time for you to die." [/message] [message] - speaker="P'Gareth" - message=_ "Ummm... unless... you are already dead, like the skeletons?" + speaker=P'Gareth + message= _ "Ummm... unless... you are already dead, like the skeletons?" [/message] [message] - speaker="K'Vark" - message=_ "Then, it will be time for you to die again!" + speaker=K'Vark + message= _ "Then, it will be time for you to die again!" [/message] [/event] @@ -302,6 +315,7 @@ kill=yes variable=orc_leader_store [/store_unit] + {CLEAR_VARIABLE orc_leader_store.status.poisoned} [move_unit_fake] @@ -313,36 +327,29 @@ [message] speaker=Malin Keshar - message=_ "The last chieftain... he’s escaping! The coward!" + message= _ "The last chieftain... he’s escaping! The coward!" [/message] [message] speaker=Darken Volk - message=_ "Coward, yes. You must hunt him down before he can take word to the orcish council. A single chieftain, even after he gathers the survivors from this battle, should pose no problem for you, even on your own." + message= _ "Coward, yes. You must hunt him down before he can take word to the orcish council. A single chieftain, even after he gathers the survivors from this battle, should pose no problem for you, even on your own." [/message] [message] speaker=Malin Keshar - message=_ "On my own? Is my apprenticeship over?" + message= _ "On my own? Is my apprenticeship over?" [/message] [message] speaker=Darken Volk - message=_ "... Almost. The growth of your power has been truly impressive to watch. There is, however, a small favor I will ask of you. That will constitute the last part of your training. Now there are merely some... tasks... to which I must attend. They need not concern you. I will meet up with you to the west in a few weeks. In the meantime, do not let the last chieftain escape justice." + message= _ "... Almost. The growth of your power has been truly impressive to watch. There is, however, a small favor I will ask of you. That will constitute the last part of your training. Now there are merely some... tasks... to which I must attend. They need not concern you. I will meet up with you to the west in a few weeks. In the meantime, do not let the last chieftain escape justice." [/message] # Heal Darken Volk and store him for his return in A Small Favor - [object] - silent=yes - [filter] - id=Darken Volk - [/filter] - - [effect] - apply_to=hitpoints - heal_full=yes - [/effect] - [/object] + [full_heal] + id=Darken Volk + cures=yes + [/full_heal] [store_unit] [filter] @@ -352,8 +359,6 @@ kill=yes [/store_unit] - {CLEAR_VARIABLE darken_volk_store.status.poisoned} - [endlevel] result=victory bonus=yes diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg index 676e1e81fe59..a98b5f792a4a 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg @@ -2,7 +2,7 @@ [scenario] id=06_Return_to_Parthyn - name=_ "Return to Parthyn" + name= _ "Return to Parthyn" map_data="{campaigns/Descent_Into_Darkness/maps/06_Return_to_Parthyn.map}" turns=-1 victory_when_enemies_defeated=no @@ -10,35 +10,40 @@ {DEFAULT_SCHEDULE} - {INTRO_AND_SCENARIO_MUSIC breaking_the_chains.ogg the_city_falls.ogg} + {SCENARIO_MUSIC the_city_falls.ogg} {EXTRA_SCENARIO_MUSIC knolls.ogg} {EXTRA_SCENARIO_MUSIC elvish-theme.ogg} [story] [part] - story=_ "Two days travel south of the previous battle, Malin loses the trail of the regrouped orcish warriors, but soon picks it up again. The trail moves unfailingly south for several days. As soon as it crosses the Great River it immediately turns west." + music=breaking_the_chains.ogg + story= _ "Two days travel south of the previous battle, Malin loses the trail of the regrouped orcish warriors, but soon picks it up again. The trail moves unfailingly south for several days. As soon as it crosses the Great River it immediately turns west." {STORYTXT_BACKGROUND parthyn.jpg} [/part] [part] - story=_ "Within a few days, Malin recognizes some familiar surroundings..." + story= _ "Within a few days, Malin recognizes some familiar surroundings..." {STORYTXT_BACKGROUND parthyn.jpg} [/part] [/story] - {DID_TRACK {JOURNEY_06_NEW} } + {DID_TRACK {JOURNEY_06_NEW}} [side] side=1 controller=human + recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD + {GOLD 200 150 100} + team_name=good + user_team_name= _ "Malin Keshar" + {FLAG_VARIANT undead} + type=Apprentice Mage id=Malin Keshar name=_ "Malin Keshar" profile=portraits/malin_old.png - unrenamable=yes canrecruit=yes - recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD - {GOLD 200 150 100} - {FLAG_VARIANT undead} + unrenamable=yes + facing=sw [/side] @@ -48,18 +53,22 @@ [side] side=2 controller=ai - type=Orcish Warlord - id=Borth - name=_ "Borth" - profile=portraits/orcs/transparent/warlord.png - canrecruit=yes - {GOLD 120 160 200} #ifdef EASY recruit=Wolf Rider,Orcish Archer,Orcish Grunt,Troll Whelp #else recruit=Wolf Rider,Goblin Knight,Orcish Archer,Orcish Crossbowman,Orcish Grunt,Troll Whelp #endif + {GOLD 120 160 200} + team_name=orcs + user_team_name= _ "Orcs" {FLAG_VARIANT6 ragged} + + type=Orcish Warlord + id=Borth + name= _ "Borth" + profile=portraits/orcs/transparent/warlord.png + canrecruit=yes + facing=sw [ai] @@ -72,21 +81,23 @@ [side] side=3 controller=ai + recruit=Spearman,Bowman + {GOLD 16 30 45} team_name=guardsmen - user_team_name=_"Guardsmen" + user_team_name= _ "Guardsmen" + {FLAG_VARIANT loyalist} + type=Lieutenant id=Drogan name=_ "Drogan" profile=portraits/drogan.png - {GOLD 16 30 45} canrecruit=yes - recruit=Spearman,Bowman - {FLAG_VARIANT loyalist} + facing=se # Drogan has some guards at the river fort {NAMED_LOYAL_UNIT () (Spearman) 30 11 () ( _ "River fort guard")} - {NAMED_LOYAL_UNIT () (Bowman) 31 12 () ( _ "River fort guard")} + {NAMED_LOYAL_UNIT () (Bowman) 31 12 () ( _ "River fort guard")} {NAMED_LOYAL_UNIT () (Spearman) 31 13 () ( _ "River fort guard")} [ai] @@ -100,17 +111,19 @@ [side] side=4 controller=ai + recruit=Spearman,Bowman,Swordsman,Pikeman,Longbowman,Thug,Poacher,Footpad + gold=200 + income=25 team_name=guardsmen - user_team_name=_"Defenders" + user_team_name= _ "Defenders" + {FLAG_VARIANT loyalist} + type=Frontier Baroness id=Dela Keshar - name=_ "Dela Keshar" + name= _ "Dela Keshar" profile=portraits/dela.png - gold=200 - income=25 canrecruit=yes - recruit=Spearman,Bowman,Swordsman,Pikeman,Longbowman,Thug,Poacher,Footpad - {FLAG_VARIANT loyalist} + facing=ne [ai] @@ -208,10 +221,6 @@ {CLEAR_VARIABLE orc_leader_store} [/then] [/if] - - # FIXME: Merge this map with the one for Saving Parthyn. - # Scattering random trees on here would be a bad idea, - # since we visit it twice. [/event] [event] @@ -221,7 +230,7 @@ [message] speaker=Malin Keshar - message=_ "I bring word of a great victory against the orcs, Drogan!" + message= _ "I bring word of a great victory against the orcs, Drogan!" [/message] [if] @@ -232,7 +241,7 @@ [then] [message] speaker=Drogan - message=_ "I had hoped never to see you again, Malin. You have been banished, and now return. You give me no choice but to order my soldiers to attack you." + message= _ "I had hoped never to see you again, Malin. You have been banished, and now return. You give me no choice but to order my soldiers to attack you." [/message] [message] @@ -242,60 +251,60 @@ [message] speaker=Malin Keshar - message=_ "Silence from you." + message= _ "Silence from you." [/message] [message] speaker=Malin Keshar - message=_ "I have eliminated two orc chieftains! I doubt that we will see any orc raids this summer. The beasts will be too busy trying to regroup." + message= _ "I have eliminated two orc chieftains! I doubt that we will see any orc raids this summer. The beasts will be too busy trying to regroup." [/message] [/then] [else] [message] speaker=Drogan - message=_ "I had not thought to see you again, Malin. But what is this foul creature that stands by your side?" + message= _ "I had not thought to see you again, Malin. But what is this foul creature that stands by your side?" [/message] [message] speaker=Malin Keshar - message=_ "A spirit I raised with the arts taught to me by Darken Volk. With his help, I have slain two orcish chieftains!" + message= _ "A spirit I raised with the arts taught to me by Darken Volk. With his help, I have slain two orcish chieftains!" [/message] [message] speaker=Drogan - message=_ "You allowed yourself to be corrupted by the foul taint of the necromancer? Better to face the orcish menace than even dabble in dark magic! People would have rebuilt the town, just as they always have in the past. Your father would be ashamed to see the end to which you’ve come." + message= _ "You allowed yourself to be corrupted by the foul taint of the necromancer? Better to face the orcish menace than even dabble in dark magic! People would have rebuilt the town, just as they always have in the past. Your father would be ashamed to see the end to which you’ve come." [/message] [message] speaker=Malin Keshar - message=_ "I doubt that we will see any orc raids this summer. The beasts will be too busy trying to regroup! Is this how you repay me?" + message= _ "I doubt that we will see any orc raids this summer. The beasts will be too busy trying to regroup! Is this how you repay me?" [/message] [/else] [/if] [message] speaker=Dela Keshar - message=_ "You are mistaken, brother. Even now the orcs camp north of the river." + message= _ "You are mistaken, brother. Even now the orcs camp north of the river." [/message] [message] speaker=Malin Keshar - message=_ "I have been tracking that band since they fled the field at my great victory! But how did they get north of the river? Let my forces be and I will deal with them." + message= _ "I have been tracking that band since they fled the field at my great victory! But how did they get north of the river? Let my forces be and I will deal with them." [/message] [message] speaker=Drogan - message=_ "A nice story. I find it more likely that you brought your orcish allies here with you to take your revenge upon the city. If we stand down your undead will no doubt kill us where we stand. Watching you grow up, I never could have believed you would turn into a traitor." + message= _ "A nice story. I find it more likely that you brought your orcish allies here with you to take your revenge upon the city. If we stand down your undead will no doubt kill us where we stand. Watching you grow up, I never could have believed you would turn into a traitor." [/message] [message] role=advisor - message=_ "Master, he threatens the safety of the city by standing in your way." + message= _ "Master, he threatens the safety of the city by standing in your way." [/message] [message] speaker=Malin Keshar - message=_ "Then you are the traitor, Drogan, for preventing me from protecting the city. I will defend Parthyn, and if you stand in my way I will cut you down for the treason you commit." + message= _ "Then you are the traitor, Drogan, for preventing me from protecting the city. I will defend Parthyn, and if you stand in my way I will cut you down for the treason you commit." [/message] [/event] @@ -309,7 +318,7 @@ [message] speaker=narrator - message=_ "Welcome to Parthyn" + message= _ "Welcome to Parthyn" image=scenery/signpost.png [/message] @@ -329,17 +338,17 @@ [then] [message] speaker=Malin Keshar - message=_ "Behold, Drogan! I have slain the last orc chieftain. Do you trust my word now?" + message= _ "Behold, Drogan! I have slain the last orc chieftain. Do you trust my word now?" [/message] [message] speaker=Drogan - message=_ "You have saved us the trouble of killing those worthless orcs ourselves; for that I thank you. But you cannot return to Parthyn, Malin." + message= _ "You have saved us the trouble of killing those worthless orcs ourselves; for that I thank you. But you cannot return to Parthyn, Malin." [/message] [message] speaker=Malin Keshar - message=_ "What! You still do not trust my word? Well, perhaps you have lost sight of the true threat. The orcs will not be gone forever, and without me, how will the town stand? You jeopardize its very safety. Attack him!" + message= _ "What! You still do not trust my word? Well, perhaps you have lost sight of the true threat. The orcs will not be gone forever, and without me, how will the town stand? You jeopardize its very safety. Attack him!" [/message] [show_objectives][/show_objectives] @@ -365,7 +374,7 @@ [message] speaker=Dela Keshar - message=_ "I am defeated but not dead, foul thing that was once my brother. Watch your back, because I will be coming for you..." + message= _ "I am defeated but not dead, foul thing that was once my brother. Watch your back, because I will be coming for you..." [/message] [move_unit] @@ -394,7 +403,7 @@ [then] [message] speaker=Malin Keshar - message=_ "Now the people of Parthyn will never accept me back!" + message= _ "Now the people of Parthyn will never accept me back!" [/message] [endlevel] @@ -404,7 +413,7 @@ [else] [message] speaker=Malin Keshar - message=_ "See how you die when you spurn the help of Malin Keshar!" + message= _ "See how you die when you spurn the help of Malin Keshar!" [/message] [/else] [/if] @@ -422,12 +431,12 @@ [message] speaker=Malin Keshar - message=_ "See what your traitorous ways have won you, Drogan?" + message= _ "See what your traitorous ways have won you, Drogan?" [/message] [message] speaker=Dela Keshar - message=_ "You will pay for Drogan’s death. Now that I have seen the true evil to which you have come, I will commit every guardsman to your demise. It pains me to think that you were once my brother." + message= _ "You will pay for Drogan’s death. Now that I have seen the true evil to which you have come, I will commit every guardsman to your demise. It pains me to think that you were once my brother." [/message] [if] @@ -435,13 +444,13 @@ [then] [message] speaker=Malin Keshar - message=_ "Even with my new power, I cannot fight the entire town as well as the orcs. I must flee to the west to find Darken Volk!" + message= _ "Even with my new power, I cannot fight the entire town as well as the orcs. I must flee to the west to find Darken Volk!" [/message] [/then] [else] [message] speaker=Malin Keshar - message=_ "Even with my new power, I cannot fight the entire town. I must flee to the west to find Darken Volk!" + message= _ "Even with my new power, I cannot fight the entire town. I must flee to the west to find Darken Volk!" [/message] [/else] [/if] @@ -452,7 +461,7 @@ side=1 [objective] condition=win - description=_ "Escape to the northwest" + description= _ "Escape to the northwest" [/objective] {DID_RTP_OBJECTIVE_KILL_ORCS} @@ -493,26 +502,26 @@ [then] [message] speaker=Dela Keshar - message=_ "While our forces must stay here to fight off your pet orcs, when we are done I shall come after you. You are my brother no longer." + message= _ "While our forces must stay here to fight off your pet orcs, when we are done I shall come after you. You are my brother no longer." [/message] [/then] [else] [message] speaker=Dela Keshar - message=_ "While our forces must stay here and make sure the orcs are routed, when we are done I shall come after you. You are my brother no longer." + message= _ "While our forces must stay here and make sure the orcs are routed, when we are done I shall come after you. You are my brother no longer." [/message] [/else] [/if] [message] speaker=Malin Keshar - # wmllint: local spelling zephrin - message=_ "Gods of Darkness, how did it come to this? My own sister determined on my death. Nothing has gone right since... since that day the fat toad Zephrin mocked my up-country accent and I lost my temper and cursed him with boils. “A life curse goes beyond a joke,” they said. “Poor judgment,” they said, and expelled me from the Academy." + # wmllint: local spelling Zephrin + message= _ "Gods of Darkness, how did it come to this? My own sister determined on my death. Nothing has gone right since... since that day the fat toad Zephrin mocked my up-country accent and I lost my temper and cursed him with boils. “A life curse goes beyond a joke,” they said. “Poor judgment,” they said, and expelled me from the Academy." [/message] [message] speaker=Malin Keshar - message=_ "Now the only being who still wants to keep me alive is a necromancer. Curse them all! Live or die, I’ll have my revenge on those that have wronged me." + message= _ "Now the only being who still wants to keep me alive is a necromancer. Curse them all! Live or die, I’ll have my revenge on those that have wronged me." [/message] {CLEAR_VARIABLE malin_used_necromancy} diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/07_A_Small_Favor.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/07_A_Small_Favor.cfg index cf4ac682a89f..f3bd06c1945f 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/07_A_Small_Favor.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/07_A_Small_Favor.cfg @@ -2,7 +2,7 @@ [scenario] id=07_A_Small_Favor - name=_ "A Small Favor" + name= _ "A Small Favor" map_data="{campaigns/Descent_Into_Darkness/maps/07_A_Small_Favor.map}" {TURNS 28 26 22} next_scenario=08_A_Small_Favor2 @@ -96,14 +96,14 @@ {DAWN_HOUR} #endif - {INTRO_AND_SCENARIO_MUSIC underground.ogg elvish-theme.ogg} + {SCENARIO_MUSIC elvish-theme.ogg} {EXTRA_SCENARIO_MUSIC wanderer.ogg} {EXTRA_SCENARIO_MUSIC elf-land.ogg} - # wmllint: directory spelling Karres [story] [part] - story=_ "Fleeing from the city of his birth, Malin heads to the west. Soon he reunites with his teacher." + music=underground.ogg + story= _ "Fleeing from the city of his birth, Malin heads to the west. Soon he reunites with his teacher." {STORYTXT_BACKGROUND travel.jpg} [/part] [part] @@ -111,88 +111,95 @@ {STORYTXT_BACKGROUND book.jpg} [/part] [part] - story=_ "Malin replies, “They are no longer countrymen of mine, since they have rejected me twice now.”" + story= _ "Malin replies, “They are no longer countrymen of mine, since they have rejected me twice now.”" {STORYTXT_BACKGROUND book.jpg} [/part] [part] - story=_ "Darken Volk continues, “Excellent. We travel, then, to the city of Tath. There is a lord of that city by the name of Karres. He was trained as a mage in his youth, and now uses his wealth to support a large number of mages in their studies. Among his library is the book we seek. We will need to break into his manor and seek the book inside.”" + story= _ "Darken Volk continues, “Excellent. We travel, then, to the city of Tath. There is a lord of that city by the name of Karres. He was trained as a mage in his youth, and now uses his wealth to support a large number of mages in their studies. Among his library is the book we seek. We will need to break into his manor and seek the book inside.”" {STORYTXT_BACKGROUND book.jpg} [/part] [/story] - {DID_TRACK {JOURNEY_07_NEW} } + {DID_TRACK {JOURNEY_07_NEW}} [side] side=1 controller=human + recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD + {GOLD 170 130 110} team_name=intruders - user_team_name=_"Intruders" + user_team_name= _ "Intruders" + {FLAG_VARIANT undead} + type=Apprentice Mage id=Malin Keshar name=_ "Malin Keshar" profile=portraits/malin_old.png - unrenamable=yes canrecruit=yes - recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD - {GOLD 170 130 110} + unrenamable=yes + fog=yes - {FLAG_VARIANT undead} facing=sw [/side] [side] side=2 - color=green controller=ai - team_name=defenders - user_team_name=_"Defenders" - type=General - id=Taylor - name=_ "Taylor" - unrenamable=yes - canrecruit=yes recruit=Swordsman,Pikeman,Longbowman,Cavalryman,Dragoon,Mage,Heavy Infantryman,Shock Trooper gold=0 + team_name=defenders + user_team_name= _ "Defenders" + {FLAG_VARIANT loyalist} + village_gold=0 income=-2 + + type=General + id=Taylor + name= _ "Taylor" + canrecruit=yes + unrenamable=yes + fog=yes - {FLAG_VARIANT loyalist} + color=green facing=se # Place city guards - {NAMED_LOYAL_UNIT () Spearman 11 3 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Spearman 17 6 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Spearman 23 9 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Spearman 25 14 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Pikeman 20 22 () (_"Gate Guard")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Pikeman 24 20 () (_"Gate Guard")} {GUARDIAN} - {NAMED_LOYAL_UNIT () (Heavy Infantryman) 19 22 () (_"Gate Guard")} {GUARDIAN} - {NAMED_LOYAL_UNIT () (Heavy Infantryman) 24 19 () (_"Gate Guard")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Spearman 13 23 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Spearman 7 23 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Spearman 4 18 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Spearman 2 14 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Spearman 16 28 () (_"Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Spearman 11 3 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Spearman 17 6 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Spearman 23 9 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Spearman 25 14 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Spearman 13 23 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Spearman 7 23 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Spearman 4 18 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Spearman 2 14 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Spearman 16 28 () ( _ "Night Watchman")} {GUARDIAN} + + {NAMED_LOYAL_UNIT () Pikeman 20 22 () ( _ "Gate Guard")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Pikeman 24 20 () ( _ "Gate Guard")} {GUARDIAN} + + {NAMED_LOYAL_UNIT () (Heavy Infantryman) 19 22 () ( _ "Gate Guard")} {GUARDIAN} + {NAMED_LOYAL_UNIT () (Heavy Infantryman) 24 19 () ( _ "Gate Guard")} {GUARDIAN} # More guards, depending on the difficulty #ifdef EASY - {NAMED_LOYAL_UNIT () Mage 7 9 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Mage 8 7 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Sergeant 21 15 () (_"Head Trainer")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Mage 7 9 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Mage 8 7 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () Sergeant 21 15 () ( _ "Head Trainer")} {GUARDIAN} #endif #ifdef NORMAL - {NAMED_LOYAL_UNIT () (Mage) 7 9 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () (Red Mage) 8 7 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Spearman 12 7 () (_"Townperson")} {GUARDIAN} - {NAMED_LOYAL_UNIT () Lieutenant 21 15 () (_"Head Trainer")} {GUARDIAN} + {NAMED_LOYAL_UNIT () (Mage) 7 9 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () (Red Mage) 8 7 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () (Spearman) 12 7 () ( _ "Townperson")} {GUARDIAN} + {NAMED_LOYAL_UNIT () (Lieutenant) 21 15 () ( _ "Head Trainer")} {GUARDIAN} #endif #ifdef HARD - {NAMED_LOYAL_UNIT () (Silver Mage) 7 9 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () (Red Mage) 8 7 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () (Pikeman) 12 7 () (_"Night Watchman")} {GUARDIAN} - {NAMED_LOYAL_UNIT () (Lieutenant) 21 15 () (_"Head Trainer")} {GUARDIAN} + {NAMED_LOYAL_UNIT () (Silver Mage) 7 9 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () (Red Mage) 8 7 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () (Pikeman) 12 7 () ( _ "Night Watchman")} {GUARDIAN} + {NAMED_LOYAL_UNIT () (Lieutenant) 21 15 () ( _ "Head Trainer")} {GUARDIAN} #endif [ai] @@ -261,7 +268,7 @@ side=1 [objective] condition=win - description= _ "Malin and Darken Volk enter the Mage Lord’s manor" + description= _ "Move Malin and Darken Volk into the Mage Lord’s manor" [/objective] [objective] condition=lose @@ -290,9 +297,6 @@ {CLEAR_VARIABLE darken_volk_store} - # Event variables - {VARIABLE undeadWarning no} - [recall] id=Darken Volk x,y=40,18 @@ -306,98 +310,82 @@ [message] speaker=Darken Volk - message=_ "The stolen book lies within Lord Karres’s manor on the north end of the city. We cannot defeat the entire city guard, so we must stay hidden as long as possible. The cover of the night and this fog will aid us. Once we are seen by the night watchmen, we will have to make a run for it. Our forces are not strong enough to take the whole city." + message= _ "The stolen book lies within Lord Karres’s manor on the north end of the city. We cannot defeat the entire city guard, so we must stay hidden as long as possible. The cover of the night and this fog will aid us. Once we are seen by the night watchmen, we will have to make a run for it. Our forces are not strong enough to take the whole city." [/message] [message] speaker=narrator - message=_ "Note: Only the units you recruit now will be available to you once inside." + message= _ "Note: Only the units you recruit now will be available to you once inside." image=wesnoth-icon.png [/message] [/event] - # In-scenario Events + # Sentry attacks an undead [event] - # Sentry attacks an undead - # This would be better to do when a sentry can see my units on his turn, but Wesnoth doesn't generate a "sighted" event if I move into their sight range during my turn - name=attack - first_time_only=no + name=sighted [filter] side=2 [/filter] [filter_second] side=1 [/filter_second] - [filter_condition] - [variable] - name=undeadWarning - equals=no - [/variable] - [/filter_condition] # Sound a warning and give gold to the general [message] - x,y=$x1,$y1 - message=_ "Sir! Undead creatures are coming out of the forest! Wake the guard immediately!" + speaker=unit + message= _ "Sir! Undead creatures are coming out of the forest! Wake the guard immediately!" [/message] [message] speaker=Taylor - message=_ "To arms, men!" + message= _ "To arms, men!" [/message] - {VARIABLE undeadWarning yes} [modify_side] side=2 {GOLD 75 150 300} [/modify_side] [/event] + # Undead unit kicks the holy water [event] - # undead unit kicks the holy water name=moveto [filter] x,y=5,5 race=undead [/filter] - {VARIABLE_OP unit.hitpoints sub 1} - - [if] - [variable] - name=unit.hitpoints - greater_than=0 - [/variable] - - [then] - [unstore_unit] - variable=unit - find_vacant=no - # intentionally left untranslatable for now - text="-1" # wmllint: ignore - {COLOR_HARM} - [/unstore_unit] - [/then] - [/if] - [message] speaker=unit - message=_ "Ooouuuh! It burns... burrrrnnns..." # wmllint: no spellcheck + message= _ "Ooouuuh! It burns... burrrrnnns..." # wmllint: no spellcheck [/message] + [harm_unit] + [filter] + x,y=$x1,$y1 + [/filter] + amount=1 + animate=yes + [/harm_unit] + + [floating_text] + x,y=$x1,$y1 + text="-1" # wmllint: ignore + [/floating_text] + + [remove_item] + x,y=5,5 + [/remove_item] + [message] speaker=Malin Keshar - message=_ "What in the name of all demons of hell was this thing?" + message= _ "What in the name of all demons of hell was this thing?" [/message] [message] speaker=Darken Volk - message=_ "This was the impact of what is known as holy water among common people. It is brewed in a complicated and mysterious procedure only known to a few priests and often used to fight resurrected creatures." + message= _ "This was the impact of what is known as holy water among common people. It is brewed in a complicated and mysterious procedure only known to a few priests and often used to fight resurrected creatures." [/message] - - [remove_item] - x,y=5,5 - [/remove_item] [/event] # Defeat Conditions @@ -418,19 +406,11 @@ name=moveto first_time_only=no [filter] + id=Malin Keshar,Darken Volk x=2-6 y=5-7 - - [and] - id=Malin Keshar - - [or] - id=Darken Volk - [/or] - [/and] [/filter] - - [if] + [filter_condition] [have_unit] id=Malin Keshar x=2-6 @@ -441,23 +421,18 @@ x=2-6 y=5-7 [/have_unit] - [then] - [message] - speaker=unit - message=_ "Here is the entrance! Hurry!" - [/message] - - [endlevel] - result=victory - bonus=yes - {NEW_GOLD_CARRYOVER 40} - [/endlevel] - [/then] - - [else] - [allow_undo][/allow_undo] - [/else] - [/if] + [/filter_condition] + + [message] + speaker=unit + message= _ "Here is the entrance! Hurry!" + [/message] + + [endlevel] + result=victory + bonus=yes + {NEW_GOLD_CARRYOVER 40} + [/endlevel] [/event] [event] @@ -474,7 +449,5 @@ [/or] [/not] ) variables.got_inside_manor yes} - - {CLEAR_VARIABLE undeadWarning} [/event] [/scenario] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/08_A_Small_Favor2.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/08_A_Small_Favor2.cfg index 3e5a840961fe..32bb08c40aec 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/08_A_Small_Favor2.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/08_A_Small_Favor2.cfg @@ -2,7 +2,7 @@ [scenario] id=08_A_Small_Favor2 - name=_ "A Small Favor — Part 2" + name= _ "A Small Favor — Part 2" map_data="{campaigns/Descent_Into_Darkness/maps/08_A_Small_Favor2.map}" {TURNS 30 27 25} next_scenario=09_A_Small_Favor3 @@ -10,27 +10,31 @@ {UNDERGROUND} - {SCENARIO_MUSIC loyalists.ogg} + {SCENARIO_MUSIC loyalists.ogg} {EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg} {EXTRA_SCENARIO_MUSIC siege_of_laurelmor.ogg} - # no story -- this occurs immediately after the previous scenario + # No story; this occurs immediately after the previous scenario [side] side=1 controller=human + gold=0 team_name=intruders - user_team_name=_"Intruders" + user_team_name= _ "Intruders" + {FLAG_VARIANT undead} + + income=-2 + type=Apprentice Mage id=Malin Keshar name=_ "Malin Keshar" profile=portraits/malin_old.png - unrenamable=yes canrecruit=yes - gold=0 - income=-2 + unrenamable=yes + shroud=yes - {FLAG_VARIANT undead} + facing=nw [/side] @@ -39,12 +43,12 @@ side=2 controller=ai team_name=defenders - user_team_name=_"Defenders" + user_team_name= _ "Defenders" no_leader=yes hidden=yes # A guard - {NAMED_NOTRAIT_UNIT 2 (Halberdier) 10 4 () (_"Guard")} {GUARDIAN} + {NAMED_NOTRAIT_UNIT 2 (Halberdier) 10 4 () ( _ "Guard")} {GUARDIAN} [ai] village_value=0 @@ -64,15 +68,15 @@ side=1 [objective] condition=win - description=_ "Find the mage Lord Karres" + description= _ "Find the mage Lord Karres" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [objective] condition=lose - description=_ "Death of Darken Volk" + description= _ "Death of Darken Volk" [/objective] {TURNS_RUN_OUT} @@ -134,8 +138,7 @@ y=1-5 [/not] [not] - [filter] - [/filter] + [filter][/filter] [/not] variable=possible_guard_locations [/store_locations] @@ -347,13 +350,13 @@ [message] speaker=narrator - message=_ "Malin and Darken Volk enter the mage lord’s manor, quickly closing the heavy gates behind them." image=wesnoth-icon.png + message= _ "Malin and Darken Volk enter the mage lord’s manor, quickly closing the heavy gates behind them." [/message] [message] speaker=Malin Keshar - message=_ "That gate won’t hold back the soldiers for more than a few hours. We’d better hurry." + message= _ "That gate won’t hold back the soldiers for more than a few hours. We’d better hurry." [/message] [/event] @@ -372,22 +375,22 @@ [message] speaker=Darken Volk - message=_ "I feel the breaking of an illusion spell. The book must be in the great hall, in the northwest corner of the manor. Let us move quickly now!" + message= _ "I feel the breaking of an illusion spell. The book must be in the great hall, in the northwest corner of the manor. Let us move quickly now!" [/message] [objectives] side=1 [objective] condition=win - description=_ "Move through the passageway in the northwest leading to the great hall" + description= _ "Move through the passageway in the northwest leading to the great hall" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [objective] condition=lose - description=_ "Death of Darken Volk" + description= _ "Death of Darken Volk" [/objective] {TURNS_RUN_OUT} @@ -398,17 +401,12 @@ name=moveto [filter] x,y=1,1 - id=Malin Keshar - [or] - x,y=1,1 - id=Darken Volk - [/or] + id=Malin Keshar,Darken Volk [/filter] [message] speaker=unit - # Possibly bad English! - message=_ "I think I have found the passage to the great hall. Follow me quickly!" + message=_ "I think I found the passage to the great hall. Follow me quickly!" [/message] [endlevel] @@ -428,8 +426,8 @@ [message] speaker=narrator - message=_ "As dawn breaks, the city guards force their way into the manor and capture the two necromancers." image=wesnoth-icon.png + message= _ "As dawn breaks, the city guards force their way into the manor and capture the two necromancers." [/message] [endlevel] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/09_A_Small_Favor3.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/09_A_Small_Favor3.cfg index 9097bd6b6e74..218b5b08fb06 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/09_A_Small_Favor3.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/09_A_Small_Favor3.cfg @@ -2,7 +2,7 @@ [scenario] id=09_A_Small_Favor3 - name=_ "A Small Favor — Part 3" + name= _ "A Small Favor — Part 3" map_data="{campaigns/Descent_Into_Darkness/maps/09_A_Small_Favor3.map}" {TURNS 30 27 25} next_scenario=10_Alone_at_Last @@ -10,52 +10,54 @@ {UNDERGROUND} - {SCENARIO_MUSIC underground.ogg} + {SCENARIO_MUSIC underground.ogg} {EXTRA_SCENARIO_MUSIC loyalists.ogg} {EXTRA_SCENARIO_MUSIC suspense.ogg} - # no story -- this occurs immediately after the previous scenario + # No storyl; this occurs immediately after the previous scenario [side] side=1 controller=human + gold=0 team_name=intruders - user_team_name=_"Intruders" + user_team_name= _ "Intruders" + {FLAG_VARIANT undead} + + income=-2 + type=Apprentice Mage id=Malin Keshar name=_ "Malin Keshar" profile=portraits/malin_old.png - unrenamable=yes canrecruit=yes - gold=0 - income=-2 + unrenamable=yes + shroud=yes share_maps=yes - {FLAG_VARIANT undead} facing=nw [/side] [side] - # Mages side=2 controller=ai team_name=defenders - user_team_name=_"Defenders" + user_team_name= _ "Defenders" no_leader=yes hidden=yes # Mages in rooms - {NAMED_NOTRAIT_UNIT () Mage 16 15 () (_"Guardian")} {GUARDIAN} - {NAMED_NOTRAIT_UNIT () Mage 18 15 () (_"Guardian")} {GUARDIAN} - {NAMED_NOTRAIT_UNIT () Mage 22 13 () (_"Guardian")} {GUARDIAN} - {NAMED_NOTRAIT_UNIT () Mage 24 12 () (_"Guardian")} {GUARDIAN} - {NAMED_NOTRAIT_UNIT () Mage 27 10 () (_"Guardian")} {GUARDIAN} - {NAMED_NOTRAIT_UNIT () Mage 29 10 () (_"Guardian")} {GUARDIAN} + {NAMED_NOTRAIT_UNIT () Mage 16 15 () ( _ "Guardian")} {GUARDIAN} + {NAMED_NOTRAIT_UNIT () Mage 18 15 () ( _ "Guardian")} {GUARDIAN} + {NAMED_NOTRAIT_UNIT () Mage 22 13 () ( _ "Guardian")} {GUARDIAN} + {NAMED_NOTRAIT_UNIT () Mage 24 12 () ( _ "Guardian")} {GUARDIAN} + {NAMED_NOTRAIT_UNIT () Mage 27 10 () ( _ "Guardian")} {GUARDIAN} + {NAMED_NOTRAIT_UNIT () Mage 29 10 () ( _ "Guardian")} {GUARDIAN} # Mages in great hall - {NAMED_NOTRAIT_UNIT () (Silver Mage) 13 8 ("") (_"Guardian")} {GUARDIAN} - {NAMED_NOTRAIT_UNIT () (Red Mage) 14 9 ("") (_"Guardian")} {GUARDIAN} - {NAMED_NOTRAIT_UNIT () (White Mage) 16 8 ("") (_"Guardian")} {GUARDIAN} + {NAMED_NOTRAIT_UNIT () (Silver Mage) 13 8 ("") ( _ "Guardian")} {GUARDIAN} + {NAMED_NOTRAIT_UNIT () (Red Mage) 14 9 ("") ( _ "Guardian")} {GUARDIAN} + {NAMED_NOTRAIT_UNIT () (White Mage) 16 8 ("") ( _ "Guardian")} {GUARDIAN} [ai] village_value=0 @@ -67,7 +69,7 @@ side=3 controller=ai team_name=intruders - user_team_name=_"Intruders" + user_team_name= _ "Intruders" no_leader=yes hidden=yes shroud=yes @@ -109,15 +111,15 @@ side=1 [objective] condition=win - description=_ "Find the book" + description= _ "Find the book" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [objective] condition=lose - description=_ "Death of Darken Volk" + description= _ "Death of Darken Volk" [/objective] {TURNS_RUN_OUT} @@ -138,8 +140,7 @@ x,y=11,7 [/not] [not] - [filter] - [/filter] + [filter][/filter] [/not] ) ( side=2 @@ -164,7 +165,7 @@ variable=stored_Darken [/store_unit] - {VARIABLE stored_Darken.side 3} + {VARIABLE stored_Darken.side 3} {VARIABLE stored_Darken.canrecruit yes} {CLEAR_VARIABLE stored_Darken.ellipse} @@ -240,7 +241,7 @@ [message] speaker=Malin Keshar - message=_ "I feel the book is very close, somewhere to the northwest." + message= _ "I feel the book is very close, somewhere to the northwest." [/message] [/event] @@ -331,35 +332,35 @@ [/variable] [/filter_condition] + [remove_item] + x,y=11,7 + [/remove_item] + {VARIABLE hasBook Malin} [message] speaker=Malin Keshar - message=_ "We’ve got the book, but now how do we get out of here?" + message= _ "We’ve got the book, but now how do we get out of here?" [/message] [message] speaker=Darken Volk - message=_ "There’s a small tunnel in the cellar to the northeast. It will lead us far enough out of the city that we can escape pursuit." + message= _ "There’s a small tunnel in the cellar to the northeast. It will lead us far enough out of the city that we can escape pursuit." [/message] - [remove_item] - x,y=11,7 - [/remove_item] - [objectives] side=1 [objective] condition=win - description=_ "Escape via the tunnel in the northeast cellar" + description= _ "Escape via the tunnel in the northeast cellar" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [objective] condition=lose - description=_ "Death of Darken Volk" + description= _ "Death of Darken Volk" [/objective] {TURNS_RUN_OUT} @@ -371,10 +372,12 @@ id=Malin Keshar x,y=30-31,1 [/filter] + [message] speaker=Malin Keshar - message=_ "Phew! Let’s get out of here." + message= _ "Phew! Let’s get out of here." [/message] + [endlevel] result=victory bonus=no @@ -398,25 +401,25 @@ [/variable] [/filter_condition] - {VARIABLE hasBook Darken} - [remove_item] x,y=11,7 [/remove_item] + {VARIABLE hasBook Darken} + [objectives] side=1 [objective] condition=win - description=_ "Escape the manor" + description= _ "Escape the manor" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [objective] condition=lose - description=_ "Death of Darken Volk" + description= _ "Death of Darken Volk" [/objective] {TURNS_RUN_OUT} @@ -428,9 +431,10 @@ id=Darken Volk side=3 [/filter] + [message] speaker=Malin Keshar - message=_ "We’ve got the book, but now how do we get out of here?" + message= _ "We’ve got the book, but now how do we get out of here?" [/message] [scroll_to_unit] @@ -439,7 +443,7 @@ [message] speaker=Malin Keshar - message=_ "Wait, you aren’t leaving me behind, are you?" + message= _ "Wait, you aren’t leaving me behind, are you?" [/message] [/event] @@ -452,13 +456,13 @@ [message] speaker=Darken Volk - message=_ "You have served me well, my apprentice." + message= _ "You have served me well, my apprentice." [/message] [message] speaker=narrator - message=_ "As he heads into the tunnel Darken Volk collapses its entrance, leaving Malin to be captured and executed by the city guards." image=wesnoth-icon.png + message= _ "As he heads into the tunnel Darken Volk collapses its entrance, leaving Malin to be captured and executed by the city guards." [/message] [endlevel] @@ -475,7 +479,7 @@ [message] speaker=Malin Keshar - message=_ "Phew! Let’s get out of here." + message= _ "Phew! Let’s get out of here." [/message] [endlevel] @@ -495,8 +499,8 @@ name=time over [message] speaker=narrator - message=_ "As dawn breaks, the city guards force their way into the manor and capture the two necromancers." image=wesnoth-icon.png + message= _ "As dawn breaks, the city guards force their way into the manor and capture the two necromancers." [/message] [endlevel] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/10_Alone_at_Last.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/10_Alone_at_Last.cfg index 4be99315d172..fde1c1d54166 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/10_Alone_at_Last.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/10_Alone_at_Last.cfg @@ -2,7 +2,7 @@ [scenario] id=10_Alone_at_Last - name=_ "Alone at Last" + name= _ "Alone at Last" map_data="{campaigns/Descent_Into_Darkness/maps/10_Alone_at_Last.map}" turns=24 next_scenario=11_Descent_into_Darkness @@ -10,7 +10,7 @@ {DEFAULT_SCHEDULE_DUSK} - {SCENARIO_MUSIC breaking_the_chains.ogg} + {SCENARIO_MUSIC breaking_the_chains.ogg} {EXTRA_SCENARIO_MUSIC vengeful.ogg} {EXTRA_SCENARIO_MUSIC battle.ogg} @@ -30,25 +30,32 @@ [side] side=1 controller=human + recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD + gold=200 + team_name=good + user_team_name= _ "Malin Keshar" + {FLAG_VARIANT undead} + type=Apprentice Mage id=Malin Keshar - name=_ "Malin Keshar" + name= _ "Malin Keshar" profile=portraits/malin_old-decay.png - unrenamable=yes canrecruit=yes - recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD - gold=200 - {FLAG_VARIANT undead} + unrenamable=yes + facing=ne [/side] + # Darken Volk [side] - # Darken Volk side=2 controller=ai - no_leader=yes - {GOLD 300 340 380} recruit=Blood Bat,Ghost,Wraith,Necrophage,Skeleton Archer,Bone Shooter,Skeleton,Revenant,Deathblade,Dark Adept DiD,Dark Sorcerer DiD + {GOLD 300 340 380} + team_name=bad + user_team_name= _ "Darken Volk" + no_leader=yes + {FLAG_VARIANT undead} facing=ne @@ -78,15 +85,17 @@ # Paladins and co [side] side=3 - team_name=wesnothians - user_team_name=_"Wesnothians" controller=ai - no_leader=yes - gold=0 - income=-2 recruit=Spearman,Heavy Infantryman,White Mage,Mage,Paladin + gold=0 + + team_name=wesnothians + user_team_name= _ "Wesnothians" {FLAG_VARIANT loyalist} + income=-2 + no_leader=yes + [ai] village_value=0.1 villages_per_scout=10 @@ -109,18 +118,19 @@ [/ai] [/side] + # Dela Keshar [side] - # Dela Keshar side=4 - team_name=wesnothians - user_team_name=_"Wesnothians" controller=ai - no_leader=yes gold=0 - income=-2 recruit=Spearman,Bowman,Swordsman,Longbowman,Thug,Poacher,Footpad + team_name=wesnothians + user_team_name=_"Wesnothians" {FLAG_VARIANT loyalist} + no_leader=yes + income=-2 + [ai] passive_leader=yes [goal] @@ -133,18 +143,18 @@ [/ai] [/side] - {LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Blood Bat" 2} - {LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Wraith" 2} - {LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Necrophage" 2} - {LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Bone Shooter" 2} - {LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Revenant" 2} - {LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Deathblade" 2} - {LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Dark Sorcerer DiD" 1} + {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Blood Bat) 2} + {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Wraith) 2} + {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Necrophage) 2} + {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Bone Shooter) 2} + {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Revenant) 2} + {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Deathblade) 2} + {LIMIT_CONTEMPORANEOUS_RECRUITS 2 (Dark Sorcerer DiD) 1} #ifdef EASY - {LIMIT_CONTEMPORANEOUS_RECRUITS 3 "Paladin" 2} + {LIMIT_CONTEMPORANEOUS_RECRUITS 3 Paladin 2} #else - {LIMIT_CONTEMPORANEOUS_RECRUITS 3 "Paladin" 3} + {LIMIT_CONTEMPORANEOUS_RECRUITS 3 Paladin 3} #endif [event] @@ -154,11 +164,11 @@ side=1 [objective] condition=win - description=_ "Take the book back from Darken Volk" + description= _ "Take the book back from Darken Volk" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [gold_carryover] @@ -211,9 +221,9 @@ variable=stored_Darken [/store_unit] - {VARIABLE stored_Darken.side 2} + {VARIABLE stored_Darken.side 2} {VARIABLE stored_Darken.canrecruit yes} - {VARIABLE stored_Darken.role book_carrier} + {VARIABLE stored_Darken.role book_carrier} # Removes the loyal trait and other misc stuff {CLEAR_VARIABLE stored_Darken.modifications.trait[0]} @@ -250,12 +260,12 @@ [message] speaker=Malin Keshar - message=_ "Well, we made it out. We got your precious book. What’s in it, anyway? And what do we do now?" + message= _ "Well, we made it out. We got your precious book. What’s in it, anyway? And what do we do now?" [/message] [message] speaker=Darken Volk - message=_ "‘We’? We do nothing. You are no longer my apprentice." + message= _ "‘We’? We do nothing. You are no longer my apprentice." [/message] {MOVE_UNIT (id=Darken Volk) 7 21} @@ -271,20 +281,20 @@ # Malin has the book [message] speaker=Darken Volk - message=_ "Now give the book to me." + message= _ "Now give the book to me." [/message] [message] speaker=narrator - message=_ "Darken Volk grabs the mysterious book from Malin’s hands and stalks away." image=wesnoth-icon.png + message=_ "Darken Volk grabs the mysterious book from Malin’s hands and stalks away." [/message] [/then] [else] # DV already has book [message] speaker=Darken Volk - message=_ "Now go your own way, and I will go mine." + message= _ "Now go your own way, and I will go mine." [/message] [/else] [/if] @@ -306,7 +316,7 @@ [message] speaker=Malin Keshar - message=_ "You can’t just leave me here!" + message= _ "You can’t just leave me here!" [/message] {MOVE_UNIT (id=Malin Keshar) 9 20} @@ -315,34 +325,34 @@ [message] role=advisor - message=_ "Master, do you not see? He has merely been using you to get that book!" + message= _ "Master, do you not see? He has merely been using you to get that book!" [/message] [message] speaker=Malin Keshar - message=_ "What do you mean?" + message= _ "What do you mean?" [/message] [message] role=advisor - message=_ "He cares not about your noble quest to push back the orcs. He needed your help to fight the mages! The book is rightfully yours!" + message= _ "He cares not about your noble quest to push back the orcs. He needed your help to fight the mages! The book is rightfully yours!" [/message] [message] speaker=Malin Keshar - message=_ "Wait!" + message= _ "Wait!" [/message] [message] speaker=Malin Keshar - message=_ "All of the training you gave me, that was just so I would help you get that book! Return it to me now, or I will take it by force." + message= _ "All of the training you gave me, that was just so I would help you get that book! Return it to me now, or I will take it by force." [/message] {MODIFY_UNIT (id=Darken Volk) facing sw} [message] speaker=Darken Volk - message=_ "You are even more of a fool than I thought." + message= _ "You are even more of a fool than I thought." [/message] {MOVE_UNIT (id=Malin Keshar) 5 17} @@ -386,27 +396,27 @@ [message] speaker=Malin Keshar - message=_ "You let me believe Parthyn would accept me back so when they didn’t I would be willing to attack my own countrymen!" + message= _ "You let me believe Parthyn would accept me back so when they didn’t I would be willing to attack my own countrymen!" [/message] [message] speaker=Darken Volk - message=_ "What you let yourself believe is no fault of mine. Cease your foolish prattle. I gave you more power than you could have possibly dreamed. Use it to fight the orcs that annoy you so, not me." + message= _ "What you let yourself believe is no fault of mine. Cease your foolish prattle. I gave you more power than you could have possibly dreamed. Use it to fight the orcs that annoy you so, not me." [/message] [message] speaker=Malin Keshar - message=_ "So it is true! You took my home away from me. You took Drogan away. Now that all of that is gone, I will at least keep the fruits of my labors." + message= _ "So it is true! You took my home away from me. You took Drogan away. Now that all of that is gone, I will at least keep the fruits of my labors." [/message] [message] speaker=Darken Volk - message=_ "Hardly. I will crush you easily." + message= _ "Hardly. I will crush you easily." [/message] [message] speaker=Malin Keshar - message=_ "Perhaps, but I have nothing left to lose." + message= _ "Perhaps, but I have nothing left to lose." [/message] [/event] @@ -421,12 +431,12 @@ [message] speaker=Malin Keshar - message=_ "Now you shall pay for what you have done to me." + message= _ "Now you shall pay for what you have done to me." [/message] [message] speaker=Darken Volk - message=_ "Done? I have done nothing but give you an opportunity. You have chosen your own path. Now leave me alone!" + message= _ "Done? I have done nothing but give you an opportunity. You have chosen your own path. Now leave me alone!" [/message] [/event] @@ -435,8 +445,7 @@ name=turn 8 # Fake move the paladin in, set up a camp, have some - # dialog, and give him another paladin and a mage of - # light + # dialog, and give him another paladin and a mage of light {INCIDENTAL_MUSIC loyalists.ogg} [move_unit_fake] @@ -451,7 +460,7 @@ side=3 x,y=33,26 id=Sir Cadaeus - name=_ "Sir Cadaeus" + name= _ "Sir Cadaeus" canrecruit=yes animate=no facing=nw @@ -481,17 +490,17 @@ [message] speaker=Sir Cadaeus - message=_ "Your travels in this region have not gone unnoticed, foul necromancers! We have been tracking you for weeks, with our purpose renewed this morning upon hearing of the disaster you wreaked upon the goodly city of Tath." + message= _ "Your travels in this region have not gone unnoticed, foul necromancers! We have been tracking you for weeks, with our purpose renewed this morning upon hearing of the disaster you wreaked upon the goodly city of Tath." [/message] [message] speaker=Sir Cadaeus - message=_ "Do not even think of running away — my horsemen can easily catch you. Yes, on this day you shall have to answer for your innumerable crimes." + message= _ "Do not even think of running away — my horsemen can easily catch you. Yes, on this day you shall have to answer for your innumerable crimes." [/message] [message] speaker=Darken Volk - message=_ "We’ll see how well your pompous words protect you from the blades of the undead once I have finished this upstart." + message= _ "We’ll see how well your pompous words protect you from the blades of the undead once I have finished this upstart." [/message] [/event] @@ -506,8 +515,7 @@ [not] [filter_adjacent_location] - [filter] - [/filter] + [filter][/filter] [/filter_adjacent_location] [/not] @@ -532,8 +540,7 @@ y=2-3 [not] - [filter] - [/filter] + [filter][/filter] [/not] variable=possible_camp_locs @@ -543,8 +550,8 @@ [/else] [/if] - # Fake move Dela in, set up camp, have some - # dialog. She doesn't bring anyone with her. + # Fake move Dela in, set up camp, have some dialog. + # She doesn't bring anyone with her. {INCIDENTAL_MUSIC legends_of_the_north.ogg} [move_unit_fake] @@ -560,12 +567,12 @@ x=$possible_camp_locs[$camp_loc_i].x y=$possible_camp_locs[$camp_loc_i].y id=Dela Keshar - name=_ "Dela Keshar" + name= _ "Dela Keshar" canrecruit=yes animate=no profile=portraits/dela.png moves=0 - facing=sw # We don't know where she'll come in, but sw seems a general good facing + facing=sw # We don't know where she'll come in, but sw seems a good general facing [/unit] # Make camp @@ -600,17 +607,17 @@ [message] speaker=Dela Keshar - message=_ "I told you, Malin, that I would find you again, and I have kept my word. I will not suffer you to bring any further harm to my people, and so you will not live to see another sunset." + message= _ "I told you, Malin, that I would find you again, and I have kept my word. I will not suffer you to bring any further harm to my people, and so you will not live to see another sunset." [/message] [message] speaker=Malin Keshar - message=_ "You wrong me, sister. I have only tried to help. Have you not seen fewer orcs this past summer?" + message= _ "You wrong me, sister. I have only tried to help. Have you not seen fewer orcs this past summer?" [/message] [message] speaker=Dela Keshar - message=_ "I will not listen to any more of your lies. Men, attack!" + message= _ "I will not listen to any more of your lies. Men, attack!" [/message] [/event] @@ -622,23 +629,23 @@ [message] speaker=Darken Volk - message=_ "With my dying breath I curse you, Malin the Damned!" + message= _ "With my dying breath I curse you, Malin the Damned!" [/message] [message] speaker=Malin Keshar - message=_ "Now I’ve just got to get that book off the battlefield!" + message= _ "Now I’ve just got to get that book off the battlefield!" [/message] [objectives] side=1 [objective] condition=win - description=_ "Bring the book back to Malin’s castle" + description= _ "Bring the book back to Malin’s castle" [/objective] [objective] condition=lose - description=_ "Death of Malin Keshar" + description= _ "Death of Malin Keshar" [/objective] [gold_carryover] @@ -649,8 +656,8 @@ [message] speaker=narrator - message=_ "Pick up the book by moving a unit onto it. Bats and ghosts cannot carry the book." image=wesnoth-icon.png + message= _ "Pick up the book by moving a unit onto it. Bats and ghosts cannot carry the book." [/message] [/event] @@ -695,14 +702,14 @@ [message] speaker=unit - message=_ "I have the book." + message= _ "I have the book!" [/message] {VARIABLE bookX -1} {VARIABLE bookY -1} [/event] - #Inform the player if a unit cannot pick up the book + # Inform the player if a unit cannot pick up the book [event] name=moveto first_time_only=no @@ -715,8 +722,7 @@ [message] speaker=unit - #Possibly bad English! - message=_ "I am sorry master, that is too heavy for me." + message= _ "I am sorry, master, but that is too heavy for me." [/message] [allow_undo][/allow_undo] @@ -755,7 +761,7 @@ [message] speaker=Malin Keshar - message=_ "The paladins will not be able to pursue me through the mountains, and Dela will not dare take the soldiers too far from Parthyn." + message= _ "The paladins will not be able to pursue me through the mountains, and Dela will not dare take the soldiers too far from Parthyn." [/message] [endlevel] diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg index 552eb72c2c65..79f794a6ced0 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/11_Descent_into_Darkness.cfg @@ -2,7 +2,7 @@ [scenario] id=11_Descent_into_Darkness - name=_ "Descent into Darkness" + name= _ "Descent into Darkness" map_data="{campaigns/Descent_Into_Darkness/maps/11_Descent_into_Darkness.map}" turns=-1 next_scenario=12_Endless_Night @@ -10,68 +10,94 @@ {UNDERGROUND} - {INTRO_AND_SCENARIO_MUSIC the_city_falls.ogg the_deep_path.ogg} + {SCENARIO_MUSIC the_deep_path.ogg} {EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg} {EXTRA_SCENARIO_MUSIC revelation.ogg} [story] [part] - story=_ "“To become a lich, one must first die.”" + music=the_city_falls.ogg + story= _ "“To become a lich, one must first die.”" {STORYTXT_BACKGROUND book.jpg} [/part] [part] - story=_ "So reads the book that Malin has reclaimed. “The spells of necromancy bind the spirit, but only once it has been unbound from the body. To become a lich, the mage must make the necessary incantations with his dying breaths. He thus binds his own spirit in much the same way necromancers bind the spirits of others. Because he retains his own will, however, the lich can call upon the awesome powers of the spirit world.”" + story= _ "So reads the book that Malin has reclaimed. “The spells of necromancy bind the spirit, but only once it has been unbound from the body. To become a lich, the mage must make the necessary incantations with his dying breaths. He thus binds his own spirit in much the same way necromancers bind the spirits of others. Because he retains his own will, however, the lich can call upon the awesome powers of the spirit world.”" {STORYTXT_BACKGROUND book.jpg} [/part] [part] - story=_ "The words, and the idea, stick in the back of his mind. With all of Wesnoth forbidden to him, Malin finds refuge in a nameless frontier village where few questions are asked. When word filters to the town that Parthyn has been overrun by orcs, it rekindles hatred within him. With renewed purpose, he raises his undead minions and travels northward." + story= _ "The words, and the idea, stick in the back of his mind. With all of Wesnoth forbidden to him, Malin finds refuge in a nameless frontier village where few questions are asked. When word filters to the town that Parthyn has been overrun by orcs, it rekindles hatred within him. With renewed purpose, he raises his undead minions and travels northward." {STORYTXT_BACKGROUND travel.jpg} [/part] [part] - story=_ "Malin soon finds the track of an enormous orc army, and follows them until he reaches their camp. As he sees the number of orcs, the enormity of his quest begins to dawn on him. He attacks the camp anyway but is quickly driven back, and badly injured by a thrown orcish dagger as he retreats. He finds refuge in a small cave." + story= _ "Malin soon finds the track of an enormous orc army, and follows them until he reaches their camp. As he sees the number of orcs, the enormity of his quest begins to dawn on him. He attacks the camp anyway but is quickly driven back, and badly injured by a thrown orcish dagger as he retreats. He finds refuge in a small cave." {STORYTXT_BACKGROUND end.jpg} [/part] [/story] - {DID_TRACK {JOURNEY_11_NEW} } + {DID_TRACK {JOURNEY_11_NEW}} [side] side=1 controller=human - type=Apprentice Mage + recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD + gold=100 + team_name=good + user_team_name= _ "Mal Keshar" + {FLAG_VARIANT undead} + + income=-2 + + type=Dark Mage id=Malin Keshar - name=_ "Malin Keshar" + name= _ "Malin Keshar" profile=portraits/malin_old-decay.png - unrenamable=yes canrecruit=yes - recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD - income=-2 - gold=100 + unrenamable=yes + + facing=ne fog=yes shroud=yes - {FLAG_VARIANT undead} - facing=ne [/side] +#define CAVE_GUARD TYPE X Y + [unit] + type={TYPE} + x,y={X},{Y} + + random_traits=yes + generate_name=yes + + ai_special=guardian + + upkeep=loyal + overlays="misc/loyal-icon.png" + [/unit] +#enddef + # Troll leader [side] side=2 - team_name=trolls - user_team_name=_"Trolls" controller=ai + recruit=Troll Whelp,Troll,Troll Rocklobber,Troll Warrior,Troll Shaman + gold=60 + team_name=trolls + user_team_name= _ "Trolls" + + income=-2 + # place leader later no_leader=yes - income=-2 - gold=60 - recruit=Troll Whelp,Troll,Troll Rocklobber,Troll Warrior,Troll Shaman fog=yes # Castle trolls - {UNIT () (Troll) 14 7 (ai_special=guardian)} - {UNIT () (Troll) 8 7 (ai_special=guardian)} - {UNIT () (Troll) 16 3 (ai_special=guardian)} - {UNIT () (Troll Rocklobber) 12 1 (ai_special=guardian)} - {UNIT () (Troll Shaman) 7 4 (ai_special=guardian)} +#ifndef EASY + {CAVE_GUARD (Troll) 7 7} +#endif + {CAVE_GUARD (Troll) 14 7} + {CAVE_GUARD (Troll) 8 7} + {CAVE_GUARD (Troll) 16 3} + {CAVE_GUARD (Troll Rocklobber) 12 1} + {CAVE_GUARD (Troll Shaman) 7 4} [ai] caution=0.5 @@ -97,18 +123,26 @@ # Eastern village trolls [side] side=3 - team_name=trolls - user_team_name=_"Trolls" controller=ai - no_leader=yes - income=-2 gold=0 + team_name=trolls + user_team_name= _ "Trolls" + + income=-2 + + no_leader=yes fog=yes - # Eastern village trolls - all difficulties - {UNIT () (Troll) 30 19 (ai_special=guardian)} - {UNIT () (Troll) 31 12 (ai_special=guardian)} - {UNIT () (Troll Shaman) 33 14 (ai_special=guardian)} + # Eastern village trolls + {CAVE_GUARD (Troll) 30 19} + {CAVE_GUARD (Troll) 31 12} + {CAVE_GUARD (Troll Shaman) 33 14} +#ifdef NORMAL + {CAVE_GUARD (Troll Whelp) 31 16} +#endif +#ifdef HARD + {CAVE_GUARD (Troll Rocklobber) 27 16} +#endif [ai] # Avoid the spiders, the wose, and the beginning area @@ -123,7 +157,7 @@ [side] side=4 team_name=trolls - user_team_name=_"Trolls" + user_team_name= _ "Trolls" controller=ai no_leader=yes income=-2 @@ -131,10 +165,16 @@ fog=yes # Western village trolls - {UNIT () (Troll Shaman) 4 21 (ai_special=guardian)} - {UNIT () (Troll) 10 26 (ai_special=guardian)} - {UNIT () (Troll Whelp) 2 25 (ai_special=guardian)} - {UNIT () (Troll) 10 16 (ai_special=guardian)} + {CAVE_GUARD (Troll) 10 16} + {CAVE_GUARD (Troll) 10 26} + {CAVE_GUARD (Troll Shaman) 4 21} + {CAVE_GUARD (Troll Whelp) 2 25} +#ifdef NORMAL + {CAVE_GUARD (Troll Whelp) 4 19} +#endif +#ifdef HARD + {CAVE_GUARD (Troll Rocklobber) 8 18} +#endif [ai] # Avoid the spiders, the wose, and the beginning area @@ -148,11 +188,12 @@ # Monsters [side] side=5 + gold=0 controller=ai no_leader=yes hidden=yes income=-2 - gold=0 + fog=yes shroud=yes @@ -161,25 +202,25 @@ type=Ancient Wose x,y=7,21 id=Dumdumbadoom - name= _"Dumdumbadoom" + name= _ "Dumdumbadoom" ai_special=guardian [/unit] # Generic Monsters - {UNIT () (Giant Rat) 14 29 (ai_special=guardian)} - {UNIT () (Giant Rat) 21 28 (ai_special=guardian)} - {UNIT () (Giant Rat) 24 34 (ai_special=guardian)} - {UNIT () (Giant Rat) 18 18 (ai_special=guardian)} - {UNIT () (Giant Rat) 22 5 (ai_special=guardian)} - {UNIT () (Vampire Bat) 29 26 (ai_special=guardian)} - {UNIT () (Vampire Bat) 26 31 (ai_special=guardian)} - {UNIT () (Vampire Bat) 19 32 (ai_special=guardian)} - {UNIT () (Vampire Bat) 19 23 (ai_special=guardian)} - {UNIT () (Vampire Bat) 18 13 (ai_special=guardian)} - {UNIT () (Vampire Bat) 18 34 (ai_special=guardian)} - {UNIT () (Giant Spider) 7 12 (ai_special=guardian)} - {UNIT () (Giant Spider) 8 13 (ai_special=guardian)} - {UNIT () (Giant Spider) 6 15 (ai_special=guardian)} + {CAVE_GUARD (Giant Rat) 14 29} + {CAVE_GUARD (Giant Rat) 21 28} + {CAVE_GUARD (Giant Rat) 24 34} + {CAVE_GUARD (Giant Rat) 18 18} + {CAVE_GUARD (Giant Rat) 22 5} + {CAVE_GUARD (Vampire Bat) 29 26} + {CAVE_GUARD (Vampire Bat) 26 31} + {CAVE_GUARD (Vampire Bat) 19 32} + {CAVE_GUARD (Vampire Bat) 19 23} + {CAVE_GUARD (Vampire Bat) 18 13} + {CAVE_GUARD (Vampire Bat) 18 34} + {CAVE_GUARD (Giant Spider) 7 12} + {CAVE_GUARD (Giant Spider) 8 13} + {CAVE_GUARD (Giant Spider) 6 15} [ai] # This is mostly for the Wose -- the others are guardians @@ -196,70 +237,27 @@ [event] name=prestart - [if] - [have_unit] - id=Malin Keshar - - [and] - type=Apprentice Necromancer - - [or] - type=Apprentice Mage - [/or] - [/and] - [/have_unit] - - [then] - [kill] - id=Malin Keshar - [/kill] - - [unit] - id=Malin Keshar - name=_ "Malin Keshar" - type=Dark Mage - side=1 - x,y=3,34 - profile=portraits/malin_old-decay.png - unrenamable=yes - canrecruit=yes - facing=ne - [/unit] - [/then] - [/if] - - [store_unit] - [filter] - id=Malin Keshar - [/filter] - - kill=yes - variable=stored_Malin - [/store_unit] - - # Malin starts injured and poisoned - {VARIABLE stored_Malin.hitpoints 9} - {VARIABLE stored_Malin.status.poisoned yes} - - [unstore_unit] - variable=stored_Malin - [/unstore_unit] - - {CLEAR_VARIABLE stored_Malin} + [kill] + id=Malin Keshar + [/kill] -#ifdef NORMAL - {UNIT 2 (Troll) 7 7 (ai_special=guardian)} - {UNIT 4 (Troll Whelp) 4 19 (ai_special=guardian)} - {UNIT 3 (Troll Whelp) 31 16 (ai_special=guardian)} -#endif + [unit] + id=Malin Keshar + name= _ "Malin Keshar" + type=Dark Mage + side=1 + x,y=3,34 + profile=portraits/malin_old-decay.png + canrecruit=yes + unrenamable=yes -#ifdef HARD - {UNIT 2 (Troll) 7 7 (ai_special=guardian)} - {UNIT 4 (Troll Rocklobber) 8 18 (ai_special=guardian)} - {UNIT 3 (Troll Rocklobber) 27 16 (ai_special=guardian)} -#endif + hitpoints=9 + facing=ne - {MODIFY_UNIT side=2,3,4,5 upkeep loyal} + [status] + poisoned=yes + [/status] + [/unit] [/event] [event] @@ -275,40 +273,40 @@ [message] role=advisor - message=_ "Master, you are gravely injured!" + message= _ "Master, you are gravely injured!" [/message] [message] speaker=Malin Keshar - message=_ "I won’t go down like this, felled by an orc’s blade. I won’t see them defeat me!" + message= _ "I won’t go down like this, felled by an orc’s blade. I won’t see them defeat me!" [/message] [message] role=advisor - message=_ "There is another way, master. Remember the book..." + message= _ "There is another way, master. Remember the book..." [/message] [message] speaker=Malin Keshar - message=_ "Yes... yes. The orcs are too strong for me now, but once I have undergone the transformation they’ll begin to fall before me. And I will continue to hound them until the last one falls!" + message= _ "Yes... yes. The orcs are too strong for me now, but once I have undergone the transformation they’ll begin to fall before me. And I will continue to hound them until the last one falls!" [/message] [message] speaker=Malin Keshar - message=_ "Leave me now while I prepare." + message= _ "Leave me now while I prepare." [/message] [message] role=advisor - message=_ "Yes, master." + message= _ "Yes, master." [/message] {PUT_TO_RECALL_LIST (role=advisor)} [message] speaker=narrator - message=_ "With his last bits of strength, Malin assembles an altar as the book instructs." image=wesnoth-icon.png + message= _ "With his last bits of strength, Malin assembles an altar as the book instructs." [/message] [item] @@ -331,12 +329,12 @@ [message] speaker=Malin Keshar - message=_ "I pray that I am strong enough to complete the spell." + message= _ "I pray that I am strong enough to complete the spell." [/message] [message] speaker=Malin Keshar - message=_ "I’m ready. Do it." + message= _ "I’m ready. Do it." [/message] [animate_unit] @@ -392,36 +390,44 @@ [message] speaker=narrator - message=_ "There is darkness..." image=wesnoth-icon.png + message= _ "There is darkness..." [/message] + [delay] + time=1000 + [/delay] + [message] speaker=narrator - message=_ "and peace..." image=wesnoth-icon.png + message= _ "and peace..." [/message] + [delay] + time=1000 + [/delay] + [message] speaker=narrator - message=_ "for a moment." image=wesnoth-icon.png + message= _ "for a moment." [/message] [delay] - time=500 + time=1000 [/delay] [message] speaker=narrator - message=_ "Then they are replaced by a pulling, a pain too strong to resist, and then..." image=wesnoth-icon.png + message= _ "Then they are replaced by a pulling, a pain too strong to resist, and then..." [/message] [message] speaker=narrator - message=_ "by emptiness." image=wesnoth-icon.png + message= _ "by emptiness." [/message] {FADE_IN} @@ -431,9 +437,9 @@ type=Lich DiD side=1 id=Mal Keshar - name=_ "Mal Keshar" - unrenamable=yes + name= _ "Mal Keshar" canrecruit=yes + unrenamable=yes profile=portraits/malin_lich.png x,y=6,31 hitpoints=9 @@ -446,18 +452,18 @@ # He's not necessarilly totally happy about this [message] speaker=Mal Keshar - message=_ "AAAaaiiigghh!!" # wmllint: no spellcheck sound=lich-die.ogg + message= _ "AAAaaiiigghh!!" # wmllint: no spellcheck [/message] [message] speaker=Mal Keshar - message=_ "The cold, it burns!" + message= _ "The cold, it burns!" [/message] [message] speaker=Mal Keshar - message=_ "I need warmth... life... I sense some here!" + message= _ "I need warmth... life... I sense some here!" [/message] [animate_unit] @@ -491,7 +497,7 @@ y=31,31 [/move_unit_fake] - {QUAKE "cave-in.ogg"} + {QUAKE cave-in.ogg} [terrain] x,y=10,31 @@ -508,20 +514,8 @@ append=yes [/music] - [objectives] - side=1 - [objective] - condition=win - description=_ "Regain your strength" - [/objective] - [objective] - condition=lose - description=_ "Destruction of Mal Keshar" - [/objective] - [/objectives] - # Previously recruited and new adepts can now also become liches - {MODIFY_UNIT (type=Dark Adept DiD) advances_to (Dark Sorcerer)} + {MODIFY_UNIT (type=Dark Adept DiD) advances_to (Dark Sorcerer)} {MODIFY_UNIT (type=Dark Sorcerer DiD) advances_to (Lich,Necromancer)} [disallow_recruit] @@ -533,11 +527,23 @@ side=1 type=Dark Adept [/allow_recruit] + + [objectives] + side=1 + [objective] + condition=win + description= _ "Regain your strength" + [/objective] + [objective] + condition=lose + description= _ "Destruction of Mal Keshar" + [/objective] + [/objectives] [/event] # Ensure that you can't lose to the first couple of bats and rats simply by # getting unlucky. - {FORCE_CHANCE_TO_HIT id="Mal Keshar" side=5 100 ( + {FORCE_CHANCE_TO_HIT (id=Mal Keshar) side=5 100 ( [variable] name=turn_number less_than=5 @@ -556,7 +562,7 @@ [message] speaker=Mal Keshar - message=_ "Yes! I can draw energy even from these insignificant creatures." + message= _ "Yes! I can draw energy even from these insignificant creatures." [/message] [/event] @@ -569,8 +575,8 @@ y=27-29 [/filter] + # See the road to the castle and the castle itself [remove_shroud] - # See the road to the castle and the castle itself side=1 x=3-13,20-22,18-20,17-19,13-16,11-15 y=2-8,18-28,15-17,14-16,12-13,9-11 @@ -590,12 +596,12 @@ [message] speaker=Mal Keshar - message=_ "There, in along this old road, I sense a place worthy of being my home. From there I will build my armies. But I am still too weak to clear the vermin from it. I must finish regaining my strength." + message= _ "There, in along this old road, I sense a place worthy of being my home. From there I will build my armies. But I am still too weak to clear the vermin from it. I must finish regaining my strength." [/message] [message] speaker=Mal Keshar - message=_ "I will need a castle from which to call upon my soldiers. I sense one nearby." + message= _ "I will need a castle from which to call upon my soldiers. I sense one nearby." [/message] [remove_shroud] @@ -618,18 +624,23 @@ [message] speaker=Mal Keshar - message=_ "Yes, this will do until I can take my new home." + message= _ "Yes, this will do until I can take my new home." [/message] + # Turns are measured from here + [modify_turns] + value=$($turn_number+50) + [/modify_turns] + [objectives] side=1 [objective] condition=win - description=_ "Clear your new home of trolls" + description= _ "Clear your new home of trolls" [/objective] [objective] condition=lose - description=_ "Destruction of Mal Keshar" + description= _ "Destruction of Mal Keshar" [/objective] {TURNS_RUN_OUT} @@ -639,29 +650,18 @@ carryover_percentage=40 [/gold_carryover] [/objectives] - - # Turns are measured from here - {VARIABLE totalTurns 50} - {VARIABLE_OP totalTurns add $turn_number} - - [modify_turns] - value=$totalTurns - [/modify_turns] - - {CLEAR_VARIABLE totalTurns} [/event] # Set the troll enemy and return income to normal when you reach your keep [event] name=moveto - [filter] id=Mal Keshar x,y=30,25 [/filter] + # Troll leader [unit] - # Troll leader type=Troll Hero side=2 id=Grnknrr @@ -697,7 +697,6 @@ name=side_number equals=5 [/variable] - [variable] name=wose_awakened not_equals=yes @@ -707,8 +706,8 @@ {MODIFY_UNIT id=Dumdumbadoom moves 0} [/event] + # Fun with the wose [event] - # Fun with the wose name=moveto [filter] side=1 @@ -724,14 +723,14 @@ [message] speaker=Dumdumbadoom - message=_ "Who has awoken me from my slumber? Undead? I shall not suffer the existence of such foul creatures." + message= _ "Who has awoken me from my slumber? Undead? I shall not suffer the existence of such foul creatures!" [/message] {VARIABLE wose_awakened yes} [/event] + # Have a nice trip, see you in the fall. . . [event] - # Have a nice trip, see you in the fall. . . name=moveto first_time_only=no [filter] @@ -743,7 +742,7 @@ [message] x,y=24,13 - message=_ "AAAaaaggghhhh!! ..." # wmllint: no spellcheck + message= _ "AAAaaaggghhhh!! ..." # wmllint: no spellcheck [/message] {MOVE_UNIT (x,y=24,13) 25 13} @@ -780,3 +779,5 @@ {VARIABLE timesForever 1} [/event] [/scenario] + +#undef CAVE_GUARD diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/12_Endless_Night.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/12_Endless_Night.cfg index 86f4f88e1017..3ca6ed1cccfc 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/12_Endless_Night.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/12_Endless_Night.cfg @@ -2,7 +2,7 @@ [scenario] id=12_Endless_Night - name=_ "Endless Night" + name= _ "Endless Night" map_data="{campaigns/Descent_Into_Darkness/maps/12_Endless_Night.map}" turns=-1 next_scenario=12_Endless_Night @@ -12,30 +12,35 @@ [story] [part] - story=_ "Years pass. Every summer when the mountain passes become clear, the lich sends his soldiers to attack the orcs, removing any human, elven, or dwarvish patrols that get in the way. Every year the undead inflict some damage before being repelled and retreating to the caves." + story= _ "Years pass. Every summer when the mountain passes become clear, the lich sends his soldiers to attack the orcs, removing any human, elven, or dwarvish patrols that get in the way. Every year the undead inflict some damage before being repelled and retreating to the caves." {STORYTXT_BACKGROUND end.jpg} [/part] [part] - story=_ "Rumors circulate of a lich that preys on scouting patrols. A hero, gathering his loyal troops to him, decides to put an end to the evil." + story= _ "Rumors circulate of a lich that preys on scouting patrols. A hero, gathering his loyal troops to him, decides to put an end to the evil." {STORYTXT_BACKGROUND end.jpg} [/part] [/story] - {DID_TRACK {JOURNEY_12_NEW} } + {DID_TRACK {JOURNEY_12_NEW}} [side] side=1 controller=human + save_id=Malin Keshar + + recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept + gold=200 + team_name=good + user_team_name= _ "Mal Keshar" + {FLAG_VARIANT undead} + type=Lich id=Mal Keshar - name=_ "Mal Keshar" + name= _ "Mal Keshar" profile=portraits/malin_lich-ancient.png - unrenamable=yes canrecruit=yes - recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept - gold=200 - save_id=Malin Keshar - {FLAG_VARIANT undead} + unrenamable=yes + facing=ne [/side] @@ -43,9 +48,10 @@ [side] side=2 controller=ai + gold=0 # place leader, grant gold and recruits later no_leader=yes - gold=0 + #After I have greatly reduced the number of villages in this scenario #it might be a good idea to give our foolish hero some income {INCOME 5 7 9} @@ -65,11 +71,11 @@ side=1 [objective] condition=win - description=_ "Defeat the foolish hero" + description= _ "Defeat the foolish hero" [/objective] [objective] condition=lose - description=_ "Destruction of Mal Keshar" + description= _ "Destruction of Mal Keshar" [/objective] [gold_carryover] @@ -128,7 +134,7 @@ side=2 type=Royal Guard id=Foolish Hero - name=_ "Foolish Hero" + name= _ "Foolish Hero" x,y=20,3 canrecruit=yes facing=sw @@ -152,7 +158,7 @@ side=2 type=Assassin id=Foolish Hero - name=_ "Foolish Hero" + name= _ "Foolish Hero" x,y=20,3 canrecruit=yes facing=sw @@ -172,7 +178,7 @@ side=2 type=Elvish Marshal id=Foolish Hero - name=_ "Foolish Hero" + name= _ "Foolish Hero" x,y=20,3 canrecruit=yes facing=sw @@ -196,7 +202,7 @@ side=2 type=Dwarvish Lord id=Foolish Hero - name=_ "Foolish Hero" + name= _ "Foolish Hero" x,y=20,3 canrecruit=yes facing=sw @@ -220,7 +226,7 @@ side=2 type=Orcish Warlord id=Foolish Hero - name=_ "Foolish Hero" + name= _ "Foolish Hero" x,y=20,3 canrecruit=yes facing=sw @@ -278,12 +284,12 @@ value=human [message] speaker=Foolish Hero - message=_ "Your doom is at hand, foul lich! I shall bring you down by my own hand." + message= _ "Your doom is at hand, foul lich! I shall bring you down by my own hand." [/message] [message] speaker=Mal Keshar - message=_ "The only doom at hand is yours, if you do not leave now. Go back to your manors and taverns, and do not trouble me further." + message= _ "The only doom at hand is yours, if you do not leave now. Go back to your manors and taverns, and do not trouble me further." [/message] [/case] @@ -291,12 +297,12 @@ value=bandit [message] speaker=Foolish Hero - message=_ "You have preyed on too many of my boys. I have come here to end this, once and for all." + message= _ "You have preyed on too many of my boys. I have come here to end this, once and for all." [/message] [message] speaker=Mal Keshar - message=_ "Not even real soldiers. I will sweep you aside." + message= _ "Not even real soldiers. I will sweep you aside." [/message] [/case] @@ -304,12 +310,12 @@ value=elf [message] speaker=Foolish Hero - message=_ "Your kind is an abomination. I am here to see that you inflict no more harm on the spirits that have passed on." + message= _ "Your kind is an abomination. I am here to see that you inflict no more harm on the spirits that have passed on." [/message] [message] speaker=Mal Keshar - message=_ "Fool! By leaving your forests and coming into my domain, you have sacrificed your own spirits." + message= _ "Fool! By leaving your forests and coming into my domain, you have sacrificed your own spirits." [/message] [/case] @@ -317,17 +323,17 @@ value=dwarf [message] speaker=Foolish Hero - message=_ "I’ve been itching for a chance to break some bones with my hammer, and now you’ve given me cause. Goodness knows you’ve got plenty of bones over there." + message= _ "I’ve been itching for a chance to break some bones with my hammer, and now you’ve given me cause. Goodness knows you’ve got plenty of bones over there." [/message] [message] speaker=Mal Keshar - message=_ "Go back to your tunnels and your mines, and do not trouble me unless you want your hammers to work for me once you are dead." + message= _ "Go back to your tunnels and your mines, and do not trouble me unless you want your hammers to work for me once you are dead." [/message] [message] speaker=Foolish Hero - message=_ "Hear that boys, he’s threatening us! It’s time he learned what real dwarves are made of." + message= _ "Hear that boys, he’s threatening us! It’s time he learned what real dwarves are made of." [/message] [/case] @@ -335,22 +341,22 @@ value=orc [message] speaker=Foolish Hero - message=_ "So, I’ve finally found your lair, lich. You, who have been attacking the orcs for years and have destroyed many of our tribes." + message= _ "So, I’ve finally found your lair, lich. You, who have been attacking the orcs for years and have destroyed many of our tribes." [/message] [message] speaker=Mal Keshar - message=_ "Orcs? It is you who have forced me to choose the dark path, and it is you who ended my mortal life and made me turn into a lich. I am actually grateful to you for coming here, foolish hero. My hatred toward your race makes me stronger and I again get a chance to kill orcs!" + message= _ "Orcs? It is you who have forced me to choose the dark path, and it is you who ended my mortal life and made me turn into a lich. I am actually grateful to you for coming here, foolish hero. My hatred toward your race makes me stronger and I again get a chance to kill orcs!" [/message] [message] speaker=Foolish Hero - message=_ "Nothing will stop me from taking revenge for my father who died at your hand and for the rest of my people you and your minions have killed, lich. Orcs, attack! The one who brings me his skull gets a bag of gold." + message= _ "Nothing will stop me from taking revenge for my father who died at your hand and for the rest of my people you and your minions have killed, lich. Orcs, attack! The one who brings me his skull gets a bag of gold." [/message] [/case] [/switch] - # Some more harassment once the scanario's been played a few times + # Some more harassment once the scenario's been played a few times [if] [variable] name=timesForever @@ -359,7 +365,7 @@ [then] [message] speaker=Mal Keshar - message=_ "Is there an endless supply of foolish heroes with death wishes? Honestly, where do you all come from?" + message= _ "Is there an endless supply of foolish heroes with death wishes? Honestly, where do you all come from?" [/message] [/then] [/if] @@ -396,22 +402,22 @@ [message] speaker=Foolish Hero - message=_ "Well, that is the end of his evil ways." + message= _ "Well, that is the end of his evil ways." [/message] [message] role=second - message=_ "I wonder who he was in life, before falling into the evil ways that led him to today." + message= _ "I wonder who he was in life, before falling into the evil ways that led him to today." [/message] [message] speaker=Foolish Hero - message=_ "Once he chose this unlife for himself and his soldiers, he forfeited any claim to our compassion. Does it even matter who he was?" + message= _ "Once he chose this unlife for himself and his soldiers, he forfeited any claim to our compassion. Does it even matter who he was?" [/message] [message] role=second - message=_ "No, I suppose it does not." + message= _ "No, I suppose it does not." [/message] [endlevel] @@ -429,8 +435,6 @@ [/if] [/event] - # In-scenario events defined within the prestart event - [event] name=enemies defeated