Applied wmlindent to The South Guard.

This commit is contained in:
Eric S. Raymond 2007-06-29 09:51:22 +00:00
parent ff5f33a1ae
commit 7c66c9b477
9 changed files with 2133 additions and 2141 deletions

View file

@ -1,54 +1,53 @@
[textdomain]
name="wesnoth-tb"
name="wesnoth-tb"
[/textdomain]
[campaign]
id=Two_Brothers
rank=1
#textdomain wesnoth-tb
icon="units/human-loyalists/knight.png~TC(1,magenta)"
image=TB_campaign_image.png
name= _ "A Tale Of Two Brothers"
define="CAMPAIGN_TWO_BROTHERS"
first_scenario="1_Rooting_Out_A_Mage"
difficulties=EASY,HARD
difficulty_descriptions={MENU_IMG_TXT2 "units/human-loyalists/horseman-moving.png~TC(1,magenta)" _"Horseman" _"(Beginner)"} +
";" + {MENU_IMG_TXT2 "units/human-loyalists/grand-knight.png~TC(1,magenta)" _"Knight" _"(Challenging)"}
description= _ "A Black Mage is threatening the local village and its inhabitants. When their leader Bjarn sends for aid from his brother Arne, he is victorious, but Bjarn himself is kidnapped. Can you rescue him?
id=Two_Brothers
rank=1
#textdomain wesnoth-tb
icon="units/human-loyalists/knight.png~TC(1,magenta)"
image=TB_campaign_image.png
name= _ "A Tale Of Two Brothers"
define="CAMPAIGN_TWO_BROTHERS"
first_scenario="1_Rooting_Out_A_Mage"
difficulties=EASY,HARD
difficulty_descriptions={MENU_IMG_TXT2 "units/human-loyalists/horseman-moving.png~TC(1,magenta)" _"Horseman" _"(Beginner)"} +
";" + {MENU_IMG_TXT2 "units/human-loyalists/grand-knight.png~TC(1,magenta)" _"Knight" _"(Challenging)"}
description= _ "A Black Mage is threatening the local village and its inhabitants. When their leader Bjarn sends for aid from his brother Arne, he is victorious, but Bjarn himself is kidnapped. Can you rescue him?
(Novice level, 4 scenarios; the 'Hard' version may challenge more experienced players.)"
#textdomain wesnoth
[about]
title = _ "Campaign Designer"
text = "Eric J. Mesoy (Circon)
#textdomain wesnoth
[about]
title = _ "Campaign Designer"
text = "Eric J. Mesoy (Circon)
Nils Kneuper (Ivanovic)"
[/about]
[about]
title = _ "Current Maintainer"
text = "Nils Kneuper (Ivanovic)"
[/about]
[about]
title = _ "Artwork and Graphics Designers"
text = "Arkadiusz Danileki (szopen)
[/about]
[about]
title = _ "Current Maintainer"
text = "Nils Kneuper (Ivanovic)"
[/about]
[about]
title = _ "Artwork and Graphics Designers"
text = "Arkadiusz Danileki (szopen)
MadMax"
[/about]
[about]
title = _ "Miscellaneous"
text = "Bartek Waresiak (Dragonking)
[/about]
[about]
title = _ "Miscellaneous"
text = "Bartek Waresiak (Dragonking)
Christoph Berg (chrber)
And special thanks to everyone else who I forgot to mention."
[/about]
[/about]
[/campaign]
[binary_path]
path=data/campaigns/Two_Brothers/external_binary_data
path=data/campaigns/Two_Brothers/external_binary_data
[/binary_path]
#ifdef CAMPAIGN_TWO_BROTHERS
[binary_path]
path=data/campaigns/Two_Brothers
path=data/campaigns/Two_Brothers
[/binary_path]
{campaigns/Two_Brothers/scenarios}
#endif

View file

