BEGIN Object
    Name                 MailDesk
    ConstructionTime     1.50000
    MoveSpeedFactor      1.000000  
    Price                -200  
    Width                3
    RenderDepth          0
    Group                StaticObject  
    BlockedBy            Wall  
    BlockedBy            StaticObject  
    BlockedBy            UtilityStation  
    Properties           StaticObject
    Properties           Scripted  
    Properties           CanPlaceOnRoad
    BEGIN   Sprite
        x 0
        y 12
        w 6
        h 2
        RotateType 4
    END
END

BEGIN Object
    Name                 MailDelivery
    RenderDepth          0
    Properties           Scripted
    #WorkGroup            Mail
    Width                0
    Height               0
    BEGIN   Sprite
        x 0
        y 0
        w 0
        h 0
        RotateType 4
    END
END

BEGIN Object
    Name                 PrisonerMail
    RenderDepth          2
    SpriteScale          0.5
    Price                -1000000000
    Toughness            1.0000
    #WorkGroup            Mail
    BEGIN   Sprite
        x 6   
        y 2
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 7   
        y 2
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 6   
        y 3
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 7   
        y 3
        w 1
        h 1
        RotateType 4
    END    
END

BEGIN Object
    RenderDepth          2
    SpriteScale          0.5
    Name                 PrisonerMailDelivered
    BEGIN   Sprite
        x 6   
        y 2
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 7   
        y 2
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 6   
        y 3
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 7   
        y 3
        w 1
        h 1
        RotateType 4
    END    
END

BEGIN Object
    Name                 InMailBag
    Price                -1000000000
    Toughness            1.0000
    RenderDepth          2
    Properties           Material
    #WorkGroup            Mail
    MaxStackSize         3
    BEGIN   Sprite
        x 0   
        y 2
        w 2
        h 2
        RotateType 4
    END
    BEGIN StackSprite
        x 4
        y 14 
        w 2
        h 2
        RotateType 0
    END    
END

BEGIN Object
    Name                 OutMailBag
    Price                -10
    RenderDepth          2
    Toughness            1.0000
    Properties           Sellable
    #WorkGroup            Mail
    MaxStackSize         3
    BEGIN   Sprite
        x 4   
        y 2
        w 2
        h 2
        RotateType 4
    END
    BEGIN StackSprite
        x 4
        y 10 
        w 2
        h 2
        RotateType 4
    END        
END

BEGIN Object     
    Name                 SortedMail
    Price                -1000000000
    RenderDepth          2
    Toughness            2.0000  
    Properties           Material
    BEGIN Sprite
        x 2
        y 2  
        w 2  
        h 2  
        RotateType 4
    END
END

BEGIN Object     
    Name                 SortingDesk
    ConstructionTime     1.00000  
    Toughness            10
    MoveSpeedFactor      0.800000  
    Price                -1000
    Width                3  
    #RenderDepth          1
    RenderDepth          0
    NumSlots             3  
    Group                StaticObject  
    MadeOf               HollowMetal
    Properties           StaticObject
    #Properties           RoomSpecific 
    Properties           Processor
    BlockedBy            Wall  
    BlockedBy            StaticObject  
    BlockedBy            UtilityStation  
    #WorkGroup            Mail
	    #AutoOrder            InMailBag
	    #AutoOrderQuantity    3
    BEGIN Sprite
        x 0 
        y 6  
        w 6  
        h 3  
        RotateType 4
        BEGIN Marker
           x             1.0
           y             1.45
           orientation.x 0.0
           orientation.y 0.0
           Index         0
        END
        BEGIN Marker
           x             3.0
           y             1.45
           Index         1
        END
        BEGIN Marker
           x             5.0
           y             1.45
           Index         2
        END        
    END
END

BEGIN Object     
    Name                 LoadedMailCart
    Price                -1000000000
    RenderDepth          1
    NumSlots             1  
    Properties           StaticObject
    BEGIN Sprite
        x 10 
        y 2  
        w 2  
        h 2 
        RotateType 4
    END  
