Moved Kaleh's, Nym's, Garak's, and Zhul's unit data to macros.
This commit is contained in:
parent
00774faefd
commit
090f66f566
2 changed files with 92 additions and 75 deletions
|
@ -24,20 +24,7 @@
|
|||
# Set sides - elves, monsters and necromancer
|
||||
[side]
|
||||
side=1
|
||||
id=Kaleh
|
||||
name= _ "Kaleh"
|
||||
type=Kaleh
|
||||
variation=Youth
|
||||
[modifications]
|
||||
#ifndef HARD
|
||||
{TRAIT_RESILIENT}
|
||||
#ifdef EASY
|
||||
{TRAIT_INTELLIGENT}
|
||||
#endif
|
||||
#endif
|
||||
[/modifications]
|
||||
canrecruit=yes
|
||||
unrenamable=yes
|
||||
{KALEH}
|
||||
|
||||
# Kaleh's start villages will support his initial recruits.
|
||||
{GOLD 0 0 0}
|
||||
|
@ -160,23 +147,7 @@
|
|||
|
||||
# Start with Nym
|
||||
[unit]
|
||||
type=Nym Hunter
|
||||
id=Nym
|
||||
name= _ "Nym"
|
||||
side=1
|
||||
x=27
|
||||
y=22
|
||||
unrenamable=yes
|
||||
[modifications]
|
||||
{TRAIT_LOYAL}
|
||||
#ifndef HARD
|
||||
{TRAIT_RESILIENT}
|
||||
#ifdef EASY
|
||||
{TRAIT_QUICK}
|
||||
#endif
|
||||
#endif
|
||||
[/modifications]
|
||||
{IS_HERO}
|
||||
{NYM}
|
||||
[/unit]
|
||||
# There are 3 mudcrawler encounter spots, in the NW and SW corner
|
||||
# and in the barracks. Depending on which way you circle around
|
||||
|
@ -530,26 +501,7 @@
|
|||
#endif
|
||||
|
||||
[unit]
|
||||
type=Desert Captain
|
||||
id=Garak
|
||||
name= _ "Garak"
|
||||
profile=portraits/garak.png
|
||||
x=35
|
||||
y=34
|
||||
side=1
|
||||
unrenamable=yes
|
||||
[modifications]
|
||||
{TRAIT_LOYAL}
|
||||
{TRAIT_STRONG}
|
||||
[object]
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=ranged
|
||||
increase_damage=1
|
||||
[/effect]
|
||||
[/object]
|
||||
[/modifications]
|
||||
{IS_HERO}
|
||||
{GARAK}
|
||||
[/unit]
|
||||
|
||||
{NAMED_GENERIC_UNIT 1 "Desert Fighter" 36 33 "Jorazan" ( _ "Jorazan")}
|
||||
|
@ -626,12 +578,12 @@
|
|||
[/have_unit]
|
||||
[/not]
|
||||
[/and]
|
||||
# [and]
|
||||
# [variable]
|
||||
# name=garak_speech_happened
|
||||
# boolean_equals=no
|
||||
# [/variable]
|
||||
# [/and]
|
||||
# [and]
|
||||
# [variable]
|
||||
# name=garak_speech_happened
|
||||
# boolean_equals=no
|
||||
# [/variable]
|
||||
# [/and]
|
||||
[then]
|
||||
[fire_event]
|
||||
name=garak_speech
|
||||
|
@ -660,10 +612,10 @@
|
|||
[/message]
|
||||
|
||||
# Record the fact that this event has happened
|
||||
# [set_variable]
|
||||
# name=garak_speech_happened
|
||||
# value=yes
|
||||
# [/set_variable]
|
||||
# [set_variable]
|
||||
# name=garak_speech_happened
|
||||
# value=yes
|
||||
# [/set_variable]
|
||||
[/event]
|
||||
|
||||
# The following three events are nested, because they are supposed to
|
||||
|
@ -720,20 +672,7 @@
|
|||
message= _ "Is anyone still alive?"
|
||||
[/message]
|
||||
[unit]
|
||||
type=Desert Druid
|
||||
id=Zhul
|
||||
name= _ "Zhul"
|
||||
profile=portraits/zhul.png
|
||||
x=31
|
||||
y=27
|
||||
side=1
|
||||
unrenamable=yes
|
||||
[modifications]
|
||||
{TRAIT_LOYAL}
|
||||
{TRAIT_QUICK}
|
||||
{TRAIT_INTELLIGENT}
|
||||
[/modifications]
|
||||
{IS_HERO}
|
||||
{ZHUL}
|
||||
[/unit]
|
||||
{NAMED_GENERIC_UNIT 1 "Desert Shaman" 30 27 "Ryoko" ( _ "Ryoko")}
|
||||
{NAMED_GENERIC_UNIT 1 "Desert Shaman" 32 27 "Yuni" ( _ "Yuni")}
|
||||
|
|
|
@ -0,0 +1,78 @@
|
|||
#textdomain wesnoth-utbs
|
||||
|
||||
#define KALEH
|
||||
id=Kaleh
|
||||
name= _ "Kaleh"
|
||||
type=Kaleh
|
||||
variation=Youth
|
||||
canrecruit=yes
|
||||
unrenamable=yes
|
||||
[modifications]
|
||||
#ifndef HARD
|
||||
{TRAIT_RESILIENT}
|
||||
#ifdef EASY
|
||||
{TRAIT_INTELLIGENT}
|
||||
#endif
|
||||
#endif
|
||||
[/modifications]
|
||||
#enddef
|
||||
|
||||
#define NYM
|
||||
type=Nym Hunter
|
||||
id=Nym
|
||||
name= _ "Nym"
|
||||
side=1
|
||||
x=27
|
||||
y=22
|
||||
unrenamable=yes
|
||||
[modifications]
|
||||
{TRAIT_LOYAL}
|
||||
#ifndef HARD
|
||||
{TRAIT_RESILIENT}
|
||||
#ifdef EASY
|
||||
{TRAIT_QUICK}
|
||||
#endif
|
||||
#endif
|
||||
[/modifications]
|
||||
{IS_HERO}
|
||||
#enddef
|
||||
|
||||
#define GARAK
|
||||
type=Desert Captain
|
||||
id=Garak
|
||||
name= _ "Garak"
|
||||
profile=portraits/garak.png
|
||||
x=35
|
||||
y=34
|
||||
side=1
|
||||
unrenamable=yes
|
||||
[modifications]
|
||||
{TRAIT_LOYAL}
|
||||
{TRAIT_STRONG}
|
||||
[object]
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=ranged
|
||||
increase_damage=1
|
||||
[/effect]
|
||||
[/object]
|
||||
[/modifications]
|
||||
{IS_HERO}
|
||||
#enddef
|
||||
|
||||
#define ZHUL
|
||||
type=Desert Druid
|
||||
id=Zhul
|
||||
name= _ "Zhul"
|
||||
profile=portraits/zhul.png
|
||||
x=31
|
||||
y=27
|
||||
side=1
|
||||
unrenamable=yes
|
||||
[modifications]
|
||||
{TRAIT_LOYAL}
|
||||
{TRAIT_QUICK}
|
||||
{TRAIT_INTELLIGENT}
|
||||
[/modifications]
|
||||
{IS_HERO}
|
||||
#enddef
|
Loading…
Add table
Reference in a new issue