@ -1,365 +1,364 @@
[scenario]
#textdomain wesnoth-tb
id=1_Rooting_Out_A_Mage
name=_ "Rooting Out A Mage"
map_data="{campaigns/Two_Brothers/maps/1_Rooting_Out_A_Mage.map}"
turns=18
next_scenario=2_The_Chase
#textdomain wesnoth-tb
id=1_Rooting_Out_A_Mage
name=_ "Rooting Out A Mage"
map_data="{campaigns/Two_Brothers/maps/1_Rooting_Out_A_Mage.map}"
turns=18
next_scenario=2_The_Chase
[music]
name=main_menu.ogg
ms_before=500
[/music]
[music]
name=underground.ogg
ms_before=500
append=yes
[/music]
[music]
name=knolls.ogg
ms_before=500
append=yes
[/music]
[music]
name=battle.ogg
ms_before=500
append=yes
[/music]
[music]
name=main_menu.ogg
ms_before=500
[/music]
[music]
name=underground.ogg
ms_before=500
append=yes
[/music]
[music]
name=knolls.ogg
ms_before=500
append=yes
[/music]
[music]
name=battle.ogg
ms_before=500
append=yes
[/music]
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
{DAWN}
{MORNING}
{AFTERNOON}
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Slay the Black Mage"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Slay the Black Mage"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
[side]
#ifdef EASY
gold=40
#endif
#ifdef HARD
gold=25
#endif
type=Knight
description=Arne
user_description= _ "Arne"
unrenamable=yes
profile=arne.png
side=1
canrecruit=1
controller=human
recruit=Horseman,Bowman,Spearman,Footpad
[unit]
description=Bjarn
user_description= _ "Bjarn"
unrenamable=yes
type=Red Mage
profile=bjarn.png
side=1
{IS_HERO}
x=31
y=21
[/unit]
[side]
#ifdef EASY
gold=40
#endif
#ifdef HARD
gold=25
#endif
type=Knight
description=Arne
user_description= _ "Arne"
unrenamable=yes
profile=arne.png
side=1
canrecruit=1
controller=human
recruit=Horseman,Bowman,Spearman,Footpad
[unit]
description=Bjarn
user_description= _ "Bjarn"
unrenamable=yes
type=Red Mage
profile=bjarn.png
side=1
{IS_HERO}
x=31
y=21
[/unit]
#the armed villagers, beware them
[unit]
description=Peasant
user_description= _ "Peasant"
type=Spearman
side=1
x=30
y=22
[modifications]
{TRAIT_QUICK}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Peasant
user_description= _ "Peasant"
type=Spearman
side=1
x=30
y=21
[modifications]
{TRAIT_STRONG}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Peasant
user_description= _ "Peasant"
type=Spearman
side=1
x=31
y=22
[modifications]
{TRAIT_INTELLIGENT}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Villager
user_description= _ "Villager"
type=Bowman
side=1
x=32
y=19
[modifications]
{TRAIT_STRONG}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Villager
user_description= _ "Villager"
type=Bowman
side=1
x=33
y=19
[modifications]
{TRAIT_QUICK}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Villager
user_description= _ "Villager"
type=Footpad
side=1
x=32
y=18
[modifications]
{TRAIT_RESILIENT}
{TRAIT_LOYAL}
[/modifications]
[/unit]
#the armed villagers, beware them
[unit]
description=Peasant
user_description= _ "Peasant"
type=Spearman
side=1
x=30
y=22
[modifications]
{TRAIT_QUICK}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Peasant
user_description= _ "Peasant"
type=Spearman
side=1
x=30
y=21
[modifications]
{TRAIT_STRONG}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Peasant
user_description= _ "Peasant"
type=Spearman
side=1
x=31
y=22
[modifications]
{TRAIT_INTELLIGENT}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Villager
user_description= _ "Villager"
type=Bowman
side=1
x=32
y=19
[modifications]
{TRAIT_STRONG}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Villager
user_description= _ "Villager"
type=Bowman
side=1
x=33
y=19
[modifications]
{TRAIT_QUICK}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Villager
user_description= _ "Villager"
type=Footpad
side=1
x=32
y=18
[modifications]
{TRAIT_RESILIENT}
{TRAIT_LOYAL}
[/modifications]
[/unit]
#Arne's mercenary band
[unit]
description=Erik
user_description= _ "Erik"
type=Horseman
side=1
x=33
y=21
[modifications]
{TRAIT_QUICK}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Heine
user_description= _ "Heine"
type=Horseman
side=1
x=32
y=21
[modifications]
{TRAIT_STRONG}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Magnus
user_description= _ "Magnus"
type=Horseman
side=1
x=33
y=20
[modifications]
{TRAIT_RESILIENT}
{TRAIT_LOYAL}
[/modifications]
[/unit]
#Arne's mercenary band
[unit]
description=Erik
user_description= _ "Erik"
type=Horseman
side=1
x=33
y=21
[modifications]
{TRAIT_QUICK}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Heine
user_description= _ "Heine"
type=Horseman
side=1
x=32
y=21
[modifications]
{TRAIT_STRONG}
{TRAIT_LOYAL}
[/modifications]
[/unit]
[unit]
description=Magnus
user_description= _ "Magnus"
type=Horseman
side=1
x=33
y=20
[modifications]
{TRAIT_RESILIENT}
{TRAIT_LOYAL}
[/modifications]
[/unit]
team_name=good
[/side]
team_name=good
[/side]
[side]
#ifdef HARD
gold=200
#else
gold=120
#endif
type=Dark Sorcerer
description=The Black Mage
user_description= _ "The Black Mage"
side=2
canrecruit=1
#ifdef HARD
recruit=Skeleton,Walking Corpse,Vampire Bat,Ghost,Dark Adept,Ghoul
#else
recruit=Walking Corpse,Vampire Bat,Dark Adept,Ghoul
#endif
[ai]
recruitment_ignore_bad_movement=yes
grouping=no
[/ai]
team_name=evil
[/side]
[side]
#ifdef HARD
gold=200
#else
gold=120
#endif
type=Dark Sorcerer
description=The Black Mage
user_description= _ "The Black Mage"
side=2
canrecruit=1
#ifdef HARD
recruit=Skeleton,Walking Corpse,Vampire Bat,Ghost,Dark Adept,Ghoul
#else
recruit=Walking Corpse,Vampire Bat,Dark Adept,Ghoul
#endif
[ai]
recruitment_ignore_bad_movement=yes
grouping=no
[/ai]
team_name=evil
[/side]
{STARTING_VILLAGES 1 12}
{STARTING_VILLAGES 2 5}
{STARTING_VILLAGES 1 12}
{STARTING_VILLAGES 2 5}
[event]
name=start
[message]
speaker=narrator
message= _ "In a remote part of Wesnoth, people lived their lives working hard and caring for each other, but not knowing much about the world outside. But there came a day when their peaceful world was shattered, as an evil mage came to the region, spreading havoc and despair."
[/message]
[message]
speaker=narrator
message= _ "Bjarn, the local mage of the village, was the man who saw best how to deal with this threat. He asked the help of his brother Arne, leader of a mercenary band of horsemen, and outfitted several of the villagers with gear from the armory."
[/message]
[message]
description=Arne
message= _ "'ello there, Bjarn. So, what's the big fuss?"
[/message]
[message]
description=Bjarn
message= _ "An evil mage, two days ride north, threatens our lives and livelihoods. He is terrorizing our countryside. I've already called the village to arms and now it's up to you to lead them."
[/message]
[message]
description=Arne
message= _ "Very well. We will go there and slay this source of evil. Charge, men!"
[/message]
[message]
speaker=narrator
message= _ "After a short journey the small band of troops is close to the hideout of the evil mage."
[/message]
[message]
description=Bjarn
message= _ "I will attempt to sneak through the forest. If I can slay the evil one while he is off his guard, the battle will be over in one stroke!"
[/message]
[kill]
description=Bjarn
[/kill]
[/event]
[event]
name=start
[message]
speaker=narrator
message= _ "In a remote part of Wesnoth, people lived their lives working hard and caring for each other, but not knowing much about the world outside. But there came a day when their peaceful world was shattered, as an evil mage came to the region, spreading havoc and despair."
[/message]
[message]
speaker=narrator
message= _ "Bjarn, the local mage of the village, was the man who saw best how to deal with this threat. He asked the help of his brother Arne, leader of a mercenary band of horsemen, and outfitted several of the villagers with gear from the armory."
[/message]
[message]
description=Arne
message= _ "'ello there, Bjarn. So, what's the big fuss?"
[/message]
[message]
description=Bjarn
message= _ "An evil mage, two days ride north, threatens our lives and livelihoods. He is terrorizing our countryside. I've already called the village to arms and now it's up to you to lead them."
[/message]
[message]
description=Arne
message= _ "Very well. We will go there and slay this source of evil. Charge, men!"
[/message]
[message]
speaker=narrator
message= _ "After a short journey the small band of troops is close to the hideout of the evil mage."
[/message]
[message]
description=Bjarn
message= _ "I will attempt to sneak through the forest. If I can slay the evil one while he is off his guard, the battle will be over in one stroke!"
[/message]
[kill]
description=Bjarn
[/kill]
[/event]
[event]
name=turn 6
[message]
description=Arne
message= _ "Bjarn should have been in position by now. I wonder if anything's happened to him?"
[/message]
[/event]
[event]
name=turn 6
[message]
description=Arne
message= _ "Bjarn should have been in position by now. I wonder if anything's happened to him?"
[/message]
[/event]
[event]
name=turn 10
[message]
description=Arne
message= _ "This is worrying. What's happened to Bjarn? I suppose we must slay the dark sorcerer ourselves."
[/message]
[/event]
[event]
name=turn 10
[message]
description=Arne
message= _ "This is worrying. What's happened to Bjarn? I suppose we must slay the dark sorcerer ourselves."
[/message]
[/event]
[event]
name=die
[role]
type=Spearman,Bowman,Horseman
role=Reporter
[/role]
[filter]
description=The Black Mage
[/filter]
[message]
speaker=unit
message= _ "Argh!"
[/message]
[message]
description=Arne
message= _ "Good work, men. Now, where is Bjarn?"
[/message]
[message]
speaker=unit
message= _ "Worried about him, are you? E-he-he..hergh...gaargh..."
[/message]
[message]
description=Arne
message= _ "Nothing more to be had from him."
[/message]
[message]
role=Reporter
message= _ "Sir, he's been kidnapped! I just saw some men running off with him. They looked like friends of this one."
[/message]
[message]
description=Arne
message= _ "Damn! I suppose we have to go after him, then."
[/message]
[endlevel]
result=victory
bonus=yes
[/endlevel]
[/event]
[event]
name=die
[role]
type=Spearman,Bowman,Horseman
role=Reporter
[/role]
[filter]
description=The Black Mage
[/filter]
[message]
speaker=unit
message= _ "Argh!"
[/message]
[message]
description=Arne
message= _ "Good work, men. Now, where is Bjarn?"
[/message]
[message]
speaker=unit
message= _ "Worried about him, are you? E-he-he..hergh...gaargh..."
[/message]
[message]
description=Arne
message= _ "Nothing more to be had from him."
[/message]
[message]
role=Reporter
message= _ "Sir, he's been kidnapped! I just saw some men running off with him. They looked like friends of this one."
[/message]
[message]
description=Arne
message= _ "Damn! I suppose we have to go after him, then."
[/message]
[endlevel]
result=victory
bonus=yes
[/endlevel]
[/event]
#you lose
[event]
name=time over
[message]
description=The Black Mage
message= _ "Ha, so you thought to send a mage around and stab me in the back? Well, I have news for you. We've kidnapped him!"
[/message]
[message]
description=Arne
message= _ "What? Bjarn kidnapped? And the black mage still ravages the land? Noooo!"
[/message]
[/event]
#you lose
[event]
name=time over
[message]
description=The Black Mage
message= _ "Ha, so you thought to send a mage around and stab me in the back? Well, I have news for you. We've kidnapped him!"
[/message]
[message]
description=Arne
message= _ "What? Bjarn kidnapped? And the black mage still ravages the land? Noooo!"
[/message]
[/event]
#When you attack
[event]
name=attack
[filter_second]
side=2
[/filter_second]
[message]
description=Arne
message= _ "I hear these creatures are near immune to our weapons, let us see!"
[/message]
[/event]
#When you attack
[event]
name=attack
[filter_second]
side=2
[/filter_second]
[message]
description=Arne
message= _ "I hear these creatures are near immune to our weapons, let us see!"
[/message]
[/event]
#Arne saying some bravado
[event]
name=die
[filter_second]
description=Arne
[/filter_second]
[message]
speaker=second_unit
message= _ "That wasn't so hard!"
[/message]
[/event]
[event]
name=die
[filter]
description=Arne
[/filter]
[message]
description=Arne
message= _ "All is lost now that I am dead..."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
#Arne saying some bravado
[event]
name=die
[filter_second]
description=Arne
[/filter_second]
[message]
speaker=second_unit
message= _ "That wasn't so hard!"
[/message]
[/event]
[event]
name=die
[filter]
description=Arne
[/filter]
[message]
description=Arne
message= _ "All is lost now that I am dead..."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[/scenario]

