Reindent mainline. Most of these changes are tab expansions.

This commit is contained in:
Eric S. Raymond 2009-12-21 20:23:34 +00:00
parent 23f6ae570f
commit 57dd65255d
41 changed files with 193 additions and 187 deletions

View file

@ -209,7 +209,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[/then]

View file

@ -318,7 +318,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
{CLEAR_VARIABLE grug}

View file

@ -203,7 +203,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=Dacyn

View file

@ -404,7 +404,7 @@
facing=sw
[modifications]
{TRAIT_LOYAL}
[/modifications]
[/modifications]
{IS_LOYAL}
[/unit]
[unit]

View file

@ -189,7 +189,7 @@ criticism, help with WML code and graphics."
[/about]
[/campaign]
[lua]
code = "wesnoth.dofile 'campaigns/Legend_of_Wesmere/lua/replace_map.lua'"
code = "wesnoth.dofile 'campaigns/Legend_of_Wesmere/lua/replace_map.lua'"
[/lua]
# wmllint: directory spellings Delfador Cleodil Kalenz Galtrid Crelanu Uraredia
# wmllint: directory spellings Landar Olurf Aldar Grubr

View file

@ -86,7 +86,7 @@ This is the story of Kalenz, and of the Elves in the days of the humans in Wesno
{TRAIT_INTELLIGENT}
# {TEAM_COLOR_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
find_vacant=yes
[/unit]
[/side]

View file

