(define UNIT_TRIREMA      10)

(define_menu    MENU_TRIREMA
        (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          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button 
                (icon           PLACUTA_3_1)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button 
                (icon           PLACUTA_3_2)
                (state          DISABLED)
                (type           BUTTON)
                (command        NONE)
        )
        (button
                (icon           CANCEL)
                (state          NORMAL)
                (type           BUTTON)
                (command        STOP)
        )
)

(define_unit
        (id             UNIT_TRIREMA)
        (ai_type        AI_BIG_BOAT)
        (name           "Trirema romana")
	(portrait	".\\data\\graphics\\roman\\portrait\\trirema.bmp")
	(icon		TRIREMA-MIC)
        (options        (+ O_STAY O_THROW_ROCK))
        (price1         250)
        (price2         100)
        (price3         10)
        (view           9)
	(min_range	3)
	(max_range	9)
	(radius		60)
        (build_time     3000)
        (speed          40)
        (armor          500)
	(weapon1	BULLET-1)
        (grp            ".\\data\\graphics\\roman\\units\\trirema.spr")
        (palette        ".\\data\\graphics\\roman\\units\\trirema.p24")
        (sounds         SOUNDS_MONOXILA)
        (menu           MENU_TRIREMA)
        (size           3)
        (directions     5)                     

        (animation ANIMATION_MOVE up        (seq 33 40) )
        (animation ANIMATION_MOVE up-left   (seq 25 32) )
        (animation ANIMATION_MOVE left      (seq 17 24) )
        (animation ANIMATION_MOVE down-left (seq 9  16) )
        (animation ANIMATION_MOVE down      (seq 1  8 ) )

        (animation ANIMATION_STAY up        (seq 85 89))
        (animation ANIMATION_STAY up-left   (seq 76 80))
        (animation ANIMATION_STAY left      (seq 67 71))
        (animation ANIMATION_STAY down-left (seq 58 62))
        (animation ANIMATION_STAY down      (seq 49 53))

        (animation ANIMATION_START up        (seq 85 81))
        (animation ANIMATION_START up-left   (seq 76 72))
        (animation ANIMATION_START left      (seq 67 63))
        (animation ANIMATION_START down-left (seq 58 54))
        (animation ANIMATION_START down      (seq 49 45))

        (animation ANIMATION_STOP up        (seq 81 85))
        (animation ANIMATION_STOP up-left   (seq 72 76))
        (animation ANIMATION_STOP left      (seq 63 67))
        (animation ANIMATION_STOP down-left (seq 54 58))
        (animation ANIMATION_STOP down      (seq 45 49))
	 
        (animation ANIMATION_DIE up        (seq 90 93))
        (animation ANIMATION_DIE up-left   (seq 90 93))
        (animation ANIMATION_DIE left      (seq 90 93))
        (animation ANIMATION_DIE down-left (seq 90 93))
        (animation ANIMATION_DIE down      (seq 90 93))
	
	(animation ANIMATION_CHANGE_DIRECTION up 	41 42 43 44)
	(animation ANIMATION_CHANGE_DIRECTION up-left 	41 42 43 44)
	(animation ANIMATION_CHANGE_DIRECTION left 	41 42 43 44)
	(animation ANIMATION_CHANGE_DIRECTION down-left 41 42 43 44)
	(animation ANIMATION_CHANGE_DIRECTION down	41 42 43 44)

        (animation ANIMATION_THROW_WEAPON up        (seq 85 89) )
        (animation ANIMATION_THROW_WEAPON up-left   (seq 76 80) )
        (animation ANIMATION_THROW_WEAPON left      (seq 67 71) )
        (animation ANIMATION_THROW_WEAPON down-left (seq 58 62) )
        (animation ANIMATION_THROW_WEAPON down      (seq 49 53) )
)
