LoW: expand most util macros from S7 and S16. Delete unused ones
This removes the redundant inclusion step causing duplicate macro definitions
This commit is contained in:
parent
8f48eab652
commit
d6c67db110
4 changed files with 581 additions and 648 deletions
|
@ -6,8 +6,6 @@
|
|||
#TODO add the water sound effects.
|
||||
#TODO try to tune the troll ai to not start a suicide run against the wood border.
|
||||
|
||||
{./07_Elves_Last_Stand_utils.cfg}
|
||||
|
||||
[scenario]
|
||||
random_start_time=no
|
||||
allow_new_game=no
|
||||
|
@ -437,13 +435,150 @@
|
|||
y=$olurf_entry.y
|
||||
[/unit]
|
||||
|
||||
{OLURF_PARTY}
|
||||
[unit]
|
||||
id=Bulrod
|
||||
name=_ "Bulrod"
|
||||
type=Dwarvish Steelclad
|
||||
side=8
|
||||
#placement=leader
|
||||
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
[unit]
|
||||
id=Simclon
|
||||
name=_ "Simclon"
|
||||
type=Dwarvish Thunderer
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
id=Harald
|
||||
name=_ "Harald"
|
||||
type=Dwarvish Berserker
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
id=Budrin
|
||||
name=_ "Budrin"
|
||||
type=Dwarvish Berserker
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
id=Dudan
|
||||
name=_ "Dudan"
|
||||
type=Dwarvish Fighter
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
id=Korbun
|
||||
name=_ "Korbun"
|
||||
type=Dwarvish Fighter
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
id=Merhun
|
||||
name=_ "Merhun"
|
||||
type=Dwarvish Berserker
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
####ifndef MULTIPLAYER
|
||||
#### {MODIFY_UNIT (side=8) side 1}
|
||||
#### {TRANSFER_VILLAGE_OWNERSHIP 8 1}
|
||||
######endif
|
||||
{OLURF_SPEAK}
|
||||
|
||||
#TODO the next message doesn't fit if turns are over
|
||||
[message]
|
||||
id=Olurf
|
||||
#name=_ "Olurf"
|
||||
message= _ "Did ye think we’d let you have all the fun wi’ the orcs by yerselves?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
id=Landar
|
||||
message= _ "It’s not much of an army he is bringing with him, though."
|
||||
[/message]
|
||||
[message]
|
||||
id=Olurf
|
||||
message= _ "Not much of an army? These are dwarves with mighty axes, each worth three of you and your silly plinking bows!"
|
||||
[/message]
|
||||
[message]
|
||||
id=Kalenz
|
||||
message= _ "Olurf, is that all the dwarves you could find? Was the gold not enough?"
|
||||
[/message]
|
||||
[message]
|
||||
id=Olurf
|
||||
message= _ "They are no’ fighting for gold, they’re here for the fun. I’d ha’ brought a lot more if my men ha’ all kept quiet about helping elves! But the rest o’ my clan should join us in a few days."
|
||||
[/message]
|
||||
[message]
|
||||
id=Landar
|
||||
message= _ "In a few days? That’s too late! We want our gold back!"
|
||||
[/message]
|
||||
[message]
|
||||
id=Olurf
|
||||
message= _ "Sure, minus expenses."
|
||||
[/message]
|
||||
[message]
|
||||
id=Landar
|
||||
message= _ "What expenses?"
|
||||
[/message]
|
||||
[message]
|
||||
id=Olurf
|
||||
message= _ "It’s an ancient dwarvish custom to buy the warriors a few drinks before the battle... So minus expenses that’s about even."
|
||||
[/message]
|
||||
[message]
|
||||
id=Landar
|
||||
message= _ "That explains why they are so reckless in battle..."
|
||||
[/message]
|
||||
[message]
|
||||
id=Kalenz
|
||||
message= _ "... Enough, gentlemen, we have a battle to fight!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
|
|
@ -1,196 +0,0 @@
|
|||
#textdomain wesnoth-low
|
||||
#define OLURF_PARTY
|
||||
[unit]
|
||||
id=Bulrod
|
||||
name=_ "Bulrod"
|
||||
type=Dwarvish Steelclad
|
||||
side=8
|
||||
#placement=leader
|
||||
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
[unit]
|
||||
id=Simclon
|
||||
name=_ "Simclon"
|
||||
type=Dwarvish Thunderer
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
id=Harald
|
||||
name=_ "Harald"
|
||||
type=Dwarvish Berserker
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
id=Budrin
|
||||
name=_ "Budrin"
|
||||
type=Dwarvish Berserker
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
id=Dudan
|
||||
name=_ "Dudan"
|
||||
type=Dwarvish Fighter
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
id=Korbun
|
||||
name=_ "Korbun"
|
||||
type=Dwarvish Fighter
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
id=Merhun
|
||||
name=_ "Merhun"
|
||||
type=Dwarvish Berserker
|
||||
side=8
|
||||
x=$olurf_entry.x
|
||||
y=$olurf_entry.y
|
||||
[modifications]
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
#enddef
|
||||
|
||||
#define OLURF_SPEAK
|
||||
|
||||
#TODO the next message doesn't fit if turns are over
|
||||
[message]
|
||||
id=Olurf
|
||||
#name=_ "Olurf"
|
||||
message= _ "Did ye think we’d let you have all the fun wi’ the orcs by yerselves?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
id=Landar
|
||||
message= _ "It’s not much of an army he is bringing with him, though."
|
||||
[/message]
|
||||
[message]
|
||||
id=Olurf
|
||||
message= _ "Not much of an army? These are dwarves with mighty axes, each worth three of you and your silly plinking bows!"
|
||||
[/message]
|
||||
[message]
|
||||
id=Kalenz
|
||||
message= _ "Olurf, is that all the dwarves you could find? Was the gold not enough?"
|
||||
[/message]
|
||||
[message]
|
||||
id=Olurf
|
||||
message= _ "They are no’ fighting for gold, they’re here for the fun. I’d ha’ brought a lot more if my men ha’ all kept quiet about helping elves! But the rest o’ my clan should join us in a few days."
|
||||
[/message]
|
||||
[message]
|
||||
id=Landar
|
||||
message= _ "In a few days? That’s too late! We want our gold back!"
|
||||
[/message]
|
||||
[message]
|
||||
id=Olurf
|
||||
message= _ "Sure, minus expenses."
|
||||
[/message]
|
||||
[message]
|
||||
id=Landar
|
||||
message= _ "What expenses?"
|
||||
[/message]
|
||||
[message]
|
||||
id=Olurf
|
||||
message= _ "It’s an ancient dwarvish custom to buy the warriors a few drinks before the battle... So minus expenses that’s about even."
|
||||
[/message]
|
||||
[message]
|
||||
id=Landar
|
||||
message= _ "That explains why they are so reckless in battle..."
|
||||
[/message]
|
||||
[message]
|
||||
id=Kalenz
|
||||
message= _ "... Enough, gentlemen, we have a battle to fight!"
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#ask for ai_controller
|
||||
#define ASK_AI
|
||||
#ask if the player wants to set AI params during gameplay
|
||||
[event]
|
||||
name=start
|
||||
[message]
|
||||
id=Galtrid
|
||||
message= _ "Kalenz, though very young you have been most tested in battle of any of us. Will you take the command of all our troops?"
|
||||
[/message]
|
||||
[message]
|
||||
id=Kalenz
|
||||
[option]
|
||||
id=incommand_true
|
||||
message= _ "You do me great honor. I will strive to be worthy of it."
|
||||
[command]
|
||||
[set_variable]
|
||||
name=ai_controller.in_command
|
||||
value=true
|
||||
[/set_variable]
|
||||
[/command]
|
||||
[/option]
|
||||
[option]
|
||||
id=incommand_false
|
||||
message= _ "You do me great honor, but I am not yet ready for this."
|
||||
[command]
|
||||
[set_variable]
|
||||
name=ai_controller.in_command
|
||||
value=false
|
||||
[/set_variable]
|
||||
[/command]
|
||||
[/option]
|
||||
[/message]
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
#define RECRUIT_ORC
|
||||
|
||||
#ifdef EASY
|
||||
recruit=Orcish Crossbowman, Goblin Pillager, Goblin Knight
|
||||
#endif
|
||||
|
||||
#ifdef NORMAL
|
||||
recruit=Goblin Impaler, Goblin Rouser, Orcish Crossbowman, Goblin Pillager, Goblin Knight, Orcish Slayer
|
||||
#endif
|
||||
|
||||
#ifdef HARD
|
||||
recruit=Goblin Impaler, Goblin Rouser, Orcish Crossbowman, Goblin Pillager, Goblin Knight, Direwolf Rider, Orcish Slayer, Orcish Warrior, Orcish Slurbow
|
||||
#endif
|
||||
|
||||
#enddef
|
|
@ -1,5 +1,5 @@
|
|||
#textdomain wesnoth-low
|
||||
{./16_The_Chief_Must_Die_utils.cfg}
|
||||
|
||||
[scenario]
|
||||
id=16_The_Chief_Must_Die
|
||||
name=_"The Chief Must Die"
|
||||
|
@ -276,9 +276,449 @@
|
|||
{TURNS_RUN_OUT}
|
||||
[/objectives]
|
||||
|
||||
{ORCISH_GUARD}
|
||||
[unit]
|
||||
type=Goblin Pillager
|
||||
id=Odrun
|
||||
name=_ "Odrun"
|
||||
side=7
|
||||
x,y=25,4
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(25,4) -> loc(14,2), loc(14,2) -> loc(9,12), loc(9,12) -> loc(6,19), loc(6,19) -> loc(25,4) ]
|
||||
next_step="loc(25,4)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
|
||||
# [unit]
|
||||
# type=Direwolf Rider
|
||||
# id=Gragul
|
||||
# name=_ "Gragul"
|
||||
# side=7
|
||||
# x,y=16,29
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(16,29) -> loc(21,19), loc(21,19) -> loc(27,17), loc(27,17) -> loc(23,6), loc(23,6) -> loc(16,29) ]
|
||||
# next_step="loc(16,29)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Pillager
|
||||
id=Kardur
|
||||
name=_ "Kardur"
|
||||
side=7
|
||||
x,y=10,20
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(10,20) -> loc(18,24), loc(18,24) -> loc(21,19), loc(21,19) -> loc(18,11), loc(18,11) -> loc(10,20) ]
|
||||
next_step="loc(10,20)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
|
||||
# [unit]
|
||||
# type=Goblin Knight
|
||||
# id=Muhtr
|
||||
# name=_ "Muhtr"
|
||||
# side=7
|
||||
# x,y=13,25
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(13,25) -> loc(12,22), loc(12,22) -> loc(6,27), loc(6,27) -> loc(4,20), loc(4,20) -> loc(9,13), loc(9,13) -> loc(19,19), loc(19,19) -> loc(17,25), loc(17,25) -> loc(13,25)]
|
||||
# next_step="loc(13,25)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
[unit]
|
||||
type=Goblin Pillager
|
||||
id=Kartrog
|
||||
name=_ "Kartrog"
|
||||
side=7
|
||||
x,y=22,27
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(22,27) -> loc(27,24), loc(27,24) -> loc(21,16),loc(21,16) -> loc(22,27), loc(22,27) -> loc(6,24), loc(6,24)-> loc(22,27)]
|
||||
next_step="loc(22,27)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
# [unit]
|
||||
# type=Wolf Rider
|
||||
# id=Griul
|
||||
# name=_ "Griul"
|
||||
# side=7
|
||||
# x,y=12,29
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(12,29) -> loc(16,15), loc(16,15) -> loc(25,4), loc(25,4) -> loc(12,29) ]
|
||||
# next_step="loc(12,29)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
[unit]
|
||||
type=Goblin Knight
|
||||
id=Sdrul
|
||||
name=_ "Sdrul"
|
||||
side=7
|
||||
x,y=13,19
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(13,19) -> loc(16,15), loc(16,15) -> loc(25,4), loc(25,4) -> loc(13,19) ]
|
||||
next_step="loc(13,19)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
|
||||
# [unit]
|
||||
# type=Wolf Rider
|
||||
# id=Etruw
|
||||
# name=_ "Etruw"
|
||||
# side=7
|
||||
# x,y=31,15
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(31,15) -> loc(16,15), loc(16,15) -> loc(31,15) ]
|
||||
# next_step="loc(31,15)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
|
||||
[unit]
|
||||
type=Direwolf Rider
|
||||
id=Utrub
|
||||
name=_ "Utrub"
|
||||
side=7
|
||||
x,y=29,24
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(29,24) -> loc(16,15), loc(16,15) -> loc(29,24) ]
|
||||
next_step="loc(29,24)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
|
||||
# [unit]
|
||||
# type=Goblin Pillager
|
||||
# id=Bihlas
|
||||
# name=_ "Bihlas"
|
||||
# side=7
|
||||
# x,y=5,21
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(5,21) -> loc(16,15), loc(16,15) -> loc(5,21) ]
|
||||
# next_step="loc(5,21)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Knight
|
||||
id=Uhmit
|
||||
name=_ "Uhmit"
|
||||
side=7
|
||||
x,y=17,8
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(25,4) -> loc(16,15), loc(16,15) -> loc(25,4) ]
|
||||
next_step="loc(17,8)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
|
||||
# [unit]
|
||||
# type=Direwolf Rider
|
||||
# id=Mrat
|
||||
# name=_ "Mrat"
|
||||
# side=7
|
||||
# x,y=14,15
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(14,15) -> loc(19,12), loc(19,12) -> loc(31,16), loc(31,16) -> loc(14,15) ]
|
||||
# next_step="loc(14,15)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
|
||||
#### end of wolves ####
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Grut
|
||||
name=_ "Grut"
|
||||
side=7
|
||||
x,y=26,17
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Krolru
|
||||
name=_ "Krolru"
|
||||
side=7
|
||||
x,y=10,20
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Kryl
|
||||
name=_ "Kryl"
|
||||
side=7
|
||||
x,y=25,12
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Crossbowman
|
||||
id=Erdug
|
||||
name=_ "Erdug"
|
||||
side=7
|
||||
x,y=16,20
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Urdol
|
||||
name=_ "Urdol"
|
||||
side=7
|
||||
x,y=24,17
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Tan-Drur
|
||||
name=_ "Tan-Drur"
|
||||
side=7
|
||||
x,y=20,17
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Crossbowman
|
||||
id=Brim
|
||||
name=_ "Brim"
|
||||
side=7
|
||||
x,y=21,23
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Krud
|
||||
name=_ "Krud"
|
||||
side=7
|
||||
x,y=23,8
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Krulr
|
||||
name=_ "Krulr"
|
||||
side=7
|
||||
x,y=22,11
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Draglar
|
||||
name=_ "Draglar"
|
||||
side=7
|
||||
x,y=18,14
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Qmrun
|
||||
name=_ "Qmrun"
|
||||
side=7
|
||||
x,y=24,15
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Impaler
|
||||
id=Erdog
|
||||
name=_ "Erdog"
|
||||
side=7
|
||||
x,y=32,7
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Spearman
|
||||
id=Sbrak
|
||||
name=_ "Sbrak"
|
||||
side=7
|
||||
x,y=19,23
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Spearman
|
||||
id=Urdum
|
||||
name=_ "Urdum"
|
||||
side=7
|
||||
x,y=22,27
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Impaler
|
||||
id=Ozdul
|
||||
name=_ "Ozdul"
|
||||
side=7
|
||||
x,y=17,11
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Impaler
|
||||
id=Zuzerd
|
||||
name=_ "Zuzerd"
|
||||
side=7
|
||||
x,y=5,1
|
||||
[/unit]
|
||||
[unit]
|
||||
type=Orcish Archer
|
||||
id=Egrok
|
||||
name=_ "Egrok"
|
||||
side=7
|
||||
x,y=29,11
|
||||
[/unit]
|
||||
[unit]
|
||||
type=Orcish Assassin
|
||||
id=Urbrus
|
||||
name=_ "Urbrus"
|
||||
side=7
|
||||
x,y=28,16
|
||||
[/unit]
|
||||
[unit]
|
||||
type=Orcish Slayer
|
||||
id=Erbru
|
||||
name=_ "Erbru"
|
||||
side=7
|
||||
x,y=32,8
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Muhmr
|
||||
name=_ "Muhmr"
|
||||
side=7
|
||||
x,y=22,16
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Crossbowman
|
||||
id=Cfrul
|
||||
name=_ "Cfrul"
|
||||
side=7
|
||||
x,y=10,16
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Crossbowman
|
||||
id=Irkrul
|
||||
name=_ "Irkrul"
|
||||
side=7
|
||||
x,y=26,6
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Cebrun
|
||||
name=_ "Cebrun"
|
||||
side=7
|
||||
x,y=3,19
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Krundrum
|
||||
name=_ "Krundrum"
|
||||
side=7
|
||||
x,y=11,5
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Arrkud
|
||||
name=_ "Arrkud"
|
||||
side=7
|
||||
x,y=13,23
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Gulmod
|
||||
name=_ "Gulmod"
|
||||
side=7
|
||||
x,y=11,11
|
||||
[/unit]
|
||||
[/event]
|
||||
|
||||
#define INVISIBILITY_POTION AFFIX DESCRIPTION
|
||||
[object]
|
||||
id=invisibility_potion_{AFFIX}
|
||||
description={DESCRIPTION}
|
||||
duration=scenario
|
||||
[filter]
|
||||
id={AFFIX}
|
||||
[/filter]
|
||||
[effect]
|
||||
apply_to=new_ability
|
||||
[abilities]
|
||||
[hides]
|
||||
id=invisible
|
||||
name= _ "invisible"
|
||||
name_inactive= _ "invisible"
|
||||
description= _ "Enemy units cannot see this unit, except for wolf-based units who can smell it if close enough. Hence except for wolf-based units, enemy units will not initiate an attack on this unit. Defense is at 80 percent for every terrain except water, where it is 70 percent."
|
||||
description_inactive= _ "Enemy units cannot see this unit, except for wolf-based units who can smell it if close enough. Hence except for wolf-based units, enemy units will not initiate an attack on this unit. Defense is at 80 percent for every terrain except water, where it is 70 percent."
|
||||
affect_self=yes
|
||||
[/hides]
|
||||
[/abilities]
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=defense
|
||||
replace=true
|
||||
[defense]
|
||||
deep_water=30
|
||||
shallow_water=30
|
||||
reef=30
|
||||
swamp_water=30
|
||||
flat=20
|
||||
sand=20
|
||||
forest=20
|
||||
hills=20
|
||||
mountains=20
|
||||
village=20
|
||||
castle=20
|
||||
cave=20
|
||||
frozen=20
|
||||
unwalkable=20
|
||||
impassable=20
|
||||
fungus=20
|
||||
[/defense]
|
||||
[/effect]
|
||||
[/object]
|
||||
#enddef
|
||||
|
||||
[event]
|
||||
name=start
|
||||
[message]
|
||||
|
|
|
@ -1,446 +0,0 @@
|
|||
#textdomain wesnoth-low
|
||||
#define INVISIBILITY_POTION AFFIX DESCRIPTION
|
||||
[object]
|
||||
id=invisibility_potion_{AFFIX}
|
||||
description={DESCRIPTION}
|
||||
duration=scenario
|
||||
[filter]
|
||||
id={AFFIX}
|
||||
[/filter]
|
||||
[effect]
|
||||
apply_to=new_ability
|
||||
[abilities]
|
||||
[hides]
|
||||
id=invisible
|
||||
name= _ "invisible"
|
||||
name_inactive= _ "invisible"
|
||||
description= _ "Enemy units cannot see this unit, except for wolf-based units who can smell it if close enough. Hence except for wolf-based units, enemy units will not initiate an attack on this unit. Defense is at 80 percent for every terrain except water, where it is 70 percent."
|
||||
description_inactive= _ "Enemy units cannot see this unit, except for wolf-based units who can smell it if close enough. Hence except for wolf-based units, enemy units will not initiate an attack on this unit. Defense is at 80 percent for every terrain except water, where it is 70 percent."
|
||||
affect_self=yes
|
||||
[/hides]
|
||||
[/abilities]
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=defense
|
||||
replace=true
|
||||
[defense]
|
||||
deep_water=30
|
||||
shallow_water=30
|
||||
reef=30
|
||||
swamp_water=30
|
||||
flat=20
|
||||
sand=20
|
||||
forest=20
|
||||
hills=20
|
||||
mountains=20
|
||||
village=20
|
||||
castle=20
|
||||
cave=20
|
||||
frozen=20
|
||||
unwalkable=20
|
||||
impassable=20
|
||||
fungus=20
|
||||
[/defense]
|
||||
[/effect]
|
||||
[/object]
|
||||
#enddef
|
||||
|
||||
#define ORCISH_GUARD
|
||||
|
||||
[unit]
|
||||
type=Goblin Pillager
|
||||
id=Odrun
|
||||
name=_ "Odrun"
|
||||
side=7
|
||||
x,y=25,4
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(25,4) -> loc(14,2), loc(14,2) -> loc(9,12), loc(9,12) -> loc(6,19), loc(6,19) -> loc(25,4) ]
|
||||
next_step="loc(25,4)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
|
||||
# [unit]
|
||||
# type=Direwolf Rider
|
||||
# id=Gragul
|
||||
# name=_ "Gragul"
|
||||
# side=7
|
||||
# x,y=16,29
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(16,29) -> loc(21,19), loc(21,19) -> loc(27,17), loc(27,17) -> loc(23,6), loc(23,6) -> loc(16,29) ]
|
||||
# next_step="loc(16,29)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Pillager
|
||||
id=Kardur
|
||||
name=_ "Kardur"
|
||||
side=7
|
||||
x,y=10,20
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(10,20) -> loc(18,24), loc(18,24) -> loc(21,19), loc(21,19) -> loc(18,11), loc(18,11) -> loc(10,20) ]
|
||||
next_step="loc(10,20)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
|
||||
# [unit]
|
||||
# type=Goblin Knight
|
||||
# id=Muhtr
|
||||
# name=_ "Muhtr"
|
||||
# side=7
|
||||
# x,y=13,25
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(13,25) -> loc(12,22), loc(12,22) -> loc(6,27), loc(6,27) -> loc(4,20), loc(4,20) -> loc(9,13), loc(9,13) -> loc(19,19), loc(19,19) -> loc(17,25), loc(17,25) -> loc(13,25)]
|
||||
# next_step="loc(13,25)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
[unit]
|
||||
type=Goblin Pillager
|
||||
id=Kartrog
|
||||
name=_ "Kartrog"
|
||||
side=7
|
||||
x,y=22,27
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(22,27) -> loc(27,24), loc(27,24) -> loc(21,16),loc(21,16) -> loc(22,27), loc(22,27) -> loc(6,24), loc(6,24)-> loc(22,27)]
|
||||
next_step="loc(22,27)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
# [unit]
|
||||
# type=Wolf Rider
|
||||
# id=Griul
|
||||
# name=_ "Griul"
|
||||
# side=7
|
||||
# x,y=12,29
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(12,29) -> loc(16,15), loc(16,15) -> loc(25,4), loc(25,4) -> loc(12,29) ]
|
||||
# next_step="loc(12,29)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
[unit]
|
||||
type=Goblin Knight
|
||||
id=Sdrul
|
||||
name=_ "Sdrul"
|
||||
side=7
|
||||
x,y=13,19
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(13,19) -> loc(16,15), loc(16,15) -> loc(25,4), loc(25,4) -> loc(13,19) ]
|
||||
next_step="loc(13,19)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
|
||||
# [unit]
|
||||
# type=Wolf Rider
|
||||
# id=Etruw
|
||||
# name=_ "Etruw"
|
||||
# side=7
|
||||
# x,y=31,15
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(31,15) -> loc(16,15), loc(16,15) -> loc(31,15) ]
|
||||
# next_step="loc(31,15)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
|
||||
[unit]
|
||||
type=Direwolf Rider
|
||||
id=Utrub
|
||||
name=_ "Utrub"
|
||||
side=7
|
||||
x,y=29,24
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(29,24) -> loc(16,15), loc(16,15) -> loc(29,24) ]
|
||||
next_step="loc(29,24)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
|
||||
# [unit]
|
||||
# type=Goblin Pillager
|
||||
# id=Bihlas
|
||||
# name=_ "Bihlas"
|
||||
# side=7
|
||||
# x,y=5,21
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(5,21) -> loc(16,15), loc(16,15) -> loc(5,21) ]
|
||||
# next_step="loc(5,21)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Knight
|
||||
id=Uhmit
|
||||
name=_ "Uhmit"
|
||||
side=7
|
||||
x,y=17,8
|
||||
[ai]
|
||||
loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
[vars]
|
||||
guard_radius=3
|
||||
waypoints=[ loc(25,4) -> loc(16,15), loc(16,15) -> loc(25,4) ]
|
||||
next_step="loc(17,8)"
|
||||
[/vars]
|
||||
[/ai]
|
||||
[/unit]
|
||||
|
||||
# [unit]
|
||||
# type=Direwolf Rider
|
||||
# id=Mrat
|
||||
# name=_ "Mrat"
|
||||
# side=7
|
||||
# x,y=14,15
|
||||
# [ai]
|
||||
# loop_formula="{campaigns/Legend_of_Wesmere/ai/patrol.fai}"
|
||||
# [vars]
|
||||
# guard_radius=3
|
||||
# waypoints=[ loc(14,15) -> loc(19,12), loc(19,12) -> loc(31,16), loc(31,16) -> loc(14,15) ]
|
||||
# next_step="loc(14,15)"
|
||||
# [/vars]
|
||||
# [/ai]
|
||||
# [/unit]
|
||||
|
||||
#### end of wolves ####
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Grut
|
||||
name=_ "Grut"
|
||||
side=7
|
||||
x,y=26,17
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Krolru
|
||||
name=_ "Krolru"
|
||||
side=7
|
||||
x,y=10,20
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Kryl
|
||||
name=_ "Kryl"
|
||||
side=7
|
||||
x,y=25,12
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Crossbowman
|
||||
id=Erdug
|
||||
name=_ "Erdug"
|
||||
side=7
|
||||
x,y=16,20
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Urdol
|
||||
name=_ "Urdol"
|
||||
side=7
|
||||
x,y=24,17
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Tan-Drur
|
||||
name=_ "Tan-Drur"
|
||||
side=7
|
||||
x,y=20,17
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Crossbowman
|
||||
id=Brim
|
||||
name=_ "Brim"
|
||||
side=7
|
||||
x,y=21,23
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Krud
|
||||
name=_ "Krud"
|
||||
side=7
|
||||
x,y=23,8
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Krulr
|
||||
name=_ "Krulr"
|
||||
side=7
|
||||
x,y=22,11
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Draglar
|
||||
name=_ "Draglar"
|
||||
side=7
|
||||
x,y=18,14
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Qmrun
|
||||
name=_ "Qmrun"
|
||||
side=7
|
||||
x,y=24,15
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Impaler
|
||||
id=Erdog
|
||||
name=_ "Erdog"
|
||||
side=7
|
||||
x,y=32,7
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Spearman
|
||||
id=Sbrak
|
||||
name=_ "Sbrak"
|
||||
side=7
|
||||
x,y=19,23
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Spearman
|
||||
id=Urdum
|
||||
name=_ "Urdum"
|
||||
side=7
|
||||
x,y=22,27
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Impaler
|
||||
id=Ozdul
|
||||
name=_ "Ozdul"
|
||||
side=7
|
||||
x,y=17,11
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Goblin Impaler
|
||||
id=Zuzerd
|
||||
name=_ "Zuzerd"
|
||||
side=7
|
||||
x,y=5,1
|
||||
[/unit]
|
||||
[unit]
|
||||
type=Orcish Archer
|
||||
id=Egrok
|
||||
name=_ "Egrok"
|
||||
side=7
|
||||
x,y=29,11
|
||||
[/unit]
|
||||
[unit]
|
||||
type=Orcish Assassin
|
||||
id=Urbrus
|
||||
name=_ "Urbrus"
|
||||
side=7
|
||||
x,y=28,16
|
||||
[/unit]
|
||||
[unit]
|
||||
type=Orcish Slayer
|
||||
id=Erbru
|
||||
name=_ "Erbru"
|
||||
side=7
|
||||
x,y=32,8
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Warrior
|
||||
id=Muhmr
|
||||
name=_ "Muhmr"
|
||||
side=7
|
||||
x,y=22,16
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Crossbowman
|
||||
id=Cfrul
|
||||
name=_ "Cfrul"
|
||||
side=7
|
||||
x,y=10,16
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Crossbowman
|
||||
id=Irkrul
|
||||
name=_ "Irkrul"
|
||||
side=7
|
||||
x,y=26,6
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Cebrun
|
||||
name=_ "Cebrun"
|
||||
side=7
|
||||
x,y=3,19
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Krundrum
|
||||
name=_ "Krundrum"
|
||||
side=7
|
||||
x,y=11,5
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Arrkud
|
||||
name=_ "Arrkud"
|
||||
side=7
|
||||
x,y=13,23
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
type=Orcish Grunt
|
||||
id=Gulmod
|
||||
name=_ "Gulmod"
|
||||
side=7
|
||||
x,y=11,11
|
||||
[/unit]
|
||||
|
||||
#enddef
|
Loading…
Add table
Reference in a new issue