Author: esr
Date: Mon Nov 17 23:00:50 2008
New Revision: 30800

URL: http://svn.gna.org/viewcvs/wesnoth?rev=30800&view=rev
Log:
Refactor the Nym line using [base_unit].

Modified:
    trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Hunter.cfg
    trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Prowler.cfg
    trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Sentinel.cfg

Modified: trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Hunter.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Hunter.cfg?rev=30800&r1=30799&r2=30800&view=diff
==============================================================================
--- trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Hunter.cfg (original)
+++ trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Hunter.cfg Mon Nov 17 
23:00:50 2008
@@ -1,59 +1,20 @@
 #textdomain wesnoth-utbs
 [unit_type]
     id=Nym Hunter
+    [base_unit]
+        id=Desert Hunter
+    [/base_unit]
     name= _ "female^Desert Hunter"
-    race=elf
     gender=female
     image=units/elves-desert/nym.png
     profile=portraits/nym.png
-    hitpoints=30
-    movement_type=woodland
-    #desert elves move fast across the sands, but are not used to forests
-    #they are also a bit faster in caves
-    [movement_costs]
-        sand=1
-        forest=2
-        cave=2
-        frozen=3
-    [/movement_costs]
-    [defense]
-        sand=40
-        forest=50
-    [/defense]
-    movement=6
-    experience=42
-    level=1
-    alignment=lawful
     advances_to=Nym Sentinel
-    cost=20
-    usage=mixed fighter
     description= _ "Nym is Kaleh's childhood friend who follows the tradition 
of a family of Desert Hunters, as much as that can be said about a young, 
rebellious lady with quick wits and strong will. Her high spirits are a great 
boon in dark times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}
     die_sound={SOUND_LIST:ELF_FEMALE_HIT}
     {DEFENSE_ANIM "units/elves-desert/nym-defend.png" 
units/elves-desert/nym.png {SOUND_LIST:ELF_FEMALE_HIT} }
-    [attack]
-        name=sword
-        description= _"sword"
-        type=blade
-        range=melee
-        damage=5
-        number=4
-        icon=attacks/sword-elven.png
-    [/attack]
-    [attack]
-        name=bola
-        description= _"bolas"
-        type=impact
-        range=ranged
-        damage=4
-        number=2
-        [specials]
-            {WEAPON_SPECIAL_SLOW}
-        [/specials]
-        icon=attacks/bolas.png
-    [/attack]
     [attack_anim]
         [filter_attack]
-            name=bola
+            name=bolas
         [/filter_attack]
         [missile_frame]
             begin=-150

Modified: trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Prowler.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Prowler.cfg?rev=30800&r1=30799&r2=30800&view=diff
==============================================================================
--- trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Prowler.cfg (original)
+++ trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Prowler.cfg Mon Nov 
17 23:00:50 2008
@@ -1,63 +1,19 @@
 #textdomain wesnoth-utbs
 [unit_type]
     id=Nym Prowler
+    [base_unit]
+        id=Desert Prowler
+    [/base_unit]
+    gender=female
     name= _ "female^Desert Prowler"
-    race=elf
-    gender=female
     image=units/elves-desert/nym.png
     profile=portraits/nym.png
-    hitpoints=66
-    movement_type=woodland
-    #desert elves move fast across the sands, but are not used to forests
-    #they are also a bit faster in caves
-    [movement_costs]
-        sand=1
-        forest=2
-        cave=2
-        frozen=3
-    [/movement_costs]
-    [defense]
-        sand=40
-        forest=50
-    [/defense]
-    movement=6
-    experience=150
-    level=3
-    alignment=lawful
-    advances_to=null
-    {AMLA_DEFAULT}
-    cost=90
-    [abilities]
-        {ABILITY_SKIRMISHER}
-    [/abilities]
-    usage=mixed fighter
     description= _ "Nym is Kaleh's childhood friend who follows the tradition 
of a family of Desert Hunters, as much as that can be said about a young, 
rebellious lady with quick wits and strong will. Her high spirits are a great 
boon in dark 
times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}+{SPECIAL_NOTES_SKIRMISHER}
     die_sound={SOUND_LIST:ELF_FEMALE_HIT}
     {DEFENSE_ANIM "units/elves-desert/nym-defend.png" 
units/elves-desert/nym.png {SOUND_LIST:ELF_FEMALE_HIT} }
-    [attack]
-        name=sword
-        description= _"sword"
-        type=blade
-        range=melee
-        damage=9
-        number=4
-        icon=attacks/sword-elven.png
-    [/attack]
-    [attack]
-        name=bola
-        description= _"bolas"
-        type=impact
-        range=ranged
-        damage=12
-        number=2
-        [specials]
-            {WEAPON_SPECIAL_SLOW}
-        [/specials]
-        icon=attacks/bolas.png
-    [/attack]
     [attack_anim]
         [filter_attack]
-            name=bola
+            name=bolas
         [/filter_attack]
         [missile_frame]
             begin=-150

Modified: trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Sentinel.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Sentinel.cfg?rev=30800&r1=30799&r2=30800&view=diff
==============================================================================
--- trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Sentinel.cfg 
(original)
+++ trunk/data/campaigns/Under_the_Burning_Suns/units/Nym_Sentinel.cfg Mon Nov 
17 23:00:50 2008
@@ -1,62 +1,20 @@
 #textdomain wesnoth-utbs
 [unit_type]
     id=Nym Sentinel
+    [base_unit]
+        id=Desert Sentinel
+    [/base_unit]
     name= _ "female^Desert Sentinel"
-    race=elf
     gender=female
     image=units/elves-desert/nym.png
     profile=portraits/nym.png
-    hitpoints=44
-    movement_type=woodland
-    #desert elves move fast across the sands, but are not used to forests
-    #they are also a bit faster in caves
-    [movement_costs]
-        sand=1
-        forest=2
-        cave=2
-        frozen=3
-    [/movement_costs]
-    [defense]
-        sand=40
-        forest=50
-    [/defense]
-    movement=6
-    experience=84
-    level=2
-    alignment=lawful
     advances_to=Nym Prowler
-    cost=35
-    [abilities]
-        {ABILITY_SKIRMISHER}
-    [/abilities]
-    usage=mixed fighter
     description= _ "Nym is Kaleh's childhood friend who follows the tradition 
of a family of Desert Hunters, as much as that can be said about a young, 
rebellious lady with quick wits and strong will. Her high spirits are a great 
boon in dark 
times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}+{SPECIAL_NOTES_SKIRMISHER}
     die_sound={SOUND_LIST:ELF_FEMALE_HIT}
     {DEFENSE_ANIM "units/elves-desert/nym-defend.png" 
units/elves-desert/nym.png {SOUND_LIST:ELF_FEMALE_HIT} }
-    [attack]
-        name=sword
-        description= _"sword"
-        type=blade
-        range=melee
-        damage=7
-        number=4
-        icon=attacks/sword-elven.png
-    [/attack]
-    [attack]
-        name=bolas
-        description= _"bolas"
-        type=impact
-        range=ranged
-        damage=8
-        number=2
-        [specials]
-            {WEAPON_SPECIAL_SLOW}
-        [/specials]
-        icon=attacks/bolas.png
-    [/attack]
     [attack_anim]
         [filter_attack]
-            name=bola
+            name=bolas
         [/filter_attack]
         [missile_frame]
             begin=-150


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to