
BEGIN Object
	Name				 WaterTank
	Height				 3
	Width				 3
	ConstructionTime	 0
	Price				 -1500
    RenderDepth          1
	MoveSpeedFactor		 0.500000
	Toughness			 15.0000
	Group				 StaticObject
	Properties			 StaticObject
	MadeOf				 HollowMetal
	NumSlots			 8
	NumSprites			 6
	BlockedBy			 Wall
	BlockedBy			 StaticObject
	BlockedBy			 UtilityStation
	BlockedBy			 MustBeOutdoor
	BEGIN Sprite		 x 1 y 1 w 6 h 6 RotateType 4 TopAligned false
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 0 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 1 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 2 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 3 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 4 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 5 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 6 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 7 END
	END
	BEGIN Sprite		 x 7 y 1 w 6 h 6 RotateType 4 TopAligned false
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 0 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 1 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 2 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 3 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 4 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 5 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 6 END
		BEGIN	Marker	 x 3 y 3 orientation.x 0.0 orientation.y 0.0 Index 7 END
	END
	BEGIN	Sprite		 x 1 y 7 w 2 h 2 RotateType 4	END
	BEGIN	Sprite		 x 1 y 9 w 2 h 2 RotateType 4	END
	BEGIN	Sprite		 x 1 y 11 w 2 h 2 RotateType 4	END
	BEGIN	Sprite		 x 1 y 13 w 2 h 2 RotateType 4	END
	Properties			 DontAvoid
	Properties			 Scripted
END

BEGIN Object
	Name				 WaterTankSearcher
	Height				 1
	Width				 1
	Properties			 Vehicle
    MaxStackSize         -1  
	NumSlots			 4
	BEGIN Sprite		 x 0 y 0 w 1 h 1 RotateType 4 TopAligned false
		BEGIN	Marker	 x 0.5 y 0.5 orientation.x 0.0 orientation.y 0.0 Index 0 END
		BEGIN	Marker	 x 0.5 y 0.5 orientation.x 0.0 orientation.y 0.0 Index 1 END
		BEGIN	Marker	 x 0.5 y 0.5 orientation.x 0.0 orientation.y 0.0 Index 2 END
		BEGIN	Marker	 x 0.5 y 0.5 orientation.x 0.0 orientation.y 0.0 Index 3 END
	END
	Properties			 DontAvoid
	Properties			 Scripted
END

# define required objects for rooms before the rooms
BEGIN Object
	Name				 FiremanLocker
	ConstructionTime	 0
	RenderDepth			 1
	MoveSpeedFactor		 0.500000
	Toughness			 50.0000
	Price				 -50
	AttachToWall		 false
	Group				 StaticObject
	BlockedBy			 Wall
	Properties			 RoomSpecific
	BlockedBy			 StaticObject
	BlockedBy			 UtilityStation
	BEGIN	Sprite		 x 14 y 1 w 2 h 3 RotateType 3 END
	MadeOf				 HollowMetal
	Properties			 RoomSpecific
	Properties			 StaticObject
	Properties			 Scripted
END

BEGIN Object     
    Name                 FiremanShowerHead  
    ConstructionTime     1.00000  
    Price                -20  
    RenderDepth          3  
    AttachToWall         true    
    BlockedBy            Wall    
    BlockedBy            UtilityStation
	NumSlots			 2
	BEGIN	Sprite		 x 14 y 5 w 2 h 2 RotateType 3
		BEGIN	Marker	 x 1 y 1 orientation.x 0.0 orientation.y 0.0 Index 0 END
		BEGIN	Marker	 x 1 y 1 orientation.x 0.0 orientation.y 0.0 Index 1 END
	
	END
    MadeOf               HollowMetal
    ToolbarSprite        ShowerHeadToolbar
	Properties			 RoomSpecific
    Properties           StaticObject
    Properties           DontAvoid
	Properties			 Scripted
END

#define rooms before entities with HangOutRoom property
BEGIN Room
    Name				 PrisonFireBrigade
    Properties			 RequiresSector
    BEGIN Requirement Type Object  Id OfficeDesk  END
    BEGIN Requirement Type Object  Id Chair  END
    BEGIN Requirement Type Object  Id FiremanLocker  END
    BEGIN Requirement Type Object  Id FiremanShowerHead  END
    BEGIN Requirement Type Indoor  END
    BEGIN LikelyObject	Id		StaffDoor	    END
    BEGIN LikelyObject	Id		Tv	    END
    BEGIN LikelyObject	Id		Radio	    END
    BEGIN LikelyObject	Id		DrinkMachine	    END
    BEGIN LikelyObject	Id		SofaChairSingle	    END
    BEGIN LikelyObject	Id		SofaChairDouble	    END
    BEGIN Contraband    Id      MobilePhone     END
    BEGIN Contraband    Id      Booze           END
    BEGIN Contraband    Id      Cigs            END
    BEGIN Contraband    Id      Lighter         END
    BEGIN Contraband    Id      Axe             END
    Properties           StaffCanUseFacilities
END