END

BEGIN Object     
    Name                 EmptyMailCart
    Price                -1000000000
    RenderDepth          1
    NumSlots             1  
    Properties           StaticObject
    BEGIN Sprite
        x 10 
        y 0  
        w 2  
        h 2 
        RotateType 4
    END
END

BEGIN Object     
    Name                 AdminMailCart
    Price                -1000000000
    RenderDepth          1
    NumSlots             1  
    Properties           StaticObject
    # 0 empty
    BEGIN Sprite
        x 10 
        y 0  
        w 2  
        h 2 
        RotateType 4
    END
    # 1 outmail
    BEGIN Sprite
        x 10 
        y 4  
        w 2  
        h 2 
        RotateType 4
    END     
END

BEGIN Object     
    Name                 ReturnMailCart
    ConstructionTime     1.00000  
    Price                -100  
    RenderDepth          1
    NumSlots             1  
    BlockedBy            Wall  
    BlockedBy            StaticObject  
    BlockedBy            UtilityStation  
    Properties           StaticObject
    # empty
    BEGIN Sprite
        x 10 
        y 0  
        w 2  
        h 2  
        RotateType 4
    END
    # 1 outmail
    BEGIN Sprite
        x 10 
        y 4  
        w 2  
        h 2 
        RotateType 4
    END
END

BEGIN Object     
    Name                 PrisonerMailMarker
    ConstructionTime     1.00000  
    Price                -10  
    RenderDepth          0
    Group                StaticObject
    BlockedBy            Wall  
    BlockedBy            StaticObject  
    BlockedBy            UtilityStation  
    Properties           StaticObject
    Properties           Scripted
    BEGIN Sprite
        x 0 
        y 4  
        w 2  
        h 2  
        RotateType 0
    END
END

BEGIN Object     
    Name                 MailMarkerSlot
    RenderDepth          0
    NumSlots             1
    Width                1
    Height               1
    BEGIN Sprite
        x 0 
        y 0
        w 0  
        h 0  
        RotateType 4
    END    
END

BEGIN Object     
    Name                 ReturnCartMarker
    ConstructionTime     1.00000  
    Price                -10  
    RenderDepth          0
    NumSlots             1  
    Group                StaticObject
    BlockedBy            Wall  
    BlockedBy            StaticObject  
    BlockedBy            UtilityStation  
    Properties           StaticObject
    Properties           Scripted
    BEGIN Sprite
        x 2 
        y 4  
        w 2  
        h 2  
        RotateType 0
    END
END

BEGIN Object     
    Name                 MailBox
    ConstructionTime     2.00000
    Price                -250
    Group                StaticObject
    BlockedBy            Wall  
    BlockedBy            StaticObject  
    BlockedBy            UtilityStation  
    Properties           StaticObject
    BEGIN Sprite
        x 6 
        y 6  
        w 2  
        h 3  
        RotateType 0
    END
END

##### ADMIN #####
BEGIN Object     
    Name                 AdminMailMarker
    ConstructionTime     1.00000  
    Price                -10  
    RenderDepth          0
    NumSlots             2
    Group                StaticObject
    BlockedBy            Wall  
    BlockedBy            StaticObject  
    BlockedBy            UtilityStation  
    Properties           StaticObject
    Properties           Scripted
    BEGIN Sprite
        x 4
        y 4  
        w 2  
        h 2  
        RotateType 0
        BEGIN Marker
           x             1.0
           y             1.0
           orientation.x 0.0
           orientation.y 0.0
           Index         0
        END
        BEGIN Marker
           x             1.0
           y             1.0
           Index         1
        END                
    END
END

BEGIN Object
    Name                 AdminInMailDelivery
    RenderDepth          0
    Properties           Scripted
    #WorkGroup            Mail
    Width                0
    Height               0
    BEGIN Sprite
        x 0 
        y 0
        w 0  
        h 0  
        RotateType 4
    END    
END

BEGIN Object
    RenderDepth          2
    Name                 AdminInMail
    Price                -1000000000
    Toughness            1.0000
    SpriteScale          0.7
    #WorkGroup            Mail
    BEGIN   Sprite
        x 6   
        y 2
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 7   
        y 2
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 6   
        y 3
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 7   
        y 3
        w 1
        h 1
        RotateType 4
    END    
END

BEGIN Object
    RenderDepth          2
    Name                 AdminOutMailDelivery
    RenderDepth          0
    Properties           Scripted
    #WorkGroup            Mail
    Width                0
    Height               0
    BEGIN Sprite
        x 0 
        y 0
        w 0  
        h 0  
        RotateType 4
    END    
END

BEGIN Object
    RenderDepth          2
    Name                 AdminOutMail
    Price                -1000000000
    Toughness            1.0000
    #WorkGroup            Mail
    BEGIN   Sprite
        x 6   
        y 4
        w 2
        h 2
        RotateType 4
    END
END

BEGIN Object
    Name                 AdminOutMailSlot
    RenderDepth          0
    NumSlots             1
    Width                1
    Height               1
    BEGIN Sprite
        x 0 
        y 0
        w 0  
        h 0  
        RotateType 4
    END    
END

BEGIN Object
    RenderDepth          2
    Properties           Scripted
    Name                 AdminMailDelivered
    BEGIN   Sprite
        x 6   
        y 2
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 7   
        y 2
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 6   
        y 3
        w 1
        h 1
        RotateType 4
    END
    BEGIN   Sprite
        x 7   
        y 3
        w 1
        h 1
        RotateType 4
    END    
END

#BEGIN Object
#    Name                 MailMan
#    MoveSpeedFactor      1.200000  
#    Toughness            20.0000  
#    RenderDepth          2
#    Price		 -500  
#    #Research             Mail
#    BlockedBy            Wall  
#    BlockedBy            StaticObject  
#    BlockedBy            UtilityStation    
#    Properties           Entity
#    Properties           Staff
#    #Properties           Administrator	
#    #Properties           RoomSpecific
#    #Equipment            Scissors
#    BEGIN Sprite 
#        x 0
#        y 0
#        w 2
#        h 2 
#    RotateType 1
#    END
#    BEGIN ToolbarSprite
#        x 0
#        y 0 
#        w 2 
#        h 2 
#    END
#END

BEGIN Object     
    Name                 MailPunish
    Price                -100
    Properties           Material
    Width                0
    Height               0
    BEGIN Sprite
        x 0 
        y 0
        w 0  
        h 0  
        RotateType 4
    END    
END

BEGIN Object     
    Name                 MailTruck  
    Width                2  
    Height               6  
    MaxStackSize         -1  
    NumSlots             4
    Properties           Vehicle
        BEGIN Sprite
        x 12 
        y 0  
        w 4  
        h 12  
        RotateType 0
    END    
END

BEGIN Room       
    Name                  MailOffice
    BEGIN Requirement Type Indoor  END
    BEGIN Requirement Type MinimumSize  x 2  y 3       END
    BEGIN Requirement Type Object  Id SortingDesk      END
    BEGIN Requirement Type Object  Id Chair            END
    BEGIN Requirement Type Object  Id ReturnCartMarker END
    BEGIN LikelyObject  Id      ReturnMailCart  END
    BEGIN LikelyObject	Id      StaffDoor       END
    BEGIN Contraband    Id      Cigs            END
    BEGIN Contraband    Id      Lighter         END
    BEGIN Contraband    Id      MobilePhone     END
    BEGIN Contraband    Id      Poison          END
    BEGIN Contraband    Id      Medicine        END
    BEGIN Contraband    Id      Scissors        END
    BEGIN Contraband    Id      Knife           END
    BEGIN Contraband    Id      Drugs           END
    #Properties           PrisonersCanWork
    # does not currently work
    BEGIN ToolbarSprite
        x 13
        y 13
        w 3
        h 3
        RotateType 4    
    END
END
