mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-14 01:19:20 +00:00
Fix some indentation and make CI abort if wmlindent errors
Indentation was fixed by adding a newline to constructs with excessive density and running wmlindent again. While the constructs were not particularly readable it wouldn't hurt if wmlindent would cope a bit better.
This commit is contained in:
parent
cbe333583e
commit
49564ed86c
2
.github/workflows/ci-main.yml
vendored
2
.github/workflows/ci-main.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
|||
./utils/CI/utf8_bom_dog.sh
|
||||
- name: Whitespace and WML indentation check
|
||||
if: success() || failure()
|
||||
run: ./utils/CI/fix_whitespace.sh; git status; git diff --exit-code
|
||||
run: ./utils/CI/fix_whitespace.sh && git status && git diff --exit-code
|
||||
- name: WML missing images check
|
||||
if: success() || failure()
|
||||
run: utils/CI/check_wml_images.sh
|
||||
|
|
|
@ -209,17 +209,18 @@
|
|||
alpha={ALPHA}
|
||||
[/frame]
|
||||
[/standing_anim])}
|
||||
{EFFECT new_animation ([death]
|
||||
base_score=99
|
||||
[frame]
|
||||
duration,image_mod=500,"~CS(127,0,127)~BL([15,10,20,30,40,50,60,70])"
|
||||
blend_ratio,blend_color=0~1,255,255,255
|
||||
alpha=1,1~0
|
||||
[/frame]
|
||||
[/death] )}
|
||||
[/object]
|
||||
[/modify_unit]
|
||||
{DELAY 150}
|
||||
{EFFECT new_animation (
|
||||
[death]
|
||||
base_score=99
|
||||
[frame]
|
||||
duration,image_mod=500,"~CS(127,0,127)~BL([15,10,20,30,40,50,60,70])"
|
||||
blend_ratio,blend_color=0~1,255,255,255
|
||||
alpha=1,1~0
|
||||
[/frame]
|
||||
[/death] )}
|
||||
[/object]
|
||||
[/modify_unit]
|
||||
{DELAY 150}
|
||||
#enddef
|
||||
{REMOVE_IMAGE 28 12} {PLACE_IMAGE "scenery/rune4.png~CS(-50,100,-50)~O(0.5)" 28 12}
|
||||
{ELF (Elvish Captain ) "captain.png" "elves/captain.webp" 26 12 Ithelden _"Ithelden" se male 6000 "1~0.6:2250,0.6:500,0.6~1:2250,1:1000"}
|
||||
|
|
|
@ -1056,117 +1056,118 @@ Believe the truths you have seen, not the lies you have heard. No fake niceties
|
|||
#############################
|
||||
[event]
|
||||
name=victory
|
||||
[if] {NOT({HAVE_UNIT({FILTER_SIDE(
|
||||
[enemy_of]
|
||||
side=1
|
||||
[/enemy_of]
|
||||
)})})}
|
||||
[then]
|
||||
{ACHIEVE s04}
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
[if]
|
||||
{NOT({HAVE_UNIT({FILTER_SIDE(
|
||||
[enemy_of]
|
||||
side=1
|
||||
[/enemy_of]
|
||||
)})})}
|
||||
[then]
|
||||
{ACHIEVE s04}
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
#############################
|
||||
# TIME LOW
|
||||
#############################
|
||||
[event]
|
||||
name=turn {TURN_WARNING}
|
||||
[if] {VARIABLE_CONDITIONAL s04_phase equals elf_alliance}
|
||||
[then]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Do not delay, Deoran! If we do not finish off this vermin Afalas soon, he shall surely make his escape!"
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[if] {VARIABLE_CONDITIONAL s04_phase equals bandit_alliance}
|
||||
[then]
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message= _ "Better hurry, Deoran. Whatever Mebrin’s plans are, he gets closer to finishin’ them every day. We’ve got to finish him off soon!"
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[message]
|
||||
speaker,image=narrator,wesnoth-icon.png
|
||||
{TUTOR: _"You are running out of turns to complete this scenario! See your objectives by pressing Ctrl+J, and remember that the turn limit can be seen in the top-left-hand corner."}
|
||||
[/message]
|
||||
[/event]
|
||||
[event]
|
||||
name=time over
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "We have moved so slowly! If the last Urza brother was ever here, he has surely fled by now, and we still have no answers..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker,image=narrator,wesnoth-icon.png
|
||||
{TUTOR: _"You have run out of turns to complete the scenario, and have been defeated!"}
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
#############################
|
||||
# TIME LOW
|
||||
#############################
|
||||
[event]
|
||||
name=turn {TURN_WARNING}
|
||||
[if] {VARIABLE_CONDITIONAL s04_phase equals elf_alliance}
|
||||
[then]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Do not delay, Deoran! If we do not finish off this vermin Afalas soon, he shall surely make his escape!"
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[if] {VARIABLE_CONDITIONAL s04_phase equals bandit_alliance}
|
||||
[then]
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message= _ "Better hurry, Deoran. Whatever Mebrin’s plans are, he gets closer to finishin’ them every day. We’ve got to finish him off soon!"
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[message]
|
||||
speaker,image=narrator,wesnoth-icon.png
|
||||
{TUTOR: _"You are running out of turns to complete this scenario! See your objectives by pressing Ctrl+J, and remember that the turn limit can be seen in the top-left-hand corner."}
|
||||
[/message]
|
||||
[/event]
|
||||
[event]
|
||||
name=time over
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "We have moved so slowly! If the last Urza brother was ever here, he has surely fled by now, and we still have no answers..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker,image=narrator,wesnoth-icon.png
|
||||
{TUTOR: _"You have run out of turns to complete the scenario, and have been defeated!"}
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
#############################
|
||||
# TIME OVER
|
||||
#############################
|
||||
[event]
|
||||
name=side 1 turn {TURN_LIMIT} end
|
||||
[if] {VARIABLE_CONDITIONAL s04_phase equals elf_alliance}
|
||||
[then]
|
||||
{REVEAL x,y,radius=21,7,2}
|
||||
{REVEAL x,y,radius=22,5,2}
|
||||
{GENERIC_UNIT 2 Boat 24 4}
|
||||
{SOUND ambient/ship.ogg}
|
||||
{MOVE_UNIT type=Boat 20 7}
|
||||
[message]
|
||||
type,caption,image=boat,_"Sailor",portaits/humans/ruffian.webp
|
||||
message= _ "Hey, boss, it’s me. Anyone still alive out here?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message= _ "Finally, what took ye so long! C’mon, let’s get us all out o’ here afore that crazy elf lady kills any more o’ us!"
|
||||
[/message]
|
||||
{MOVE_UNIT id=Afalas 21 8}
|
||||
{KILL id=Afalas}
|
||||
{MOVE_UNIT type=Boat 35 1}
|
||||
{KILL side=2}
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Urza Afalas has fled up the river! If he ever held Mebrin prisoner, the gentle sage is now far beyond our reach..."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
#############################
|
||||
# TIME OVER
|
||||
#############################
|
||||
[event]
|
||||
name=side 1 turn {TURN_LIMIT} end
|
||||
[if] {VARIABLE_CONDITIONAL s04_phase equals elf_alliance}
|
||||
[then]
|
||||
{REVEAL x,y,radius=21,7,2}
|
||||
{REVEAL x,y,radius=22,5,2}
|
||||
{GENERIC_UNIT 2 Boat 24 4}
|
||||
{SOUND ambient/ship.ogg}
|
||||
{MOVE_UNIT type=Boat 20 7}
|
||||
[message]
|
||||
type,caption,image=boat,_"Sailor",portaits/humans/ruffian.webp
|
||||
message= _ "Hey, boss, it’s me. Anyone still alive out here?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message= _ "Finally, what took ye so long! C’mon, let’s get us all out o’ here afore that crazy elf lady kills any more o’ us!"
|
||||
[/message]
|
||||
{MOVE_UNIT id=Afalas 21 8}
|
||||
{KILL id=Afalas}
|
||||
{MOVE_UNIT type=Boat 35 1}
|
||||
{KILL side=2}
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Urza Afalas has fled up the river! If he ever held Mebrin prisoner, the gentle sage is now far beyond our reach..."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
[if] {VARIABLE_CONDITIONAL s04_phase equals bandit_alliance}
|
||||
[then]
|
||||
{GENERIC_UNIT 6 "Vampire Bat" 30 13} {ROLE messenger}
|
||||
{REVEAL x,y,radius=32,19,4}
|
||||
{MOVE_UNIT role=messenger 33 19}
|
||||
[message]
|
||||
role=messenger
|
||||
message= _ "Neep, neep!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Mebrin
|
||||
message= _ "Ah ha, ha ha ha ha. You have tarried too long, mayflies! My messenger brings news — your beloved town of Westin has been destroyed!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "What? How is this possible! With the undead armies fighting us here, how could Westin have already fallen?"
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[if] {VARIABLE_CONDITIONAL s04_phase equals bandit_alliance}
|
||||
[then]
|
||||
{GENERIC_UNIT 6 "Vampire Bat" 30 13} {ROLE messenger}
|
||||
{REVEAL x,y,radius=32,19,4}
|
||||
{MOVE_UNIT role=messenger 33 19}
|
||||
[message]
|
||||
role=messenger
|
||||
message= _ "Neep, neep!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Mebrin
|
||||
message= _ "Ah ha, ha ha ha ha. You have tarried too long, mayflies! My messenger brings news — your beloved town of Westin has been destroyed!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "What? How is this possible! With the undead armies fighting us here, how could Westin have already fallen?"
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
[message]
|
||||
speaker,image=narrator,wesnoth-icon.png
|
||||
{TUTOR: _"You have run out of turns to complete the scenario, and have been defeated!"}
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[message]
|
||||
speaker,image=narrator,wesnoth-icon.png
|
||||
{TUTOR: _"You have run out of turns to complete the scenario, and have been defeated!"}
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
||||
#undef TURN_LIMIT
|
||||
|
|
|
@ -909,228 +909,229 @@ then survive until turns run out"
|
|||
# AFALAS ARRIVES
|
||||
#############################
|
||||
{SCROLL_TO 1 12} {DELAY 250}
|
||||
{NAMED_UNIT 6 (Elvish Champion) 1 12 Galdrad _"Galdrad" (canrecruit,facing,animate=yes,ne,yes
|
||||
[modifications]
|
||||
{TRAIT_RESILIENT}
|
||||
{TRAIT_STRONG}
|
||||
[/modifications]
|
||||
)}
|
||||
{MOVE_UNIT id=Galdrad 2 11}
|
||||
{MODIFY_UNIT id=Ethiliel facing sw}
|
||||
{DELAY 250}
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message = _"Ethiliel! What in Irdya is going on here?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker,image=Ethiliel,portraits/ethiliel-mad.webp
|
||||
message = _"These snakes have captured Mebrin, and committed who knows what horrible atrocities against him! Galdrad, we must take him back!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message = _"Kidnapped Mebrin? I have heard otherwise. Ethiliel, this is Urza Afalas of the humans."
|
||||
[/message]
|
||||
[unstore_unit]
|
||||
variable=stored_afalas
|
||||
x,y,animate=1,12,yes
|
||||
[/unstore_unit]
|
||||
{MODIFY_UNIT id=Afalas facing ne}
|
||||
{MOVE_UNIT id=Afalas 1 11}
|
||||
{DELAY 500}
|
||||
{MOVE_UNIT id=Ethiliel 2 10}
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"We’ve met. This absolute scum, pig of a mudling—"
|
||||
[/message]
|
||||
[harm_unit]
|
||||
{FILTER id=Ethiliel}
|
||||
{FILTER_SECOND id=Afalas}
|
||||
[primary_attack]
|
||||
name=ensnare
|
||||
[/primary_attack]
|
||||
amount,damage_type=6,impact
|
||||
animate,delay=yes,0
|
||||
[/harm_unit]
|
||||
{MODIFY_UNIT id=Afalas status.slowed yes}
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message = _"Hey! Hands off, lady! I try to make things right, come back t’ try an’ explain, an’ this be what I get? Trussed up in vines an’ called names by some—"
|
||||
[/message]
|
||||
{NAMED_UNIT 6 (Elvish Champion) 1 12 Galdrad _"Galdrad" (
|
||||
canrecruit,facing,animate=yes,ne,yes
|
||||
[modifications]
|
||||
{TRAIT_RESILIENT}
|
||||
{TRAIT_STRONG}
|
||||
[/modifications]
|
||||
)}
|
||||
{MOVE_UNIT id=Galdrad 2 11}
|
||||
{MODIFY_UNIT id=Ethiliel facing sw}
|
||||
{DELAY 250}
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message = _"Ethiliel! What in Irdya is going on here?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker,image=Ethiliel,portraits/ethiliel-mad.webp
|
||||
message = _"These snakes have captured Mebrin, and committed who knows what horrible atrocities against him! Galdrad, we must take him back!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message = _"Kidnapped Mebrin? I have heard otherwise. Ethiliel, this is Urza Afalas of the humans."
|
||||
[/message]
|
||||
[unstore_unit]
|
||||
variable=stored_afalas
|
||||
x,y,animate=1,12,yes
|
||||
[/unstore_unit]
|
||||
{MODIFY_UNIT id=Afalas facing ne}
|
||||
{MOVE_UNIT id=Afalas 1 11}
|
||||
{DELAY 500}
|
||||
{MOVE_UNIT id=Ethiliel 2 10}
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"We’ve met. This absolute scum, pig of a mudling—"
|
||||
[/message]
|
||||
[harm_unit]
|
||||
{FILTER id=Ethiliel}
|
||||
{FILTER_SECOND id=Afalas}
|
||||
[primary_attack]
|
||||
name=ensnare
|
||||
[/primary_attack]
|
||||
amount,damage_type=6,impact
|
||||
animate,delay=yes,0
|
||||
[/harm_unit]
|
||||
{MODIFY_UNIT id=Afalas status.slowed yes}
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message = _"Hey! Hands off, lady! I try to make things right, come back t’ try an’ explain, an’ this be what I get? Trussed up in vines an’ called names by some—"
|
||||
[/message]
|
||||
|
||||
#############################
|
||||
# EXPLAINING MEBRIN
|
||||
#############################
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message = _"What Urza Afalas <i><b>means</b></i> to say, is that I can corroborate the humans’ story. Some days ago, this outlaw came to me with unlikely words."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message = _"...yeah, I did. I heard them rangers in the forest southways, knew they’d be wantin’ my head. I could’a ran an’ hid, but I wanted to make things right. I went back t’ where we fought Mebrin, then t’ the Aethenwood."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message = _"You may think us men t’ all be criminals an’ outlaws, but we’re still human bei— err, livin’ beings, and we still know justice an’ truth. My brothers an’ I did wrong. It’s my responsibility to make things right."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message = _"Afalas’ words could have seen him imprisoned, or worse, but at the height of my anger he produced the skull of a lich. The druids confirmed it — the skull was Mebrin’s."
|
||||
[/message]
|
||||
[message]
|
||||
speaker,image=Ethiliel,portraits/ethiliel-mad.webp
|
||||
message = _"The Mebrin I know is so gentle. So wise! It cannot be... can it?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"I did not want to believe the humans’ words. I could not bear to believe... But if Mebrin really did turn to undeath, then I have been the cause of so much meaningless bloodshed."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"It’s true, isn’t it..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"..."
|
||||
[/message]
|
||||
{DELAY 250}
|
||||
{MOVE_UNIT id=Ethiliel 3 10}
|
||||
{DELAY 250}
|
||||
{MODIFY_UNIT id=Ethiliel facing sw}
|
||||
#############################
|
||||
# ETHILIEL APOLOGIZES
|
||||
#############################
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"Urza Afalas, thank you. I see now that not all humans are alike, and that you, too, are capable of courage and loyalty. Vengeance only begets more vengeance. You — and your brothers, posthumously — are forgiven."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message = _"<i>You</i> forgive <i>me</i>! After all the blood—"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message = _"And Urza Afalas graciously accepts your forgiveness. Now come, Ethiliel. You have been away from your people for far too long. Our attack against the humans is over."
|
||||
[/message]
|
||||
|
||||
{VARIABLE epilogue elves}
|
||||
[endlevel]
|
||||
result=victory
|
||||
linger_mode=no
|
||||
carryover_report=no
|
||||
save=no
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
#############################
|
||||
# EXPLAINING MEBRIN
|
||||
# TIME OVER (DEORAN)
|
||||
#############################
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message = _"What Urza Afalas <i><b>means</b></i> to say, is that I can corroborate the humans’ story. Some days ago, this outlaw came to me with unlikely words."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message = _"...yeah, I did. I heard them rangers in the forest southways, knew they’d be wantin’ my head. I could’a ran an’ hid, but I wanted to make things right. I went back t’ where we fought Mebrin, then t’ the Aethenwood."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message = _"You may think us men t’ all be criminals an’ outlaws, but we’re still human bei— err, livin’ beings, and we still know justice an’ truth. My brothers an’ I did wrong. It’s my responsibility to make things right."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message = _"Afalas’ words could have seen him imprisoned, or worse, but at the height of my anger he produced the skull of a lich. The druids confirmed it — the skull was Mebrin’s."
|
||||
[/message]
|
||||
[message]
|
||||
speaker,image=Ethiliel,portraits/ethiliel-mad.webp
|
||||
message = _"The Mebrin I know is so gentle. So wise! It cannot be... can it?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"I did not want to believe the humans’ words. I could not bear to believe... But if Mebrin really did turn to undeath, then I have been the cause of so much meaningless bloodshed."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"It’s true, isn’t it..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"..."
|
||||
[/message]
|
||||
{DELAY 250}
|
||||
{MOVE_UNIT id=Ethiliel 3 10}
|
||||
{DELAY 250}
|
||||
{MODIFY_UNIT id=Ethiliel facing sw}
|
||||
#############################
|
||||
# ETHILIEL APOLOGIZES
|
||||
#############################
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"Urza Afalas, thank you. I see now that not all humans are alike, and that you, too, are capable of courage and loyalty. Vengeance only begets more vengeance. You — and your brothers, posthumously — are forgiven."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Afalas
|
||||
message = _"<i>You</i> forgive <i>me</i>! After all the blood—"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message = _"And Urza Afalas graciously accepts your forgiveness. Now come, Ethiliel. You have been away from your people for far too long. Our attack against the humans is over."
|
||||
[/message]
|
||||
[event]
|
||||
name=side 6 turn {TURN_LIMIT} end
|
||||
{FILTER_CONDITION({VARIABLE_CONDITIONAL s05c equals yes})}
|
||||
{FADE_MUSIC_OUT 800}
|
||||
{ACHIEVE s05c}
|
||||
{REPLACE_SCENARIO_MUSIC heroes_rite.ogg}
|
||||
{FADE_MUSIC_IN 100}
|
||||
#############################
|
||||
# DEORAN ARRIVES
|
||||
#############################
|
||||
{SCROLL_TO 9 22} {DELAY 500}
|
||||
[unstore_unit]
|
||||
variable=stored_deoran
|
||||
x,y,animate=9,22,yes
|
||||
[/unstore_unit]
|
||||
{MODIFY_UNIT id=Deoran side 2}
|
||||
{MODIFY_UNIT id=Deoran facing ne}
|
||||
{DELAY 500}
|
||||
[unstore_unit]
|
||||
variable=stored_companion
|
||||
x,y,animate=8,22,yes
|
||||
[/unstore_unit]
|
||||
{MODIFY_UNIT id=$companion_id facing ne}
|
||||
{MODIFY_UNIT id=$companion_id side 2}
|
||||
{DELAY 500}
|
||||
{GENERIC_UNIT 1 "Troll" 10 22} {ANIMATE}
|
||||
{DELAY 500}
|
||||
#############################
|
||||
# DEORAN CONFRONTS ETHILIEL
|
||||
#############################
|
||||
[message]
|
||||
speaker,image=Deoran,portraits/deoran-mad.webp
|
||||
message= _ "Ethiliel! What’s going on here? What have you done?!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Deoran — good, you’re finally here. I knew that under enough pressure, Westin would eventually cave and summon you back. Does this mean you humans have reconsidered your decisions, and have finally freed Mebrin from his bonds?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "No-one summoned me here, Ethiliel. Afalas was right. I saw the lich Mal M’Brin with my own two eyes, heard his ravings with my own two ears! I watched him raise the dead up out of the ground!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker,image=Ethiliel,portraits/ethiliel-mad.webp
|
||||
message= _ "More lies, infuriating lies! Where is his corpse, mayfly? Where is the evidence for the horrible things of which you accuse? No elf would fall to undeath, much less our wisest teacher."
|
||||
[/message]
|
||||
{MOVE_UNIT id=Deoran 6 10}
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "No elf could fall to undeath? What is this, then? I show you the skull of a lich, unmistakably elven, and unmistakably undead!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "My men and I chased Mal M’Brin down into the depths of the earth, pushing ourselves nearly to exhaustion. When at last the lich was on the brink of defeat, with his last gasp of foul magic he collapsed his cave on us."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Many perished, including Mebrin himself. But after days of hard labor by both man and troll, we dug ourselves free and set out for Westin, bringing the skull of our vanquished foe. You recognize its elven features, Ethiliel, do you not?"
|
||||
[/message]
|
||||
|
||||
{VARIABLE epilogue elves}
|
||||
[endlevel]
|
||||
result=victory
|
||||
linger_mode=no
|
||||
carryover_report=no
|
||||
save=no
|
||||
[/endlevel]
|
||||
[/event]
|
||||
#############################
|
||||
# ETHILIEL BELIEVES DEORAN
|
||||
#############################
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"The Mebrin I know is so gentle. So wise! It cannot be... can it?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "You believe, but you do not want to believe. Please, Ethiliel — enough blood has been shed today."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"Mebrin... oh Mebrin... a lich!? But if Mebrin really did turn to undeath, then I have been the cause of so much meaningless bloodshed."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"It’s true, isn’t it..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"..."
|
||||
[/message]
|
||||
{DELAY 250}
|
||||
{MOVE_UNIT id=Ethiliel 3 10}
|
||||
{DELAY 250}
|
||||
{MODIFY_UNIT id=Ethiliel facing sw}
|
||||
#############################
|
||||
# ETHILIEL APOLOGIZES
|
||||
#############################
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"Deoran, thank you. I see now that not all humans are alike, and that you, too, are capable of courage and loyalty."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"Vengeance only begets more vengeance. Our attack against Westin is over."
|
||||
[/message]
|
||||
|
||||
#############################
|
||||
# TIME OVER (DEORAN)
|
||||
#############################
|
||||
[event]
|
||||
name=side 6 turn {TURN_LIMIT} end
|
||||
{FILTER_CONDITION({VARIABLE_CONDITIONAL s05c equals yes})}
|
||||
{FADE_MUSIC_OUT 800}
|
||||
{ACHIEVE s05c}
|
||||
{REPLACE_SCENARIO_MUSIC heroes_rite.ogg}
|
||||
{FADE_MUSIC_IN 100}
|
||||
#############################
|
||||
# DEORAN ARRIVES
|
||||
#############################
|
||||
{SCROLL_TO 9 22} {DELAY 500}
|
||||
[unstore_unit]
|
||||
variable=stored_deoran
|
||||
x,y,animate=9,22,yes
|
||||
[/unstore_unit]
|
||||
{MODIFY_UNIT id=Deoran side 2}
|
||||
{MODIFY_UNIT id=Deoran facing ne}
|
||||
{DELAY 500}
|
||||
[unstore_unit]
|
||||
variable=stored_companion
|
||||
x,y,animate=8,22,yes
|
||||
[/unstore_unit]
|
||||
{MODIFY_UNIT id=$companion_id facing ne}
|
||||
{MODIFY_UNIT id=$companion_id side 2}
|
||||
{DELAY 500}
|
||||
{GENERIC_UNIT 1 "Troll" 10 22} {ANIMATE}
|
||||
{DELAY 500}
|
||||
#############################
|
||||
# DEORAN CONFRONTS ETHILIEL
|
||||
#############################
|
||||
[message]
|
||||
speaker,image=Deoran,portraits/deoran-mad.webp
|
||||
message= _ "Ethiliel! What’s going on here? What have you done?!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Deoran — good, you’re finally here. I knew that under enough pressure, Westin would eventually cave and summon you back. Does this mean you humans have reconsidered your decisions, and have finally freed Mebrin from his bonds?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "No-one summoned me here, Ethiliel. Afalas was right. I saw the lich Mal M’Brin with my own two eyes, heard his ravings with my own two ears! I watched him raise the dead up out of the ground!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker,image=Ethiliel,portraits/ethiliel-mad.webp
|
||||
message= _ "More lies, infuriating lies! Where is his corpse, mayfly? Where is the evidence for the horrible things of which you accuse? No elf would fall to undeath, much less our wisest teacher."
|
||||
[/message]
|
||||
{MOVE_UNIT id=Deoran 6 10}
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "No elf could fall to undeath? What is this, then? I show you the skull of a lich, unmistakably elven, and unmistakably undead!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "My men and I chased Mal M’Brin down into the depths of the earth, pushing ourselves nearly to exhaustion. When at last the lich was on the brink of defeat, with his last gasp of foul magic he collapsed his cave on us."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Many perished, including Mebrin himself. But after days of hard labor by both man and troll, we dug ourselves free and set out for Westin, bringing the skull of our vanquished foe. You recognize its elven features, Ethiliel, do you not?"
|
||||
[/message]
|
||||
|
||||
#############################
|
||||
# ETHILIEL BELIEVES DEORAN
|
||||
#############################
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"The Mebrin I know is so gentle. So wise! It cannot be... can it?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "You believe, but you do not want to believe. Please, Ethiliel — enough blood has been shed today."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"Mebrin... oh Mebrin... a lich!? But if Mebrin really did turn to undeath, then I have been the cause of so much meaningless bloodshed."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"It’s true, isn’t it..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"..."
|
||||
[/message]
|
||||
{DELAY 250}
|
||||
{MOVE_UNIT id=Ethiliel 3 10}
|
||||
{DELAY 250}
|
||||
{MODIFY_UNIT id=Ethiliel facing sw}
|
||||
#############################
|
||||
# ETHILIEL APOLOGIZES
|
||||
#############################
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"Deoran, thank you. I see now that not all humans are alike, and that you, too, are capable of courage and loyalty."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message = _"Vengeance only begets more vengeance. Our attack against Westin is over."
|
||||
[/message]
|
||||
|
||||
{VARIABLE epilogue elves}
|
||||
[endlevel]
|
||||
result=victory
|
||||
linger_mode=no
|
||||
carryover_report=no
|
||||
save=no
|
||||
[/endlevel]
|
||||
[/event]
|
||||
{VARIABLE epilogue elves}
|
||||
[endlevel]
|
||||
result=victory
|
||||
linger_mode=no
|
||||
carryover_report=no
|
||||
save=no
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
||||
#undef TURN_LIMIT
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
make -C data/tools reindent
|
||||
|
||||
# use -i for GNU sed and -i '' otherwise
|
||||
sed --version 2>/dev/null | grep -q 'GNU sed' || i=1
|
||||
|
||||
|
@ -12,3 +10,6 @@ find src -path src/modules -prune -o \
|
|||
find data -name '*.lua' -type f \
|
||||
-exec sed -i ${i:+''} -e 's/[[:blank:]]*$//' -e '$a\' {} + \
|
||||
-exec data/tools/check_mixed_indent {} +
|
||||
|
||||
# run this last so it determines the exit status
|
||||
make -C data/tools reindent
|
||||
|
|
Loading…
Reference in New Issue
Block a user