BEGIN Room
    Name				 WaterTankArea
    Properties			 RequiresSector
    BEGIN Requirement	 Type	 MinimumSize	 x 3	 y 3	 END  
    BEGIN Requirement	 Type	 Object	 Id	 WaterTank			 END
END

BEGIN Object
	Name				 FiremanAreaCovered
	Width				 1
	Height				 1
	Toughness			 10000.000
	RenderDepth			 0
	Sprite				 Fire
	Properties			 Scripted
END

BEGIN Object
	Name				 FiremanTLAreaCovered
	Width				 1
	Height				 1
	Toughness			 10000.000
	RenderDepth			 0
	SpriteScale			 0.5
	BEGIN Sprite		 x 4 y 7 w 2 h 2 RotateType 4 END
	Properties			 Scripted
END

BEGIN Object
	Name				 FiremanTRAreaCovered
	Width				 1
	Height				 1
	Toughness			 10000.000
	RenderDepth			 0
	SpriteScale			 0.5
	BEGIN Sprite		 x 4 y 7 w 2 h 2 RotateType 4 END
	Properties			 Scripted
END

BEGIN Object
	Name				 FiremanBLAreaCovered
	Width				 1
	Height				 1
	Toughness			 10000.000
	RenderDepth			 0
	SpriteScale			 0.5
	BEGIN Sprite		 x 4 y 7 w 2 h 2 RotateType 4 END
	Properties			 Scripted
END

BEGIN Object
	Name				 FiremanBRAreaCovered
	Width				 1
	Height				 1
	Toughness			 10000.000
	RenderDepth			 0
	SpriteScale			 0.5
	BEGIN Sprite		 x 4 y 7 w 2 h 2 RotateType 4 END
	Properties			 Scripted
END

BEGIN Object
	Name				 HoseIcon
	Width				 1
	Height				 1
	Toughness			 10000.000
	RenderDepth			 2
	Sprite				 Hose
	Properties			 MobileObject
END

# define entities with HangOutRoom after the room definitions
BEGIN Object     
    Name                 Fireman
    RenderDepth          2
    Toughness            10
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	NumSprites			 2
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN Sprite		 x 4 y 11 h 2 w 2 RotateType 1 END
	BEGIN Sprite		 x 4 y 13 h 2 w 2 RotateType 1 END
	BEGIN Sprite		 x 4 y 0 h 2 w 2 RotateType 1 END
    Properties           Entity
    Properties           DoesNotTire
	Properties			 DontAvoid
    Equipment            Hose
END

BEGIN Object     
    Name                 PrisonFireman
    Toughness            25.0000
    Price                -500
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object
	Name				 CashBack
	Price				 -1000
	Toughness			 1.0000
	Width				 1
	Height				 1
	Toughness			 10000.000
	RenderDepth			 0
	SpriteScale			 0.5
	MaxStackSize		 10
	BEGIN Sprite		 x 4 y 7 w 2 h 2 RotateType 4 END
	StackSprite			 StackBrick
	Properties			 Material
	Properties			 Sellable
END

BEGIN Object     
    Name                 PrisonFiremanA0
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 15 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 17 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanA1
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 7 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 9 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanA2
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 11 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 13 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanA3
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 11 h 2 w 2 RotateType 1 END
	BEGIN Sprite		 x 4 y 13 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 15 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 17 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanB0
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 7 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 9 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanB1
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 11 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 13 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanB2
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 15 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 17 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanB3
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 11 h 2 w 2 RotateType 1 END
	BEGIN Sprite		 x 4 y 13 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 15 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 17 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanC0
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 15 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 17 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanC1
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 15 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 17 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanC2
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 11 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 13 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanC3
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 11 h 2 w 2 RotateType 1 END
	BEGIN Sprite		 x 4 y 13 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 7 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 9 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanD0
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 15 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 17 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanD1
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 15 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 17 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanD2
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 7 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 4 y 9 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 7 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 9 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name                 PrisonFiremanD3
    Toughness            25.0000
	Upkeep				 -100
    RenderDepth          2
    ViewRange            3
    BlockedBy            Wall
    BlockedBy            StaticObject
    BlockedBy            UtilityStation
	BEGIN Sprite		 x 4 y 11 h 2 w 2 RotateType 1 END
	BEGIN Sprite		 x 4 y 13 h 2 w 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 11 w 2 h 2 RotateType 1 END
	BEGIN	Sprite		 x 12 y 13 w 2 h 2 RotateType 1 END
    Properties           Entity
	Properties			 DontAvoid
    Properties           Staff
	Properties           DefaultBehaviour
	Properties			 Scripted
    Properties           StaffNeeds
	HangOutRoom          PrisonFireBrigade
END

BEGIN Object     
    Name            	     FireStarter
    Price					 -1
    Sprite      	         Fire
    Properties      	     Entity
    Properties				 DoesNotTire
    Properties      	     Staff
	Properties      	     Scripted
END

BEGIN Callout
	Name				 PrisonFirebrigade
	Cost				 -1
	MaxNumber			 4
	Vehicle				 WaterTankSearcher
	Entity				 Fireman
	NumEntities			 4
	Sprite				 EmergencyFireEngine
END