@ -930,7 +930,7 @@
{TRAIT_LOYAL}
{TEAM_COLOR_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
facing=se
[/unit]

View file

@ -189,7 +189,7 @@
{TRAIT_LOYAL}
{TEAM_COLOR_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
id=Tameril-Isimeril
@ -204,7 +204,7 @@
{TRAIT_LOYAL}
{TEAM_COLOR_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
#ifdef EASY
[unit]
@ -219,7 +219,7 @@
{TRAIT_LOYAL}
{TEAM_COLOR_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
#endif
[message]

View file

@ -7,60 +7,59 @@
#shortens the map on the left border for the later reenforcements
#define LOAD_SUBMAP X_RANGE Y_RANGE X_OFFSET Y_OFFSET
[store_unit]
[filter]
[/filter]
variable=MOVE_UNIT_store
kill=yes
[/store_unit]
[store_villages]
variable=villages
[/store_villages]
[store_unit]
[filter]
[/filter]
{FOREACH MOVE_UNIT_store unit}
{VARIABLE_OP MOVE_UNIT_store[$unit].x add {X_OFFSET}}
{VARIABLE_OP MOVE_UNIT_store[$unit].y add {Y_OFFSET}}
{VARIABLE_OP MOVE_UNIT_store[$unit].goto_x add {X_OFFSET}}
{VARIABLE_OP MOVE_UNIT_store[$unit].goto_y add {Y_OFFSET}}
{NEXT unit}
variable=MOVE_UNIT_store
kill=yes
[/store_unit]
[store_villages]
variable=villages
[/store_villages]
{FOREACH villages village}
{VARIABLE_OP villages[$village].x add {X_OFFSET}}
{VARIABLE_OP villages[$village].y add {Y_OFFSET}}
{NEXT village}
{FOREACH MOVE_UNIT_store unit}
{VARIABLE_OP MOVE_UNIT_store[$unit].x add {X_OFFSET}}
{VARIABLE_OP MOVE_UNIT_store[$unit].y add {Y_OFFSET}}
{VARIABLE_OP MOVE_UNIT_store[$unit].goto_x add {X_OFFSET}}
{VARIABLE_OP MOVE_UNIT_store[$unit].goto_y add {Y_OFFSET}}
{NEXT unit}
[replace_map]
x={X_RANGE}
y={Y_RANGE}
{LOW_MAP 14_Human_Alliance.map}
[/replace_map]
{FOREACH villages village}
{VARIABLE_OP villages[$village].x add {X_OFFSET}}
{VARIABLE_OP villages[$village].y add {Y_OFFSET}}
{NEXT village}
[replace_map]
x={X_RANGE}
y={Y_RANGE}
{LOW_MAP 14_Human_Alliance.map}
[/replace_map]
{FOREACH MOVE_UNIT_store unit}
[unstore_unit]
variable=MOVE_UNIT_store[$unit]
find_vacant=no
[/unstore_unit]
{NEXT unit}
{CLEAR_VARIABLE unit}
{CLEAR_VARIABLE MOVE_UNIT_store}
{FOREACH MOVE_UNIT_store unit}
[unstore_unit]
variable=MOVE_UNIT_store[$unit]
find_vacant=no
[/unstore_unit]
{NEXT unit}
{CLEAR_VARIABLE unit}
{CLEAR_VARIABLE MOVE_UNIT_store}
{FOREACH villages village}
[capture_village]
x=$villages[$village].x
y=$villages[$village].y
side=$villages[$village].owner_side
[/capture_village]
{NEXT village}
{FOREACH villages village}
[capture_village]
x=$villages[$village].x
y=$villages[$village].y
side=$villages[$village].owner_side
[/capture_village]
{NEXT village}
{CLEAR_VARIABLE village}
{CLEAR_VARIABLE villages}
{CLEAR_VARIABLE village}
{CLEAR_VARIABLE villages}
#enddef
[event]
name=prestart
{LOAD_SUBMAP 9-99 1-99 -8 0}
{LOAD_SUBMAP 9-99 1-99 -8 0}
[/event]
#out of turns leads to victory
@ -210,7 +209,7 @@
grouping=no
[/ai]
{INCOME 12 20 26}
# {INCOME 4 8 12}
# {INCOME 4 8 12}
[/side]
[side]
@ -243,8 +242,8 @@
grouping=no
{ATTACK_DEPTH 4 5 6}
[/ai]
{INCOME 12 20 26}
# {INCOME 4 8 12}
{INCOME 12 20 26}
# {INCOME 4 8 12}
[/side]
[side]
@ -277,7 +276,7 @@
caution=0.0
grouping=no
[/ai]
# {INCOME 4 8 12}
# {INCOME 4 8 12}
{INCOME 12 20 26}
[/side]
@ -415,7 +414,7 @@
image="portraits/goblins/transparent/rouser-2.png"
[/message]
{LOAD_SUBMAP 5-99 1-99 4 0}
{LOAD_SUBMAP 5-99 1-99 4 0}
[unit]
role=reenforce1
@ -512,7 +511,7 @@
[event]
name=side 3 turn 12
# name=side 3 turn 3
# name=side 3 turn 3
[message]
speaker=narrator
@ -521,7 +520,6 @@
image="portraits/goblins/transparent/rouser-2.png"
[/message]
{LOAD_SUBMAP 1-99 1-99 4 0}
[unit]
@ -575,7 +573,7 @@
[event]
name=turn 9
# name=turn 2
# name=turn 2
{FOREACH l3_store i}
[unstore_unit]
@ -587,13 +585,13 @@
[role]
role=l3_store
id=$l3_store[$i].id
[/role]
[/role]
{MODIFY_UNIT (id=$l3_store[$i].id) facing ne}
{NEXT i}
{NEXT i}
{CLEAR_VARIABLE i}
[if]
[not]
[not]
[variable]
name=l3_store.length
numerical_equals=0
@ -602,7 +600,7 @@
[then]
[message]
role=l3_store
#TODO ESR it's not Kalenz that is arriving but the speaker.
#TODO ESR it's not Kalenz that is arriving but the speaker.
#Something like "Kalenz is here!" or "We have found Kalenz!" fits better.
message= _ "Kalenz has arrived!"
[/message]

View file

@ -56,7 +56,7 @@
kill=yes
[filter]
side=1
# role=kalenz_loyal
# role=kalenz_loyal
[not]
id=Kalenz
[/not]
@ -156,7 +156,6 @@
{REMOVE_HERO_ICON id=Landar}
[/event]
[side]
side=4
persistent=yes
@ -195,19 +194,17 @@
[allow_recruit]
side=4
#ifdef EASY
type=Elvish Archer, Elvish Fighter
type=Elvish Archer, Elvish Fighter
#endif
#ifdef NORMAL
type=Elvish Archer, Elvish Fighter, Elvish Hero
type=Elvish Archer, Elvish Fighter, Elvish Hero
#endif
#ifdef HARD
type=Elvish Archer, Elvish Fighter, Elvish Hero, Elvish Ranger
#endif
type=Elvish Archer, Elvish Fighter, Elvish Hero, Elvish Ranger
#endif
[/allow_recruit]
[/event]
[event]
name=prestart

View file

@ -169,7 +169,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
role=Supporter
[/unit]

View file

@ -253,7 +253,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
side=1
x=1
y=1
@ -722,7 +722,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=Camerin

View file

@ -147,7 +147,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[objectives]

View file

@ -545,7 +545,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
# Some dialogue
[message]
@ -662,7 +662,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=Sister Thera
@ -758,7 +758,7 @@
{TRAIT_LOYAL}
{TRAIT_HEALTHY}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=unit
@ -913,7 +913,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
# I'm not checking for existence of Camerin since the
# dialogue still looks decent without his lines.
@ -1073,7 +1073,7 @@
{TRAIT_LOYAL}
{TRAIT_HEALTHY}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
type=Dwarvish Thunderguard
@ -1086,7 +1086,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
type=Dwarvish Fighter
@ -1099,7 +1099,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=Dulcatas
@ -2056,7 +2056,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
id=Abhai
name= _ "Abhai"
#profile=Abhai.png

View file

@ -231,7 +231,7 @@
{TRAIT_LOYAL}
{TRAIT_HEALTHY}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
type=Ancient Lich
@ -244,7 +244,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
type=Lich
@ -257,7 +257,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
{GENERIC_UNIT 3 "Orcish Warlord" 10 13}
@ -497,7 +497,7 @@
{TRAIT_LOYAL}
{TRAIT_DEXTROUS}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
id=Eryssa

View file

@ -401,7 +401,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
id=Abhai
name= _ "Abhai"
#profile=Abhai.png

View file

@ -681,7 +681,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[move_unit_fake]
type=Drake Fighter
@ -701,7 +701,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
{CLEAR_VARIABLE krash_flies_away}
[message]

View file

@ -390,7 +390,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
{CLEAR_VARIABLE respawn_point}
{CLEAR_VARIABLE type_check}
@ -676,7 +676,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
{CLEAR_VARIABLE type_check}
{CLEAR_VARIABLE respawn_point}

View file

@ -300,7 +300,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=Alanin

View file

@ -61,7 +61,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
x,y=13,11
@ -74,7 +74,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
x,y=9,13
@ -86,7 +86,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
x,y=11,14
@ -98,7 +98,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[item]

View file

@ -56,7 +56,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
x,y=13,12
@ -68,7 +68,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
x,y=9,13
@ -80,7 +80,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
x,y=11,14
@ -92,7 +92,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[item]
@ -243,7 +243,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
type=Dwarvish Runesmith
@ -255,7 +255,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=narrator

View file

@ -57,7 +57,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
x,y=10,9
@ -69,7 +69,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
x,y=8,10
@ -81,7 +81,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
x,y=10,12
@ -93,7 +93,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[item]

View file

@ -167,7 +167,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
x,y=11,1
@ -178,7 +178,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
#alanin, baglur, krawg and thursagan
[recall]

View file

@ -213,7 +213,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=Rolin # wmllint: ignore
@ -239,7 +239,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
{RANDOM "Spearman,Bowman"}
@ -253,7 +253,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[/event]
@ -277,7 +277,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=Hadlin # wmllint: ignore

View file

@ -87,7 +87,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
x,y=1,15
[/unit]

View file

@ -97,7 +97,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -110,7 +110,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[objectives]

View file

@ -169,7 +169,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
@ -423,7 +423,7 @@
{TRAIT_INTELLIGENT}
[/modifications]
x,y=7,11
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
side=1
@ -443,7 +443,7 @@
{TRAIT_QUICK}
[/modifications]
x,y=5,10
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
@ -491,7 +491,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
@ -528,7 +528,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]

View file

@ -387,7 +387,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
{VARIABLE_OP number add 1}

View file

@ -180,7 +180,7 @@
{TRAIT_LOYAL}
{TRAIT_DEXTROUS}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[/event]

View file

@ -931,7 +931,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
#endif
[/unit]
@ -1020,7 +1020,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
#endif
[/unit]
{NEXT i}

View file

@ -979,7 +979,7 @@
[modifications]
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
x=$x1
y=$y1
[/unit]
@ -1360,7 +1360,7 @@
[/effect]
[/object]
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
x=$x_coord
y=$y_coord
side=1

View file

@ -1813,7 +1813,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -1843,7 +1843,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -2570,7 +2570,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -2584,7 +2584,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -2598,7 +2598,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
#ifdef HARD
@ -2614,7 +2614,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
#endif
@ -2629,7 +2629,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[role]
@ -2673,7 +2673,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -2687,7 +2687,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -2701,7 +2701,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -2715,7 +2715,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
#ifdef HARD
@ -2732,7 +2732,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[role]

View file

@ -466,7 +466,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -481,7 +481,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
#ifdef HARD
@ -526,7 +526,7 @@
[/effect]
[/object]
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -553,7 +553,7 @@
[/effect]
[/object]
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
# reveal a bit of the escape passage to the player
@ -941,7 +941,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[remove_shroud]
@ -1847,7 +1847,7 @@
[/effect]
[/object]
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[kill]
@ -1894,9 +1894,9 @@
[/movement_costs]
[/effect]
[/object]
[/modifications]
{IS_LOYAL}
[/unit]
[/modifications]
{IS_LOYAL}
[/unit]
#endif
[/event]
@ -2021,7 +2021,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]

View file

@ -951,7 +951,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]

View file

@ -290,7 +290,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -306,7 +306,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -322,7 +322,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -338,7 +338,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -354,7 +354,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -370,7 +370,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -386,7 +386,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -402,7 +402,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -418,7 +418,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -434,7 +434,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[/event]

View file

@ -276,7 +276,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[/else]
[/if]
@ -297,7 +297,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -313,7 +313,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -329,7 +329,7 @@
{TRAIT_LOYAL}
{TRAIT_STRONG}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -345,7 +345,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -361,7 +361,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -377,7 +377,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -393,7 +393,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -409,7 +409,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -425,7 +425,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[unit]
@ -441,7 +441,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[/event]

View file

@ -6252,7 +6252,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[delay]

View file

@ -142,7 +142,7 @@
{TRAIT_STRONG}
{TRAIT_LOYAL}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
{GOLD 75 100 125}
{INCOME 5 6 7}
controller=ai
@ -1368,7 +1368,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[if]
[variable]
@ -1467,7 +1467,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[if]
[variable]
@ -1567,7 +1567,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[if]
[variable]
@ -1663,7 +1663,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[if]
[variable]
@ -1786,7 +1786,7 @@
{TRAIT_LOYAL}
{TRAIT_INTELLIGENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=We-jial
@ -2753,7 +2753,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]
speaker=Hekuba

View file

@ -666,7 +666,7 @@
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
ai_special=guardian
[/unit]
[/event]
@ -1615,7 +1615,7 @@
{TRAIT_LOYAL}
{TRAIT_QUICK}
[/modifications]
{IS_LOYAL}
{IS_LOYAL}
[/unit]
[message]

View file

@ -215,10 +215,10 @@
#enddef
#define MOVE_UNIT_BY FILTER X_OFFSET Y_OFFSET
#TODO COMMENT
#TODO COMMENT
[store_unit]
[filter]
{FILTER}
{FILTER}
[/filter]
variable=MOVE_UNIT_store
@ -232,11 +232,10 @@
variable=MOVE_UNIT_store[$unit]
find_vacant=no
[/unstore_unit]
{NEXT unit}
{NEXT unit}
{CLEAR_VARIABLE MOVE_UNIT_store}
#enddef
#define MOVE_UNIT FILTER TO_X TO_Y
# Moves a unit from its current location to the given location along a
# relatively straight line displaying the movement just like

View file

@ -773,6 +773,7 @@ Also, 0..9 = $below_ten, one,two,three = $ascii and the bonus answer is $mixed."
x,y,side=17,9,1
[/filter]
#wmlindent: start ignoring
[message]
speaker=unit
message="Battle for Wesnoth User's Manual
@ -812,6 +813,7 @@ In the world of Wesnoth there dwell humans, elves, dwarves, orcs, drakes, sauria
For game purposes, the races group into factions; for example, orcs often cooperate with trolls, and elves or dwarves with humans. Some other factions reflect divisions within human society -- loyalists vs. outlaws, for example. In most campaigns, you will control units drawn a single faction. But sometimes factions make alliances with others, so you may face more than one faction in a scenario."
[/message]
#wmlindent: stop ignoring
[/event]
{PLACE_IMAGE items/book1.png 2 2}
@ -863,6 +865,7 @@ For game purposes, the races group into factions; for example, orcs often cooper
[modify_side]
side=1
#wmlindent: start ignoring
shroud_data="|111111111111
|1111111111111
|1111111111111
@ -901,6 +904,7 @@ For game purposes, the races group into factions; for example, orcs often cooper
|000000000000000111111
|00000000000000011111
"
#wmlindent: stop ignoring
[/modify_side]
[/event]
@ -1509,6 +1513,7 @@ For game purposes, the races group into factions; for example, orcs often cooper
[terrain_mask]
x,y=20,1
#wmlindent: start ignoring
mask="usage=mask
_s, _s, _s, _s, Aa, Aa, _s, _s, _s, _s
@ -1522,6 +1527,7 @@ _s, _s, Aa, Aa, Aa, Aa, Aa, Aa, _s, _s
_s, _s, _s, Aa, Aa, Aa, Aa, _s, _s, _s
_s, _s, _s, _s, Aa, Aa, _s, _s, _s, _s
"
#wmlindent: stop ignoring
[rule]
old=Gg^Vh
new=Aa
@ -1565,6 +1571,7 @@ _s, _s, _s, _s, Aa, Aa, _s, _s, _s, _s
[terrain_mask]
x,y=8,11
#wmlindent: start ignoring
mask="usage=mask
^Ft, ^Ft, ^Ft, ^Ft
@ -1572,6 +1579,7 @@ _s, _s, _s, _s, Aa, Aa, _s, _s, _s, _s
^Ft, ^Ft, ^Ft, ^Ft
^Ft, ^Ft, ^Ft, ^Ft
"
#wmlindent: stop ignoring
[rule]
old=*^F*
layer=overlay
@ -1604,6 +1612,7 @@ _s, _s, _s, _s, Aa, Aa, _s, _s, _s, _s
[terrain_mask]
x,y=8,11
#wmlindent: start ignoring
mask="usage=mask
Ww, Ww, Ww, Ww
@ -1611,6 +1620,7 @@ Ww, Ww, Ww, Ww
Ww, Ww, Ww, Ww
Ww, Ww, Ww, Ww
"
#wmlindent: stop ignoring
[rule]
old=*^Ve*
layer=base
@ -1664,11 +1674,13 @@ Ww, Ww, Ww, Ww
[/message]
[message]
speaker=narrator
#wmlindent: start ignoring
message="Formula:
# $formula
Result:
@ $(debug_print( 'Result: ', ($formula) ))
"
#wmlindent: stop ignoring
[/message]
[/command]
[/set_menu_item]