View file

@ -1,480 +1,479 @@
[scenario]
#textdomain wesnoth-tb
id=2_The_Chase
name= _ "The Chase"
map_data="{campaigns/Two_Brothers/maps/2_The_Chase.map}"
next_scenario=3_Guarded_Castle
#textdomain wesnoth-tb
id=2_The_Chase
name= _ "The Chase"
map_data="{campaigns/Two_Brothers/maps/2_The_Chase.map}"
next_scenario=3_Guarded_Castle
#ifdef EASY
turns=28
{STARTING_VILLAGES 2 17}
turns=28
{STARTING_VILLAGES 2 17}
#endif
#ifdef HARD
turns=24
{STARTING_VILLAGES 2 30}
turns=24
{STARTING_VILLAGES 2 30}
#endif
victory_when_enemies_defeated=no
victory_when_enemies_defeated=no
[music]
name=elf-land.ogg
ms_before=500
[/music]
[music]
name=knolls.ogg
ms_before=500
append=yes
[/music]
[music]
name=wanderer.ogg
ms_before=500
append=yes
[/music]
[music]
name=elf-land.ogg
ms_before=500
[/music]
[music]
name=knolls.ogg
ms_before=500
append=yes
[/music]
[music]
name=wanderer.ogg
ms_before=500
append=yes
[/music]
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
{DAWN}
{MORNING}
{AFTERNOON}
[event]
#ifdef EASY
[terrain]
x=10
y=44
letter=Gg^Vh
[/terrain]
[terrain]
x=13
y=42
letter=Gg^Vh
[/terrain]
[terrain]
x=10
y=26
letter=Gg^Vh
[/terrain]
[terrain]
x=3
y=34
letter=Gg^Vh
[/terrain]
#endif
name=prestart
[objectives]
side=1
[objective]
description= _ "Fight your way through the woods before the kidnappers escape"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[remove_shroud]
side=1
x=0-20
y=15-54
[/remove_shroud]
[/event]
[event]
#ifdef EASY
[terrain]
x=10
y=44
letter=Gg^Vh
[/terrain]
[terrain]
x=13
y=42
letter=Gg^Vh
[/terrain]
[terrain]
x=10
y=26
letter=Gg^Vh
[/terrain]
[terrain]
x=3
y=34
letter=Gg^Vh
[/terrain]
#endif
name=prestart
[objectives]
side=1
[objective]
description= _ "Fight your way through the woods before the kidnappers escape"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[remove_shroud]
side=1
x=0-20
y=15-54
[/remove_shroud]
[/event]
{PLACE_IMAGE scenery/signpost.png 10 1}
{PLACE_IMAGE scenery/signpost.png 10 1}
[side]
#ifdef EASY
gold=180
income=10
#endif
#ifdef HARD
gold=120
#endif
type=Knight
description=Arne
user_description= _ "Arne"
unrenamable=yes
side=1
canrecruit=1
controller=human
recruit=Horseman,Bowman,Spearman,Footpad
team_name=good
shroud=yes
[/side]
[side]
#ifdef EASY
gold=180
income=10
#endif
#ifdef HARD
gold=120
#endif
type=Knight
description=Arne
user_description= _ "Arne"
unrenamable=yes
side=1
canrecruit=1
controller=human
recruit=Horseman,Bowman,Spearman,Footpad
team_name=good
shroud=yes
[/side]
[side]
#ifdef EASY
gold=25
#endif
#ifdef HARD
gold=60
#endif
type=Elvish Rider
description=Nil-Galion
user_description= _ "Nil-Galion"
unrenamable=yes
side=2
canrecruit=1
recruit=Elvish Scout
income=-8
team_name=elves
recruitment_pattern=scout
[side]
#ifdef EASY
gold=25
#endif
#ifdef HARD
gold=60
#endif
type=Elvish Rider
description=Nil-Galion
user_description= _ "Nil-Galion"
unrenamable=yes
side=2
canrecruit=1
recruit=Elvish Scout
income=-8
team_name=elves
recruitment_pattern=scout
[unit]
side=2
type=Elvish Scout
x=15
y=20
[/unit]
[unit]
side=2
type=Elvish Fighter
x=5
y=13
[/unit]
[unit]
side=2
type=Elvish Scout
x=4
y=36
[/unit]
[unit]
side=2
type=Elvish Scout
x=7
y=46
[/unit]
[unit]
side=2
type=Elvish Scout
x=15
y=35
[/unit]
#ifdef HARD
[unit]
side=2
type=Elvish Scout
x=7
y=25
[/unit]
[unit]
side=2
type=Elvish Scout
x=10
y=33
[/unit]
[unit]
side=2
type=Elvish Hero
x=11
y=45
[/unit]
[unit]
side=2
type=Elvish Rider
x=15
y=23
[/unit]
[unit]
side=2
type=Wose
x=12
y=16
[/unit]
#endif
[/side]
[unit]
side=2
type=Elvish Scout
x=15
y=20
[/unit]
[unit]
side=2
type=Elvish Fighter
x=5
y=13
[/unit]
[unit]
side=2
type=Elvish Scout
x=4
y=36
[/unit]
[unit]
side=2
type=Elvish Scout
x=7
y=46
[/unit]
[unit]
side=2
type=Elvish Scout
x=15
y=35
[/unit]
#ifdef HARD
[unit]
side=2
type=Elvish Scout
x=7
y=25
[/unit]
[unit]
side=2
type=Elvish Scout
x=10
y=33
[/unit]
[unit]
side=2
type=Elvish Hero
x=11
y=45
[/unit]
[unit]
side=2
type=Elvish Rider
x=15
y=23
[/unit]
[unit]
side=2
type=Wose
x=12
y=16
[/unit]
#endif
[/side]
{STARTING_VILLAGES 2 20}
{STARTING_VILLAGES 2 20}
[event]
name=start
[event]
name=start
[role]
type=Horseman
role=speaker
[/role]
[recall]
role=speaker
[/recall]
[role]
type=Horseman
role=speaker
[/role]
[recall]
role=speaker
[/recall]
[message]
speaker=narrator
message= _ "The kidnappers fled north through the forest, and Arne made to follow them, although his horsemen would be at a disadvantage."
[/message]
[message]
speaker=narrator
message= _ "Sounds of a scuffle were heard from the forest."
[/message]
[message]
description=Arne
message= _ "Come on men. A bracing walk in the woods never hurt anyone, did it?"
[/message]
[message]
description=Nil-Galion
message= _ "You there! Halt and explain yourself."
[/message]
[message]
description=Arne
message= _ "We're chasing after some men who kidnapped my brother!"
[/message]
[message]
description=Nil-Galion
message= _ "Those men had some great arguments persuading me to not allow you to enter this forest. Any further, and you will die."
[/message]
[message]
role=speaker
message= _ "A glorious combat at last, against mounted enemies!"
[/message]
[/event]
[message]
speaker=narrator
message= _ "The kidnappers fled north through the forest, and Arne made to follow them, although his horsemen would be at a disadvantage."
[/message]
[message]
speaker=narrator
message= _ "Sounds of a scuffle were heard from the forest."
[/message]
[message]
description=Arne
message= _ "Come on men. A bracing walk in the woods never hurt anyone, did it?"
[/message]
[message]
description=Nil-Galion
message= _ "You there! Halt and explain yourself."
[/message]
[message]
description=Arne
message= _ "We're chasing after some men who kidnapped my brother!"
[/message]
[message]
description=Nil-Galion
message= _ "Those men had some great arguments persuading me to not allow you to enter this forest. Any further, and you will die."
[/message]
[message]
role=speaker
message= _ "A glorious combat at last, against mounted enemies!"
[/message]
[/event]
[event]
name=moveto
[filter]
side=1
x=1-19
y=1-12
[/filter]
[event]
name=moveto
[filter]
side=1
x=1-19
y=1-12
[/filter]
[unit]
type=Dark Adept
description=Muff Toras
user_description= _ "Muff Toras"
{IS_HERO}
unrenamable=yes
x=9
y=4
ai_special=guardian
side=2
[/unit]
#ifdef EASY
[unit]
type=Skeleton
x=9
y=5
ai_special=guardian
side=2
[/unit]
[unit]
type=Skeleton
x=9
y=3
ai_special=guardian
side=2
[/unit]
#endif
#ifdef HARD
[unit]
type=Revenant
x=9
y=5
ai_special=guardian
side=2
[/unit]
[unit]
type=Revenant
x=9
y=3
ai_special=guardian
side=2
[/unit]
#endif
[remove_shroud]
side=1
x=0-20
y=0-15
[/remove_shroud]
[unit]
type=Dark Adept
description=Muff Toras
user_description= _ "Muff Toras"
{IS_HERO}
unrenamable=yes
x=9
y=4
ai_special=guardian
side=2
[/unit]
#ifdef EASY
[unit]
type=Skeleton
x=9
y=5
ai_special=guardian
side=2
[/unit]
[unit]
type=Skeleton
x=9
y=3
ai_special=guardian
side=2
[/unit]
#endif
#ifdef HARD
[unit]
type=Revenant
x=9
y=5
ai_special=guardian
side=2
[/unit]
[unit]
type=Revenant
x=9
y=3
ai_special=guardian
side=2
[/unit]
#endif
[remove_shroud]
side=1
x=0-20
y=0-15
[/remove_shroud]
[message]
speaker=unit
message= _ "I see them! There they are!"
[/message]
[message]
description=Muff Toras
message= _ "Curses! I hope the reinforcements get here so I can escape soon."
[/message]
[objectives]
side=1
[objective]
description= _ "Kill the Dark Adept before his reinforcements arrive"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
[message]
speaker=unit
message= _ "I see them! There they are!"
[/message]
[message]
description=Muff Toras
message= _ "Curses! I hope the reinforcements get here so I can escape soon."
[/message]
[objectives]
side=1
[objective]
description= _ "Kill the Dark Adept before his reinforcements arrive"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
[event]
name=turn 12
[message]
description=Arne
message= _ "Come on, men, let's catch those kidnappers!"
[/message]
[/event]
[event]
name=turn 12
[message]
description=Arne
message= _ "Come on, men, let's catch those kidnappers!"
[/message]
[/event]
[event]
name=die
[filter]
description=Muff Toras
[/filter]
[message]
speaker=unit
message= _ "Hah! You got me alright, but what does that help? No harm telling you now, I suppose. Your precious mage is safely locked away in our dungeons. I was set up to be a decoy."
[/message]
[message]
description=Arne
message= _ "Nooo! Tricked again. Tell us where he is and we shall spare your miserable life."
[/message]
[message]
speaker=unit
message= _ "Three days ride to the northeast, in a deserted castle. The passwords to the guards are Sithrak and Eleben."
[/message]
[message]
description=Arne
message= _ "Thank you. Leave him, men, we ride East."
[/message]
[event]
name=die
[filter]
description=Muff Toras
[/filter]
[message]
speaker=unit
message= _ "Hah! You got me alright, but what does that help? No harm telling you now, I suppose. Your precious mage is safely locked away in our dungeons. I was set up to be a decoy."
[/message]
[message]
description=Arne
message= _ "Nooo! Tricked again. Tell us where he is and we shall spare your miserable life."
[/message]
[message]
speaker=unit
message= _ "Three days ride to the northeast, in a deserted castle. The passwords to the guards are Sithrak and Eleben."
[/message]
[message]
description=Arne
message= _ "Thank you. Leave him, men, we ride East."
[/message]
#ifdef EASY
[move_unit_fake]
type=Iron Mauler
x=1,1,3,4,8
y=6,4,3,3,1
[/move_unit_fake]
[unit]
description=Brena
user_description= _ "Brena"
type=Iron Mauler
side=1
[modifications]
{TRAIT_STRONG}
{TRAIT_LOYAL}
[/modifications]
x=8
y=1
[/unit]
[message]
description=Brena
message= _ "Greetings, I am Brena. I saw you fighting the foul undead. I like nothing better than smashing those foul skeletons and their ilk. Though I came too late to help in this fight, I would like to aid you in your forthcoming endeavors."
[/message]
[message]
type=Horseman
message= _ "He would only slow us down!"
[/message]
[message]
description=Arne
message= _ "I am the one to decide."
[option]
id=get_heavy_inf
message= _ "Oh, all right then. Come along with us."
[command]
[message]
description=Brena
message= _ "Thank you. My comrades and I will help you on your noble quest."
[/message]
[allow_recruit]
type=Heavy Infantryman
[/allow_recruit]
[/command]
[/option]
[option]
id=fast_gold
message= _ "I am sorry. We have not the time to spare."
[command]
[message]
description=Brena
message= _ "Take this, then, for I see that you are on a quest. My comrades will help you whenever you call for them."
[/message]
[allow_recruit]
type=Heavy Infantryman
[/allow_recruit]
[kill]
description=Brena
[/kill]
[kill]
type=Iron Mauler
[/kill]
[sound]
name=gold.ogg
[/sound]
[message]
speaker=narrator
message= _ "You receive 70 pieces of gold!"
[/message]
[gold]
side=1
amount=70
[/gold]
[/command]
[/option]
[/message]
#endif
[endlevel]
result=victory
bonus=yes
[/endlevel]
[/event]
#ifdef EASY
[move_unit_fake]
type=Iron Mauler
x=1,1,3,4,8
y=6,4,3,3,1
[/move_unit_fake]
[unit]
description=Brena
user_description= _ "Brena"
type=Iron Mauler
side=1
[modifications]
{TRAIT_STRONG}
{TRAIT_LOYAL}
[/modifications]
x=8
y=1
[/unit]
[message]
description=Brena
message= _ "Greetings, I am Brena. I saw you fighting the foul undead. I like nothing better than smashing those foul skeletons and their ilk. Though I came too late to help in this fight, I would like to aid you in your forthcoming endeavors."
[/message]
[message]
type=Horseman
message= _ "He would only slow us down!"
[/message]
[message]
description=Arne
message= _ "I am the one to decide."
[option]
id=get_heavy_inf
message= _ "Oh, all right then. Come along with us."
[command]
[message]
description=Brena
message= _ "Thank you. My comrades and I will help you on your noble quest."
[/message]
[allow_recruit]
type=Heavy Infantryman
[/allow_recruit]
[/command]
[/option]
[option]
id=fast_gold
message= _ "I am sorry. We have not the time to spare."
[command]
[message]
description=Brena
message= _ "Take this, then, for I see that you are on a quest. My comrades will help you whenever you call for them."
[/message]
[allow_recruit]
type=Heavy Infantryman
[/allow_recruit]
[kill]
description=Brena
[/kill]
[kill]
type=Iron Mauler
[/kill]
[sound]
name=gold.ogg
[/sound]
[message]
speaker=narrator
message= _ "You receive 70 pieces of gold!"
[/message]
[gold]
side=1
amount=70
[/gold]
[/command]
[/option]
[/message]
#endif
[endlevel]
result=victory
bonus=yes
[/endlevel]
[/event]
[event]
name=time over
[message]
description=Muff Toras
message= _ "My reinforcements are here!"
[/message]
[message]
description=Arne
message= _ "He escaped us..."
[/message]
[/event]
[event]
name=time over
[message]
description=Muff Toras
message= _ "My reinforcements are here!"
[/message]
[message]
description=Arne
message= _ "He escaped us..."
[/message]
[/event]
[event]
name=die
[filter]
description=Nil-Galion
[/filter]
[message]
description=Nil-Galion
message= _ "You foolish human, you killed me but you won't be able to reach the undead. I fulfilled the pact and will be reanimated soon to be a Lord of their armies."
[/message]
[message]
description=Arne
message= _ "Hurry, we have to track them down. Maybe we can still get them. They have to be in the north!"
[/message]
[objectives]
side=1
[objective]
description= _ "Hurry to the north and stop the kidnappers"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
[event]
name=die
[filter]
description=Arne
[/filter]
[message]
description=Arne
message= _ "All is lost now that I am dead..."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=die
[filter]
description=Nil-Galion
[/filter]
[message]
description=Nil-Galion
message= _ "You foolish human, you killed me but you won't be able to reach the undead. I fulfilled the pact and will be reanimated soon to be a Lord of their armies."
[/message]
[message]
description=Arne
message= _ "Hurry, we have to track them down. Maybe we can still get them. They have to be in the north!"
[/message]
[objectives]
side=1
[objective]
description= _ "Hurry to the north and stop the kidnappers"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
[event]
name=die
[filter]
description=Arne
[/filter]
[message]
description=Arne
message= _ "All is lost now that I am dead..."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[/scenario]

