From 270212b2a5c709c1bd77e348210b48d0d1834e69 Mon Sep 17 00:00:00 2001 From: Dimitar Ilccov Date: Sat, 11 Aug 2007 10:22:36 +0000 Subject: [PATCH] Applied [base_unit] to the Injured Sergeant unit... ...to reduce the size of the unit file --- .../units/Injured_Sergeant.cfg | 104 +----------------- 1 file changed, 3 insertions(+), 101 deletions(-) diff --git a/data/campaigns/Heir_To_The_Throne/units/Injured_Sergeant.cfg b/data/campaigns/Heir_To_The_Throne/units/Injured_Sergeant.cfg index 54181256b60..d4718dc1cb8 100644 --- a/data/campaigns/Heir_To_The_Throne/units/Injured_Sergeant.cfg +++ b/data/campaigns/Heir_To_The_Throne/units/Injured_Sergeant.cfg @@ -1,109 +1,11 @@ [unit] id=Injured Sergeant + [base_unit] + id=Sergeant + [/base_unit] name= _ "Injured Sergeant" - race=human image="units/human-loyalists/lieutenant-die-6.png" - ellipse="misc/ellipse" - {MAGENTA_IS_THE_TEAM_COLOR} - hitpoints=36 - movement_type=smallfoot - movement=6 - experience=32 - level=1 - alignment=lawful - advanceto=Lieutenant - cost=20 - usage=fighter - unit_description= _ "The Sergeant is an officer in the ranks of the Royal Army. Though academically trained, he will need some experience in the field before his leadership is sound and acknowledged." - die_sound={SOUND_LIST:HUMAN_DIE} - {DEFENSE_ANIM_RANGE "units/human-loyalists/sergeant-defend.png" "units/human-loyalists/sergeant.png" {SOUND_LIST:HUMAN_HIT} melee} - {DEFENSE_ANIM_RANGE "units/human-loyalists/sergeant-crossbow.png" "units/human-loyalists/sergeant-crossbow.png" {SOUND_LIST:HUMAN_HIT} ranged} [movement_costs] mountains=9 [/movement_costs] - [abilities] - {ABILITY_LEADERSHIP_LEVEL_1} - [/abilities] - [attack] - name=sword - icon=attacks/sword-human.png - type=blade - range=melee - damage=5 - number=3 - [animation] - [frame] - begin=-200 - end=-175 - image="units/human-loyalists/sergeant.png" - [/frame] - [frame] - begin=-175 - end=-100 - image="units/human-loyalists/sergeant-attack-sword-1.png" - [/frame] - [if] - hits=yes - [frame] - begin=-100 - end=50 - image="units/human-loyalists/sergeant-attack-sword-2.png" - sound={SOUND_LIST:SWORD_SWISH} - [/frame] - [/if] - [else] - hits=no - [frame] - begin=-100 - end=50 - image="units/human-loyalists/sergeant-attack-sword-2.png" - sound={SOUND_LIST:MISS} - [/frame] - [/else] - [frame] - begin=50 - end=150 - image="units/human-loyalists/sergeant-attack-sword-3.png" - [/frame] - [frame] - begin=150 - end=175 - image="units/human-loyalists/sergeant.png" - [/frame] - [/animation] - [/attack] - [attack] - name=crossbow - icon=attacks/crossbow-human.png - type=pierce - range=ranged - damage=4 - number=3 - [animation] - [missile_frame] - begin=-150 - end=0 - image="projectiles/missile-n.png" - image_diagonal="projectiles/missile-ne.png" - [/missile_frame] - [if] - hits=yes - [frame] - begin=-350 - end=50 - image="units/human-loyalists/sergeant-crossbow.png" - sound=crossbow.ogg - [/frame] - [/if] - [else] - hits=no - [frame] - begin=-350 - end=50 - image="units/human-loyalists/sergeant-crossbow.png" - sound=crossbow-miss.ogg - [/frame] - [/else] - [/animation] - [/attack] [/unit]