(define UNIT_PRASTIAS      7)

(define_menu    MENU_PRASTIAS
        (button 
                (icon           ICON_MOVE)
                (state          NORMAL)
                (type           BUTTON)
                (command        MOVE)
        )
        (button 
                (icon           ICON_ATACK)
                (state          NORMAL)
                (type           BUTTON)
                (command        FIGHT)
        )
        (button 
                (icon           ICON_RETREAT)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button 
                (icon           ICON_PATROL)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button 
                (icon           ICON_GUARD)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button 
                (icon           ICON_ATACK2)
                (state          NORMAL)
                (type           BUTTON)
                (command        THROW_WEAPON)
                (object         PIETRICICA)
        )
;        (button 
;                (icon           ICON_ATACK2)
;                (state          DISABLED)
;                (type           BUTTON)
;                (command        NONE)
;        )
        (button
                (icon           ICON_ACTION)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button
                (icon           ICON_LADDER)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button 
                (icon           CANCEL)
                (state          NORMAL)
                (type           BUTTON)
                (command        STOP)
        )
)

(define_unit
        (id             UNIT_PRASTIAS)
        (ai_type        AI_WARRIOR)
        (name           "Prastias roman")
	(portrait	".\\data\\graphics\\roman\\portrait\\prastias_roman.bmp")
	(icon		PRASTIAS-MIC)
        (options        (+ O_STAY O_THROW_ROCK O_JOY))
        (price1         250)
        (price2         100)
        (price3         10)
        (view           7)
	(min_range	3)
	(max_range	7)
	(radius		12)
        (build_time     2000)
        (speed          40)
        (armor          50)
	(damage		2)
	(weapon1	PIETRICICA)
        (grp            ".\\data\\graphics\\roman\\units\\prastias.spr")
        (palette        ".\\data\\graphics\\roman\\units\\prastias.p24")
        (sounds         SOUNDS_PRASTIAS)
        (menu           MENU_PRASTIAS)
        (size           1)
        (directions     5)                     

        (animation ANIMATION_MOVE up        (seq 29 35) )
        (animation ANIMATION_MOVE up-left   (seq 22 28) )
        (animation ANIMATION_MOVE left      (seq 15 21) )
        (animation ANIMATION_MOVE down-left (seq 8  14) )
        (animation ANIMATION_MOVE down      (seq 1  7 ) )

        (animation ANIMATION_STAY up        147 148 149 148 149)
        (animation ANIMATION_STAY up-left   144 145 146 145 146)
        (animation ANIMATION_STAY left      141 142 143 142 143)
        (animation ANIMATION_STAY down-left 138 139 140 139 140)
        (animation ANIMATION_STAY down      135 136 137 136 135)

        (animation ANIMATION_DIE2 up        (seq 110 118))
        (animation ANIMATION_DIE2 up-left   (seq 110 118))
        (animation ANIMATION_DIE2 left      (seq 110 118))
        (animation ANIMATION_DIE2 down-left (seq 101 109))
        (animation ANIMATION_DIE2 down      (seq 101 109))

        (animation ANIMATION_DIE up        (seq 127 134))
        (animation ANIMATION_DIE up-left   (seq 127 134))
        (animation ANIMATION_DIE left      (seq 127 134))
        (animation ANIMATION_DIE down-left (seq 119 126))
        (animation ANIMATION_DIE down      (seq 119 126))

        (animation ANIMATION_THROW_WEAPON up            (seq 88 90) (seq 91 96) (seq 91 96) (seq 97 100))
        (animation ANIMATION_THROW_WEAPON up-left       (seq 75 77) (seq 78 83) (seq 78 83) (seq 84 87))
        (animation ANIMATION_THROW_WEAPON left          (seq 62 64) (seq 65 70) (seq 65 70) (seq 71 74))
        (animation ANIMATION_THROW_WEAPON down-left     (seq 49 51) (seq 52 57) (seq 52 57) (seq 58 61))
        (animation ANIMATION_THROW_WEAPON down          (seq 36 38) (seq 39 44) (seq 39 44) (seq 45 48))

        (animation ANIMATION_JOY up        150 151 152 151 152 151 152)
        (animation ANIMATION_JOY up-left   150 151 152 151 152 151 152)
        (animation ANIMATION_JOY left      150 151 152 151 152 151 152)
        (animation ANIMATION_JOY down-left 150 151 152 151 152 151 152)
        (animation ANIMATION_JOY down      150 151 152 151 152 151 152)
)