File diff suppressed because it is too large Load diff

View file

@ -1,272 +1,271 @@
[scenario]
#textdomain wesnoth-tb
id=4_Return_To_The_Village
name= _ "Return to the Village"
map_data="{campaigns/Two_Brothers/maps/4_Return_to_the_Village.map}"
#textdomain wesnoth-tb
id=4_Return_To_The_Village
name= _ "Return to the Village"
map_data="{campaigns/Two_Brothers/maps/4_Return_to_the_Village.map}"
#ifdef EASY
turns=26
turns=26
#endif
#ifdef HARD
turns=24
turns=24
#endif
next_scenario=null
next_scenario=null
[music]
name=northerners.ogg
ms_before=500
[/music]
[music]
name=underground.ogg
ms_before=500
append=yes
[/music]
[music]
name=loyalists.ogg
ms_before=500
append=yes
[/music]
[music]
name=battle.ogg
ms_before=500
append=yes
[/music]
[music]
name=knolls.ogg
ms_before=500
append=yes
[/music]
[music]
name=northerners.ogg
ms_before=500
[/music]
[music]
name=underground.ogg
ms_before=500
append=yes
[/music]
[music]
name=loyalists.ogg
ms_before=500
append=yes
[/music]
[music]
name=battle.ogg
ms_before=500
append=yes
[/music]
[music]
name=knolls.ogg
ms_before=500
append=yes
[/music]
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
{DAWN}
{MORNING}
{AFTERNOON}
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Find out what is happening in the village"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Death of Bjarn"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Find out what is happening in the village"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Death of Bjarn"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
{PLACE_IMAGE scenery/village-human-burned1.png 10 15}
{PLACE_IMAGE scenery/village-human-burned2.png 8 21}
{PLACE_IMAGE scenery/village-human-burned3.png 22 10}
{PLACE_IMAGE scenery/village-human-burned4.png 17 4}
{PLACE_IMAGE scenery/village-human-burned4.png 11 26}
{PLACE_IMAGE scenery/village-human-burned2.png 7 12}
{PLACE_IMAGE scenery/village-human-burned1.png 10 15}
{PLACE_IMAGE scenery/village-human-burned2.png 8 21}
{PLACE_IMAGE scenery/village-human-burned3.png 22 10}
{PLACE_IMAGE scenery/village-human-burned4.png 17 4}
{PLACE_IMAGE scenery/village-human-burned4.png 11 26}
{PLACE_IMAGE scenery/village-human-burned2.png 7 12}
[side]
#ifdef EASY
gold=140
#endif
#ifdef HARD
gold=120
#endif
type=Knight
description=Arne
user_description= _ "Arne"
unrenamable=yes
side=1
canrecruit=1
controller=human
recruit=Horseman,Bowman,Spearman,Footpad
team_name=good
fog=yes
[/side]
[side]
#ifdef EASY
gold=140
#endif
#ifdef HARD
gold=120
#endif
type=Knight
description=Arne
user_description= _ "Arne"
unrenamable=yes
side=1
canrecruit=1
controller=human
recruit=Horseman,Bowman,Spearman,Footpad
team_name=good
fog=yes
[/side]
[side]
type=Orcish Warlord
description=Tairach
user_description= _ "Tairach"
unrenamable=yes
side=2
controller=ai
canrecruit=1
[ai]
[avoid]
x=10-14
y=1-4
[/avoid]
[/ai]
#ifdef EASY
gold=150
income=10
recruit=Goblin Spearman, Wolf Rider, Orcish Archer, Orcish Grunt, Troll Whelp
#endif
#ifdef HARD
gold=200
income=16
recruit=Orcish Warrior, Goblin Impaler, Wolf Rider, Orcish Crossbowman, Troll Whelp, Orcish Assassin
#endif
team_name=evil
[/side]
[side]
type=Orcish Warlord
description=Tairach
user_description= _ "Tairach"
unrenamable=yes
side=2
controller=ai
canrecruit=1
[ai]
[avoid]
x=10-14
y=1-4
[/avoid]
[/ai]
#ifdef EASY
gold=150
income=10
recruit=Goblin Spearman, Wolf Rider, Orcish Archer, Orcish Grunt, Troll Whelp
#endif
#ifdef HARD
gold=200
income=16
recruit=Orcish Warrior, Goblin Impaler, Wolf Rider, Orcish Crossbowman, Troll Whelp, Orcish Assassin
#endif
team_name=evil
[/side]
[side]
type=Longbowman
description=Councillor Hoban
user_description= _ "Councillor Hoban"
unrenamable=yes
side=3
controller=ai
canrecruit=1
team_name=good
#ifdef EASY
income=4
gold=60
#endif
#ifdef HARD
gold=35
#endif
recruit=Bowman,Spearman
[/side]
[side]
type=Longbowman
description=Councillor Hoban
user_description= _ "Councillor Hoban"
unrenamable=yes
side=3
controller=ai
canrecruit=1
team_name=good
#ifdef EASY
income=4
gold=60
#endif
#ifdef HARD
gold=35
#endif
recruit=Bowman,Spearman
[/side]
{STARTING_VILLAGES 1 8}
{STARTING_VILLAGES 2 10}
{STARTING_VILLAGES 3 8}
{STARTING_VILLAGES 1 8}
{STARTING_VILLAGES 2 10}
{STARTING_VILLAGES 3 8}
[event]
name=start
[recall]
description=Bjarn
{IS_HERO}
[/recall]
[event]
name=start
[recall]
description=Bjarn
{IS_HERO}
[/recall]
[message]
description=Arne
message= _ "There. Your village is just across those hills, and already I see men coming to greet us!"
[/message]
[message]
description=Bjarn
message= _ "No. They are fleeing from something. We have to find out what is happening over here!"
[/message]
[message]
description=Arne
message= _ "I think your village is protected well, though."
[/message]
[message]
description=Bjarn
message= _ "We should go there and talk to Councillor Hoban. Maybe he knows what is going on here."
[/message]
[/event]
[message]
description=Arne
message= _ "There. Your village is just across those hills, and already I see men coming to greet us!"
[/message]
[message]
description=Bjarn
message= _ "No. They are fleeing from something. We have to find out what is happening over here!"
[/message]
[message]
description=Arne
message= _ "I think your village is protected well, though."
[/message]
[message]
description=Bjarn
message= _ "We should go there and talk to Councillor Hoban. Maybe he knows what is going on here."
[/message]
[/event]
[event]
name=sighted
[filter]
side=3
[/filter]
[message]
description=Councillor Hoban
message= _ "I am glad to see you back again."
[/message]
[message]
description=Bjarn
message= _ "So am I. But what is happening to our village?"
[/message]
[message]
description=Councillor Hoban
message= _ "In the time you have been away a looting band of orcs took over this region. There was noone here to stop them."
[/message]
[message]
description=Councillor Hoban
message= _ "The orcish Warlord wants to enslave us. We will not be able to hold out for long."
[/message]
[message]
description=Councillor Hoban
message= _ "Be careful, he is responsible for the deaths of many of us. Very few remain who can bear arms, but I will send them to aid you in battle."
[/message]
[objectives]
side=1
[objective]
description= _ "Slay the orcish Warlord to free the village"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Death of Bjarn"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
[event]
name=sighted
[filter]
side=3
[/filter]
[message]
description=Councillor Hoban
message= _ "I am glad to see you back again."
[/message]
[message]
description=Bjarn
message= _ "So am I. But what is happening to our village?"
[/message]
[message]
description=Councillor Hoban
message= _ "In the time you have been away a looting band of orcs took over this region. There was noone here to stop them."
[/message]
[message]
description=Councillor Hoban
message= _ "The orcish Warlord wants to enslave us. We will not be able to hold out for long."
[/message]
[message]
description=Councillor Hoban
message= _ "Be careful, he is responsible for the deaths of many of us. Very few remain who can bear arms, but I will send them to aid you in battle."
[/message]
[objectives]
side=1
[objective]
description= _ "Slay the orcish Warlord to free the village"
condition=win
[/objective]
[objective]
description= _ "Death of Arne"
condition=lose
[/objective]
[objective]
description= _ "Death of Bjarn"
condition=lose
[/objective]
[objective]
description= _ "Turns run out"
condition=lose
[/objective]
[/objectives]
[/event]
[event]
name=victory
[message]
description=Arne
message= _ "Finally the orc is killed. Now you can go back to your village."
[/message]
[message]
description=Bjarn
message= _ "So much has been destroyed. We will have a hard time fixing the damage the orcs and the undead caused. I hope this does not happen again."
[/message]
[message]
description=Arne
message= _ "I have to leave you now. My men and I are needed by others, too. But should you ever face another grim foe, send me a messenger. I'll come as fast as I can, little brother."
[/message]
[/event]
[event]
name=victory
[message]
description=Arne
message= _ "Finally the orc is killed. Now you can go back to your village."
[/message]
[message]
description=Bjarn
message= _ "So much has been destroyed. We will have a hard time fixing the damage the orcs and the undead caused. I hope this does not happen again."
[/message]
[message]
description=Arne
message= _ "I have to leave you now. My men and I are needed by others, too. But should you ever face another grim foe, send me a messenger. I'll come as fast as I can, little brother."
[/message]
[/event]
[event]
name=die
[filter]
description=Bjarn
[/filter]
[message]
description=Bjarn
message= _ "It is over, I am vanquished."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=die
[filter]
description=Bjarn
[/filter]
[message]
description=Bjarn
message= _ "It is over, I am vanquished."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=die
[filter]
description=Arne
[/filter]
[message]
description=Arne
message= _ "Everything is lost now that I am dead..."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=time over
[message]
description=Arne
message= _ "I don't think we can rescue anyone from these villages. It is too late."
[/message]
[message]
description=Bjarn
message= _ "I was too weak to protect these people. Oh why did this happen to me?!?"
[/message]
[/event]
[event]
name=die
[filter]
description=Arne
[/filter]
[message]
description=Arne
message= _ "Everything is lost now that I am dead..."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=time over
[message]
description=Arne
message= _ "I don't think we can rescue anyone from these villages. It is too late."
[/message]
[message]
description=Bjarn
message= _ "I was too weak to protect these people. Oh why did this happen to me?!?"
[/message]
[/event]
[/scenario]

