Skip to content

Instantly share code, notes, and snippets.

@fendrin
Created August 11, 2016 00:11
Show Gist options
  • Save fendrin/75a1a83c3811319fee110ac713f0aa6d to your computer and use it in GitHub Desktop.
Save fendrin/75a1a83c3811319fee110ac713f0aa6d to your computer and use it in GitHub Desktop.
--textdomain wesnoth-aoi
-- Warning: If you are not a native and literate English speaker, do
-- not try to modify the storyline text. It is deliberately written
-- in a somewhat archaic and poetic form of English, and some previous
-- attempts to "fix" it inflicted damage that was difficult to undo.
-------------------- sowas
---------- sawos
scenario{ -- comment after tagStart
GOLD("150")
Parse Error at line 14: {MACRO_CALL}=15
Parse Error at line 15:
macro: MACRO_CALL
test: var -- comment after variable substitution
id: "01_Defend_the_Forest" -- comment after unquoted string attribute
name: _ "Defend the Forest" -- comment after tstring attribute
map_data: "{campaigns/An_Orcish_Incursion/maps/01_Defend_the_Forest.map}" -- comment after double quoted string
turns: 24 -- comment after number attribute
next_scenario: "02_Assassins"
DEFAULT_SCHEDULE -- commment after macro inclusion
SCENARIO_MUSIC("knolls.ogg") -- comment after macro with argument
EXTRA_SCENARIO_MUSIC("wanderer.ogg")
EXTRA_SCENARIO_MUSIC("sad.ogg")
EXTRA_SCENARIO_MUSIC("sad.ogg")
EXTRA_SCENARIO_MUSIC(4)
EXTRA_SCENARIO_MUSIC("4")
story: {
part: {
music_test: "elvish_theme.ogg"
music: "elvish-theme.ogg" -- comment after unquoted string attribute
AOI_BIGMAP
story: _ "The arrival of humans and orcs caused turmoil among the nations of the Great Continent. Elves, previously in uneasy balance with dwarves and others, had for centuries fought nothing more than an occasional skirmish. They were to find themselves facing conflicts of a long-forgotten intensity."
}
part: {
AOI_BIGMAP
story: _ "Their first encounter with the newcomers went less well than either side might have wished."
}
part: {
AOI_BIGMAP
story: _ "But humans, though crude and brash, at least had in them a creative spark which elves could recognize as akin to their own nature. Orcs seemed completely alien."
}
part: {
AOI_BIGMAP
story: _ "For some years after Haldric’s people landed, orcs remained scarce more than a rumor to trouble the green fastnesses of the elves. That remained so until the day that an elvish noble of ancient line, Erlornas by name, faced an enemy unlike any he had ever met before."
}
part: {
AOI_BIGMAP
--po: "northern marches" is *not* a typo for "northern marshes" here.
--po: In archaic English, "march" means "border country".
story: _ "The orcs were first sighted from the north marches of the great forest of Wesmere."
}
}
AOI_TRACK(JOURNEY_01_NEW)
-- wmllint: validate-off
side: {
side: something
controller: "human"
GOLD("150")
income: "0"
team_name: "Elves"
user_team_name: _ "Elves"
FLAG_VARIANT("wood-elvish")
-- wmllint: recognize Erlornas
CHARACTER_STATS_ERLORNAS
facing: "nw"
unit: {
side: "1"
type: "Elvish"
id: "Lomarfel"
name: _ "Lomarfel"
profile: "portraits/lomarfel.png"
Parse Error at line 83: x,y=15,18
modifications: {
TRAIT_LOYAL
TRAIT_RESILIENT
}
IS_LOYAL
facing: "ne"
}
}
-- wmllint: validate-on
side: {
side: "2"
controller: "ai"
recruit: "Orcish Archer,Orcish Grunt,Wolf Rider"
GOLD("125")
income: "0"
team_name: "Orcs"
user_team_name: _ "Orcs"
FLAG_VARIANT6("ragged")
type: "Orcish"
id: "Urugha"
name: _ "Urugha"
canrecruit: "yes"
facing: "se"
ai: {
grouping: "offensive"
attack_depth: "5"
}
}
STARTING_VILLAGES("6")
event: {
name: "prestart"
SCATTER_IMAGE("(terrain=Re)")
objectives: {
objective: {
description: _ "Defeat Urugha"
condition: "win"
}
objective: {
description: _ "Death of Erlornas"
condition: "lose"
}
TURNS_RUN_OUT
gold_carryover: {
bonus: "yes"
carryover_percentage: "40"
}
--ifdef EASY
HINT("(")
--endif
}
}
event: {
name: "start"
message: {
speaker: "Lomarfel"
message: _ "My lord! A party of aliens has made camp to the north and lays waste to the forest. Our scouts believe it’s a band of orcs."
}
message: {
speaker: "Erlornas"
message: _ "Orcs? It seems unlikely. The human king, Haldric, crushed them when they landed on these shores, and since then they’ve been no more than a bogey mothers use to scare the children."
}
message: {
speaker: "Lomarfel"
message: _ "So it seemed, my lord. Yet there is a band of them in the north cutting down healthy trees by the dozen, and making great fires from the wood. They trample the greensward into mud and do not even bury their foul dung. I believe I can smell the stench even here."
}
message: {
speaker: "Erlornas"
message: _ "So the grim tales of them prove true. They must not be allowed to continue; we must banish this blight from our forests. I shall marshal the wardens and drive them off. And the Council needs to hear of this; take the message and return with reinforcements, there might be more of them."
}
message: {
speaker: "Lomarfel"
message: _ "Yes, my lord!"
}
kill: {
id: "Lomarfel"
}
move_unit_fake: {
type: "Elvish"
x: "15,14,14,13,12,11,10"
y: "18,18,19,20,20,20,20"
}
}
event: {
name: "turn"
message: {
speaker: "Erlornas"
message: _ "Look at them. Big, slow, clumsy and hardly a bow in hand. Keep to the trees, use your arrows and the day will be ours."
}
}
event: {
name: "time"
message: {
race: "elf"
message: _ "It’s hopeless; we’ve tried everything, and they’re still coming back."
}
message: {
speaker: "Urugha"
message: _ "Forward, you worthless worms! Look at them, they’re tired and afraid! You killed their will to fight, now go and finish the job!"
}
message: {
speaker: "Erlornas"
message: _ "That cloud of dust on the horizon... flee! There’s more of the abominations heading this way! Fall back before we’re outnumbered and crushed."
}
message: {
speaker: "narrator"
image: "wesnoth-icon.png"
message: _ "Lord Erlornas didn’t drive the orcs back, although he and his warriors tried their absolute best. When another war band arrived, elvish resistance crumbled."
}
message: {
speaker: "narrator"
image: "wesnoth-icon.png"
message: _ "Of the ensuing events little is known, since much was lost in the chaos and confusion, but one thing is painfully sure. Elves lost the campaign."
}
}
event: {
name: "last"
filter: {
id: "Erlornas"
}
message: {
speaker: "Erlornas"
message: _ "Ugh..."
}
message: {
speaker: "Urugha"
message: _ "Finally! Got him!"
}
message: {
race: "elf"
not: {
id: "Erlornas"
}
message: _ "Lord!"
}
message: {
speaker: "Erlornas"
message: _ "Take... command... Drive them... away."
}
message: {
speaker: "narrator"
image: "wesnoth-icon.png"
message: _ "Lord Erlornas died the day he first fought the orcs and never saw the end of the war. Given its final outcome, this was perhaps for the best."
}
}
event: {
name: "last"
filter: {
id: "Urugha"
}
message: {
speaker: "unit"
message: _ "I’ve been bested, but the combat wasn’t fair... A thousand curses on you, withered coward! May you suffer... and when my master, Rualsha, finds you may he wipe your people from the face of this earth!"
}
}
event: {
name: "die"
filter: {
id: "Urugha"
}
message: {
speaker: "Erlornas"
message: _ "Rualsha? Hmm... What if... Assemble a war-party, we need to scout north!"
}
endlevel: {
result: "victory"
bonus: "yes"
NEW_GOLD_CARRYOVER(40)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment