Reindent some WML for readability.

This commit is contained in:
Eric S. Raymond 2008-04-30 07:48:36 +00:00
parent 956d928659
commit 15653127ea
5 changed files with 510 additions and 511 deletions

View file

@ -146,7 +146,7 @@
[if]
[variable]
name=anita_hostile
equals=yes
equals=yes
[/variable]
# Anita is dead
[else]
@ -311,7 +311,7 @@
gold=200
[/side]
# Opposing AIs, pretty developed [ai] tag causes them to act stupid,
# Opposing AIs, pretty developed [ai] tag causes them to act stupid,
# aggressive, ignore villages, and target Tallin
[side]
type=Troll Warrior
@ -1276,10 +1276,10 @@
# Flip Krash back to side 1 and make him unable to recruit.
# Otherwise he'll mess up the start conditions for the next
# scenario.
{MODIFY_UNIT id=Krash canrecruit,side no,1}
# scenario.
{MODIFY_UNIT id=Krash canrecruit,side no,1}
[/event]
# Load death events
{campaigns/Northern_Rebirth/utils/herodeaths.cfg}
{campaigns/Northern_Rebirth/utils/herodeaths.cfg}
[/scenario]

View file

@ -108,7 +108,7 @@
team_name=knalgans
user_team_name=_"Alliance"
controller=human
no_leader=yes
no_leader=yes
[/side]
# Check if Krash is on recall list and if yes replace side 7 leader with him
[event]
@ -122,28 +122,28 @@
id=Krash
[/have_unit]
[then]
[store_unit]
[filter]
id=Krash
[/filter]
kill=yes
fire_event=no
variable=placing_krash
[/store_unit]
[store_starting_location]
side=7
variable=placing_krash_on
[/store_starting_location]
{VARIABLE placing_krash.x $placing_krash_on.x}
{VARIABLE placing_krash.y $placing_krash_on.y}
{VARIABLE placing_krash.side 7}
[unstore_unit]
variable=placing_krash
[/unstore_unit]
{CLEAR_VARIABLE placing_krash}
{CLEAR_VARIABLE placing_krash_on}
[/then]
[else]
[store_unit]
[filter]
id=Krash
[/filter]
kill=yes
fire_event=no
variable=placing_krash
[/store_unit]
[store_starting_location]
side=7
variable=placing_krash_on
[/store_starting_location]
{VARIABLE placing_krash.x $placing_krash_on.x}
{VARIABLE placing_krash.y $placing_krash_on.y}
{VARIABLE placing_krash.side 7}
[unstore_unit]
variable=placing_krash
[/unstore_unit]
{CLEAR_VARIABLE placing_krash}
{CLEAR_VARIABLE placing_krash_on}
[/then]
[else]
[terrain]
x=29,29,30,30,30,31,31,31,32,32
y=6,7,5,6,7,6,7,8,6,7
@ -491,18 +491,18 @@
next_scenario=showdown
[/else]
[/if]
[store_unit]
[filter]
id=Krash
[/filter]
kill=no
variable=krash_hack
[/store_unit]
{VARIABLE krash_hack.side 1}
[unstore_unit]
variable=krash_hack
[/unstore_unit]
{CLEAR_VARIABLE krash_hack}
[store_unit]
[filter]
id=Krash
[/filter]
kill=no
variable=krash_hack
[/store_unit]
{VARIABLE krash_hack.side 1}
[unstore_unit]
variable=krash_hack
[/unstore_unit]
{CLEAR_VARIABLE krash_hack}
[/event]
# Load death events
{campaigns/Northern_Rebirth/utils/herodeaths.cfg}

View file

@ -183,7 +183,7 @@
side=8
no_leader=yes
[/side]
# Empty side - player will asume control of it if Anita is alive
# Empty side - player will asume control of it if Anita is alive
[side]
side=9
{GOLD4 500 400 350 300}
@ -257,10 +257,10 @@
kill=yes
fire_event=no
[/store_unit]
{VARIABLE place_anita_at.side 9}
{VARIABLE place_anita_at.x $anita_starts_at.x}
{VARIABLE place_anita_at.y $anita_starts_at.y}
{VARIABLE place_anita_at.canrecruit yes}
{VARIABLE place_anita_at.side 9}
{VARIABLE place_anita_at.x $anita_starts_at.x}
{VARIABLE place_anita_at.y $anita_starts_at.y}
{VARIABLE place_anita_at.canrecruit yes}
[unstore_unit]
variable=place_anita_at
[/unstore_unit]
@ -549,49 +549,49 @@
id=Tallin
message= _ "Thanks to Hidel and the elves, we have recovered our gold. Now let's run down Rakshas and settle up with him once and for all."
[/message]
[if]
[have_unit]
id=Sisal
[/have_unit]
[then]
[store_unit]
[filter]
id=Sisal
[/filter]
variable=recall_sisal
[/store_unit]
{VARIABLE recall_sisal.side 9}
{VARIABLE recall_sisal.canrecruit no}
[unstore_unit]
variable=recall_sisal
[/unstore_unit]
{CLEAR_VARIABLE reall_sisal}
[/then]
[/if]
[store_unit]
[filter]
id=Krash
[/filter]
kill=no
variable=krash_hack
[/store_unit]
{VARIABLE krash_hack.side 1}
[unstore_unit]
variable=krash_hack
[/unstore_unit]
{CLEAR_VARIABLE krash_hack}
[store_unit]
[filter]
id=Anita
[/filter]
kill=no
variable=anita_hack
[/store_unit]
{VARIABLE anita_hack.side 1}
[unstore_unit]
variable=anita_hack
[/unstore_unit]
{CLEAR_VARIABLE anita_hack}
[if]
[have_unit]
id=Sisal
[/have_unit]
[then]
[store_unit]
[filter]
id=Sisal
[/filter]
variable=recall_sisal
[/store_unit]
{VARIABLE recall_sisal.side 9}
{VARIABLE recall_sisal.canrecruit no}
[unstore_unit]
variable=recall_sisal
[/unstore_unit]
{CLEAR_VARIABLE reall_sisal}
[/then]
[/if]
[store_unit]
[filter]
id=Krash
[/filter]
kill=no
variable=krash_hack
[/store_unit]
{VARIABLE krash_hack.side 1}
[unstore_unit]
variable=krash_hack
[/unstore_unit]
{CLEAR_VARIABLE krash_hack}
[store_unit]
[filter]
id=Anita
[/filter]
kill=no
variable=anita_hack
[/store_unit]
{VARIABLE anita_hack.side 1}
[unstore_unit]
variable=anita_hack
[/unstore_unit]
{CLEAR_VARIABLE anita_hack}
[/event]
# Load death events
{campaigns/Northern_Rebirth/utils/herodeaths.cfg}

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
#textdomain wesnoth-nr
[scenario]
# Basic scenario data, time scheudle. This is an epilogue scenario concluding campaign, thus no next_scenario and turnlimit
# Basic scenario data, time scheudle. This is an epilogue scenario concluding campaign, thus no next_scenario and turnlimit
id=epilogue
name= _ "Epilogue"
map_data="{campaigns/Northern_Rebirth/maps/epilogue.map}"
@ -8,13 +8,13 @@
next_scenario=null
music=elf-land.ogg
turns=-1
# Short story
# Short story
[story]
[part]
story= _ "The dead and wounded being cared for, and after the party had wound down, everyone gathered in the conquered castle to decide on their course of action."
[/part]
[/story]
# Players side
# Players side
[side]
type=Lieutenant
id=Tallin
@ -27,20 +27,19 @@
user_team_name=_"Alliance"
[/side]
[event]
name=start
{SCATTER_IMAGE (terrain=Gg,Gs^Fp) 12 scenery/oak-leaning.png}
# Recall heroes and there they go.
[role]
[filter_wml]
[variables]
role=Supporter
[/variables]
[/filter_wml]
role=Supporter
[/role]
# Recall heroes and there they go.
[role]
[filter_wml]
[variables]
role=Supporter
[/variables]
[/filter_wml]
role=Supporter
[/role]
[recall]
role=Supporter
[/recall]
@ -74,9 +73,9 @@
[recall]
id="Ro'Arthian"
[/recall]
[recall]
id=Hamel
[/recall]
[recall]
id=Hamel
[/recall]
[message]
id=Tallin
message= _ "So, Rakshas has been defeated and all the armies that he had gathered have been crushed. This relieves a blight on our land - but if we do not address the causes of the blight, we could be in for trouble later."