View file

@ -1,179 +1,179 @@
#textdomain wesnoth-tutorial
[unit]
id=Elder Mage
name= _ "Elder Mage"
race=human
image="units/elder-mage.png"
{DEFENSE_ANIM "units/elder-mage-defend.png" "units/elder-mage.png" {SOUND_LIST:HUMAN_OLD_HIT} }
profile=portraits/delfador.png
hitpoints=55
movement_type=smallfoot
[resistance]
fire=80
[/resistance]
movement=6
experience=100
level=5
alignment=neutral
advanceto=null
{AMLA_TOUGH 3}
cost=65
usage=mixed fighter
die_sound={SOUND_LIST:HUMAN_OLD_DIE}
unit_description= _ "Once great, Elder Magi have seen their power a little diminished from wearying years of battle. Nevertheless they remain feared on the battlefield on account of their powerful lightning bolts."
[attack]
name=staff
description= _"staff"
icon=attacks/staff-magic.png
type=impact
range=melee
damage=8
number=2
[animation]
[frame]
begin=-250
end=-200
image="units/elder-mage.png"
[/frame]
[frame]
begin=-200
end=-100
image="units/elder-mage-melee1.png"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image="units/elder-mage-melee2.png"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image="units/elder-mage-melee2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=100
end=150
image="units/elder-mage-ranged2.png"
[/frame]
[frame]
begin=150
end=200
image="units/elder-mage.png"
[/frame]
[/animation]
[/attack]
[attack]
name=lightning
description= _"lightning"
icon=attacks/lightning.png
type=fire
range=ranged
[specials]
{WEAPON_SPECIAL_MAGICAL}
[/specials]
damage=14
number=4
# The lightning bolt animation is a little complex; the bolt itself is
# done as an animated halo, and so it needs to have different halo_x and
# halo_y coordinates for all six directions. For this reason I wrote
# this macro, which is also used to create the bolt variations.
id=Elder Mage
name= _ "Elder Mage"
race=human
image="units/elder-mage.png"
{DEFENSE_ANIM "units/elder-mage-defend.png" "units/elder-mage.png" {SOUND_LIST:HUMAN_OLD_HIT} }
profile=portraits/delfador.png
hitpoints=55
movement_type=smallfoot
[resistance]
fire=80
[/resistance]
movement=6
experience=100
level=5
alignment=neutral
advanceto=null
{AMLA_TOUGH 3}
cost=65
usage=mixed fighter
die_sound={SOUND_LIST:HUMAN_OLD_DIE}
unit_description= _ "Once great, Elder Magi have seen their power a little diminished from wearying years of battle. Nevertheless they remain feared on the battlefield on account of their powerful lightning bolts."
[attack]
name=staff
description= _"staff"
icon=attacks/staff-magic.png
type=impact
range=melee
damage=8
number=2
[animation]
[frame]
begin=-250
end=-200
image="units/elder-mage.png"
[/frame]
[frame]
begin=-200
end=-100
image="units/elder-mage-melee1.png"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image="units/elder-mage-melee2.png"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image="units/elder-mage-melee2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=100
end=150
image="units/elder-mage-ranged2.png"
[/frame]
[frame]
begin=150
end=200
image="units/elder-mage.png"
[/frame]
[/animation]
[/attack]
[attack]
name=lightning
description= _"lightning"
icon=attacks/lightning.png
type=fire
range=ranged
[specials]
{WEAPON_SPECIAL_MAGICAL}
[/specials]
damage=14
number=4
# The lightning bolt animation is a little complex; the bolt itself is
# done as an animated halo, and so it needs to have different halo_x and
# halo_y coordinates for all six directions. For this reason I wrote
# this macro, which is also used to create the bolt variations.
#define TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS VARIATION DIR HALO_X HALO_Y
[animation]
hits=no
direction={DIR}
[frame]
begin=-300
end=-200
image="units/elder-mage-ranged1.png"
halo=halo/lightning-bolt-{VARIATION}-1.png:100
halo_x,halo_y={HALO_X},{HALO_Y}
sound=lightning-miss.ogg
[/frame]
[frame]
begin=-200
end=-100
image="units/elder-mage-ranged2.png"
halo=halo/lightning-bolt-{VARIATION}-2.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[frame]
begin=-100
end=0
image="units/elder-mage-ranged1.png"
halo=halo/lightning-bolt-{VARIATION}-4.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[frame]
begin=0
end=100
image="units/elder-mage.png"
halo=misc/blank-hex.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[/animation]
[animation]
hits=yes
direction={DIR}
[frame]
begin=-300
end=-200
image="units/elder-mage-ranged1.png"
halo=halo/lightning-bolt-{VARIATION}-1.png:100
halo_x,halo_y={HALO_X},{HALO_Y}
sound=lightning.ogg
[/frame]
[frame]
begin=-200
end=-100
image="units/elder-mage-ranged2.png"
halo=halo/lightning-bolt-{VARIATION}-2.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[frame]
begin=-100
end=100
image="units/elder-mage-ranged3.png"
halo=halo/lightning-bolt-{VARIATION}-3.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[frame]
begin=100
end=200
image="units/elder-mage-ranged2.png"
halo=halo/lightning-bolt-{VARIATION}-4.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[frame]
begin=200
end=250
image="units/elder-mage-ranged1.png"
halo=misc/blank-hex.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[/animation]
[animation]
hits=no
direction={DIR}
[frame]
begin=-300
end=-200
image="units/elder-mage-ranged1.png"
halo=halo/lightning-bolt-{VARIATION}-1.png:100
halo_x,halo_y={HALO_X},{HALO_Y}
sound=lightning-miss.ogg
[/frame]
[frame]
begin=-200
end=-100
image="units/elder-mage-ranged2.png"
halo=halo/lightning-bolt-{VARIATION}-2.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[frame]
begin=-100
end=0
image="units/elder-mage-ranged1.png"
halo=halo/lightning-bolt-{VARIATION}-4.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[frame]
begin=0
end=100
image="units/elder-mage.png"
halo=misc/blank-hex.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[/animation]
[animation]
hits=yes
direction={DIR}
[frame]
begin=-300
end=-200
image="units/elder-mage-ranged1.png"
halo=halo/lightning-bolt-{VARIATION}-1.png:100
halo_x,halo_y={HALO_X},{HALO_Y}
sound=lightning.ogg
[/frame]
[frame]
begin=-200
end=-100
image="units/elder-mage-ranged2.png"
halo=halo/lightning-bolt-{VARIATION}-2.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[frame]
begin=-100
end=100
image="units/elder-mage-ranged3.png"
halo=halo/lightning-bolt-{VARIATION}-3.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[frame]
begin=100
end=200
image="units/elder-mage-ranged2.png"
halo=halo/lightning-bolt-{VARIATION}-4.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[frame]
begin=200
end=250
image="units/elder-mage-ranged1.png"
halo=misc/blank-hex.png
halo_x,halo_y={HALO_X},{HALO_Y}
[/frame]
[/animation]
#enddef
# The three variations for the north direction:
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 1 n 0 -210}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 2 n 0 -210}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 3 n 0 -210}
# The three variations for the south direction:
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 1 s 0 -72}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 2 s 0 -72}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 3 s 0 -72}
# And so on...
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 1 se,sw 54 -104}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 2 se,sw 54 -104}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 3 se,sw 54 -104}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 1 ne,nw 54 -176}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 2 ne,nw 54 -176}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 3 ne,nw 54 -176}
[/attack]
# The three variations for the north direction:
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 1 n 0 -210}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 2 n 0 -210}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 3 n 0 -210}
# The three variations for the south direction:
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 1 s 0 -72}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 2 s 0 -72}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 3 s 0 -72}
# And so on...
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 1 se,sw 54 -104}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 2 se,sw 54 -104}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 3 se,sw 54 -104}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 1 ne,nw 54 -176}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 2 ne,nw 54 -176}
{TUTORIAL_ELDER_MAGE_LIGHTNING_BOLTS 3 ne,nw 54 -176}
[/attack]
[/unit]

View file

@ -1,78 +1,78 @@
#textdomain wesnoth-tutorial
[unit]
id=Fighter
name= _ "Fighter"
race=human
image="konrad-fighter.png"
ellipse="misc/ellipse"
profile=portraits/konrad.png
hitpoints=32
movement_type=smallfoot
movement=6
experience=28
level=1
alignment=lawful
cost=18
usage=mixed fighter
unit_description= _ "Young and brash, Fighters fight with a sword, and are vulnerable to attack from enemies. However they have the potential to become great warriors one day."
get_hit_sound=
die_sound={SOUND_LIST:HUMAN_DIE}
{DEFENSE_ANIM "konrad-fighter-defend.png" "konrad-fighter.png" {SOUND_LIST:HUMAN_HIT} }
[attack]
name=sword
description= _"sword"
icon=attacks/sword-human.png
type=blade
range=melee
damage=6
number=3
[animation]
hits=yes
[frame]
begin=-200
end=-150
image="konrad-fighter.png"
[/frame]
[frame]
begin=-150
end=50
image="konrad-fighter-attack-1.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[frame]
begin=50
end=150
image="konrad-fighter-attack-2.png"
[/frame]
[frame]
begin=150
end=200
image="konrad-fighter.png"
[/frame]
[/animation]
[animation]
hits=no
[frame]
begin=-200
end=-150
image="konrad-fighter.png"
[/frame]
[frame]
begin=-150
end=50
image="konrad-fighter-attack-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=50
end=150
image="konrad-fighter-attack-2.png"
[/frame]
[frame]
begin=150
end=200
image="konrad-fighter.png"
[/frame]
[/animation]
[/attack]
id=Fighter
name= _ "Fighter"
race=human
image="konrad-fighter.png"
ellipse="misc/ellipse"
profile=portraits/konrad.png
hitpoints=32
movement_type=smallfoot
movement=6
experience=28
level=1
alignment=lawful
cost=18
usage=mixed fighter
unit_description= _ "Young and brash, Fighters fight with a sword, and are vulnerable to attack from enemies. However they have the potential to become great warriors one day."
get_hit_sound=
die_sound={SOUND_LIST:HUMAN_DIE}
{DEFENSE_ANIM "konrad-fighter-defend.png" "konrad-fighter.png" {SOUND_LIST:HUMAN_HIT} }
[attack]
name=sword
description= _"sword"
icon=attacks/sword-human.png
type=blade
range=melee
damage=6
number=3
[animation]
hits=yes
[frame]
begin=-200
end=-150
image="konrad-fighter.png"
[/frame]
[frame]
begin=-150
end=50
image="konrad-fighter-attack-1.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[frame]
begin=50
end=150
image="konrad-fighter-attack-2.png"
[/frame]
[frame]
begin=150
end=200
image="konrad-fighter.png"
[/frame]
[/animation]
[animation]
hits=no
[frame]
begin=-200
end=-150
image="konrad-fighter.png"
[/frame]
[frame]
begin=-150
end=50
image="konrad-fighter-attack-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=50
end=150
image="konrad-fighter-attack-2.png"
[/frame]
[frame]
begin=150
end=200
image="konrad-fighter.png"
[/frame]
[/animation]
[/attack]
[/unit]

