#macro to define most of Walking Corpse
#define UNIT_BODY_WALKING_CORPSE BASE_IMAGE

id=Walking Corpse
name= _ "Walking Corpse"
race=undead
image="{BASE_IMAGE}.png"
image_defensive="{BASE_IMAGE}-attack.png"
hitpoints=18
movement_type=undeadfoot
movement=4
experience=24
level=0
alignment=chaotic
advanceto=Soulless
cost=6
usage=fighter
unit_description= _ "Walking Corpses are the bodies of the dead, re-animated by dark magic. Although weak in combat, these zombies can spread their curse to those they kill, increasing the army of undead."
get_hit_sound=zombie-hit.wav

        [death]
                [frame]
                begin=0
                end=200
                image="{BASE_IMAGE}-die-1.png"
                [/frame]
                [frame]
                begin=200
                end=400
                image="{BASE_IMAGE}-die-2.png"
                [/frame]
                [frame]
                begin=400
                end=600
                image="{BASE_IMAGE}-die-3.png"
                [/frame]
        [/death]

	[attack]
	name=fist
	type=impact
	range=short
	damage=5
	number=2
	special=plague
		[animation]
		direction=se,sw,ne,nw
			[frame]
			begin=-200
			end=100
			image="{BASE_IMAGE}-attack.png"
			[/frame]
		[/animation]
		[animation]
		direction=n
			[frame]
			begin=-200
			end=100
			image="{BASE_IMAGE}-attack-n.png"
			[/frame]
		[/animation]
		[animation]
		direction=s
			[frame]
			begin=-200
			end=100
			image="{BASE_IMAGE}-attack-s.png"
			[/frame]
		[/animation]
		[sound]
		time=-200
		sound=zombie-attack.wav
		[/sound]
	[/attack]
#enddef

[unit]
{UNIT_BODY_WALKING_CORPSE undead-zombie}
	[variation]
	variation_name=drake
	{UNIT_BODY_WALKING_CORPSE undead-zombie-drake}
	[/variation]

	[variation]
	variation_name=swimmer
	{UNIT_BODY_WALKING_CORPSE undead-zombie-swimmer}	
	[/variation]

	[variation]
	variation_name=troll
	{UNIT_BODY_WALKING_CORPSE undead-zombie-troll}
	[/variation]

	[variation]
	variation_name=wose
	{UNIT_BODY_WALKING_CORPSE undead-zombie-wose}
	[/variation]

	[variation]
	variation_name=saurian
	{UNIT_BODY_WALKING_CORPSE undead-zombie-saurian}
	[/variation]

	[variation]
	variation_name=mounted
	{UNIT_BODY_WALKING_CORPSE undead-zombie-mounted}
	[/variation]
[/unit]

