(define UNIT_MONOXILA      9)

(define_menu    MENU_MONOXILA
        (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         SAGEATA-1)
        )
;        (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_MONOXILA)
        (ai_type        AI_BOAT)
        (name           "Monoxila daca")
	(portrait	".\\data\\graphics\\dac\\portrait\\monoxila_dac.bmp")
	(icon		MONOXILA-MIC)
        (options        (+ O_STAY O_JOY O_THROW_ROCK))
        (price1         250)
        (price2         100)
        (price3         10)
        (view           9)
	(min_range	3)
	(max_range	9)
	(radius		24)
        (build_time     3000)
        (speed          40)
        (armor          50)
	(weapon1	SAGEATA-1)
        (grp            ".\\data\\graphics\\dac\\units\\monoxila.spr")
        (palette        ".\\data\\graphics\\dac\\units\\monoxila.p24")
        (sounds         SOUNDS_MONOXILA)
        (menu           MENU_MONOXILA)
        (size           2)
        (directions     5)                     

        (animation ANIMATION_MOVE up        (seq 21 25) )
        (animation ANIMATION_MOVE up-left   (seq 16 20) )
        (animation ANIMATION_MOVE left      (seq 11 15) )
        (animation ANIMATION_MOVE down-left (seq 6  10) )
        (animation ANIMATION_MOVE down      (seq 1  5 ) )

        (animation ANIMATION_STAY up        104 105 106 105 104)
        (animation ANIMATION_STAY up-left   101 102 103 102 101)
        (animation ANIMATION_STAY left      98 99 100 99 98)
        (animation ANIMATION_STAY down-left 95 96 97 96 95)
        (animation ANIMATION_STAY down      92 93 94 93 92)


        (animation ANIMATION_DIE up        (seq 84 91))
        (animation ANIMATION_DIE up-left   (seq 84 91))
        (animation ANIMATION_DIE left      (seq 84 91))
        (animation ANIMATION_DIE down-left (seq 76 83))
        (animation ANIMATION_DIE down      (seq 76 83))

        (animation ANIMATION_JOY up        107 108 109 108 107 109 108 107 108 109)
        (animation ANIMATION_JOY up-left   107 108 109 108 107 109 108 107 108 109)
        (animation ANIMATION_JOY left      107 108 109 108 107 109 108 107 108 109)
        (animation ANIMATION_JOY down-left 107 108 109 108 107 109 108 107 108 109)
        (animation ANIMATION_JOY down      107 108 109 108 107 109 108 107 108 109)

        (animation ANIMATION_THROW_WEAPON up        (seq 66 75) ); (seq 70 76))
        (animation ANIMATION_THROW_WEAPON up-left   (seq 56 65) ); (seq 60 56))
        (animation ANIMATION_THROW_WEAPON left      (seq 46 55) ); (seq 51 55))
        (animation ANIMATION_THROW_WEAPON down-left (seq 36 45) ); (seq 40 36))
        (animation ANIMATION_THROW_WEAPON down      (seq 26 35) ); (seq 30 26))
)