View file

@ -1,68 +1,68 @@
#textdomain wesnoth-tutorial
[unit]
id=Fighteress
name= _ "female^Fighter"
gender=female
race=human
image="human-princess.png"
{DEFENSE_ANIM "human-princess-defend.png" "human-princess.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
profile=portraits/lisar.png
hitpoints=32
movement_type=smallfoot
movement=6
level=1
alignment=lawful
cost=18
usage=mixed fighter
unit_description= _ "Young and brash, Fighters fight with a sword, and are vulnerable to attack from enemies. However they have the potential to become great warriors one day."
die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
[attack]
name=sabre
description= _"sabre"
icon=attacks/sabre-human.png
type=blade
range=melee
damage=6
number=3
[animation]
[frame]
begin=-225
end=-175
image="human-princess-attack-1.png"
[/frame]
[frame]
begin=-175
end=-125
image="human-princess-attack-2.png"
[/frame]
[if]
hits=yes
[frame]
begin=-125
end=0
image="human-princess-attack-3.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-125
end=0
image="human-princess-attack-3.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=0
end=150
image="human-princess-attack-4.png"
[/frame]
[frame]
begin=150
end=175
image="human-princess.png"
[/frame]
[/animation]
[/attack]
id=Fighteress
name= _ "female^Fighter"
gender=female
race=human
image="human-princess.png"
{DEFENSE_ANIM "human-princess-defend.png" "human-princess.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
profile=portraits/lisar.png
hitpoints=32
movement_type=smallfoot
movement=6
level=1
alignment=lawful
cost=18
usage=mixed fighter
unit_description= _ "Young and brash, Fighters fight with a sword, and are vulnerable to attack from enemies. However they have the potential to become great warriors one day."
die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
[attack]
name=sabre
description= _"sabre"
icon=attacks/sabre-human.png
type=blade
range=melee
damage=6
number=3
[animation]
[frame]
begin=-225
end=-175
image="human-princess-attack-1.png"
[/frame]
[frame]
begin=-175
end=-125
image="human-princess-attack-2.png"
[/frame]
[if]
hits=yes
[frame]
begin=-125
end=0
image="human-princess-attack-3.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-125
end=0
image="human-princess-attack-3.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=0
end=150
image="human-princess-attack-4.png"
[/frame]
[frame]
begin=150
end=175
image="human-princess.png"
[/frame]
[/animation]
[/attack]
[/unit]

View file

@ -1,81 +1,81 @@
#textdomain wesnoth-tutorial
[unit]
id=Quintain
name= _ "Quintain"
race=wose
image="units/quintain.png"
movement=1
hitpoints=57
level=1
cost=10
usage=mixed fighter
movement_type=treefolk
alignment=neutral
unit_description= _ "Quintains are used to practice swordplay and jousting on. It would be extremely unusual to be attacked by one."
[resistance]
blade=100
pierce=100
[/resistance]
get_hit_sound=staff.wav
[attack]
name=flail
description= _"flail"
# closest image available
icon=attacks/morning-star.png
type=impact
range=melee
[specials]
{WEAPON_SPECIAL_MAGICAL}
[/specials]
damage=3
number=5
[animation]
hits=no
[frame]
begin=-200
end=-100
image=units/quintain.png
[/frame]
[frame]
begin=-100
end=50
image=units/quintain-attack1.png
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=50
end=125
image=units/quintain-attack2.png
[/frame]
[frame]
begin=125
end=200
image=units/quintain.png
[/frame]
[/animation]
[animation]
hits=yes
[frame]
begin=-200
end=-100
image=units/quintain.png
[/frame]
[frame]
begin=-100
end=50
image=units/quintain-attack1.png
sound=mace.wav
[/frame]
[frame]
begin=50
end=125
image=units/quintain-attack2.png
[/frame]
[frame]
begin=125
end=200
image=units/quintain.png
[/frame]
[/animation]
[/attack]
id=Quintain
name= _ "Quintain"
race=wose
image="units/quintain.png"
movement=1
hitpoints=57
level=1
cost=10
usage=mixed fighter
movement_type=treefolk
alignment=neutral
unit_description= _ "Quintains are used to practice swordplay and jousting on. It would be extremely unusual to be attacked by one."
[resistance]
blade=100
pierce=100
[/resistance]
get_hit_sound=staff.wav
[attack]
name=flail
description= _"flail"
# closest image available
icon=attacks/morning-star.png
type=impact
range=melee
[specials]
{WEAPON_SPECIAL_MAGICAL}
[/specials]
damage=3
number=5
[animation]
hits=no
[frame]
begin=-200
end=-100
image=units/quintain.png
[/frame]
[frame]
begin=-100
end=50
image=units/quintain-attack1.png
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=50
end=125
image=units/quintain-attack2.png
[/frame]
[frame]
begin=125
end=200
image=units/quintain.png
[/frame]
[/animation]
[animation]
hits=yes
[frame]
begin=-200
end=-100
image=units/quintain.png
[/frame]
[frame]
begin=-100
end=50
image=units/quintain-attack1.png
sound=mace.wav
[/frame]
[frame]
begin=50
end=125
image=units/quintain-attack2.png
[/frame]
[frame]
begin=125
end=200
image=units/quintain.png
[/frame]
[/animation]
[/attack]
[/unit]