# BETTER BOOKCASES - BOOKS
# When reading books satisfies literature, luxuries and privacy needs

BEGIN ProviderRule
	Action           Reading
	ProviderType     Object
	Object           Book
	PrimaryNeed      Literacy
	PrimaryRate      -20.000000
	ActionType       Use
	Flags	     UsesEntireObject
END

BEGIN ProviderRule
	Action	        GetBook
	ProviderType	Object
	Object	        Bookshelf
	PrimaryNeed	Literacy
	PrimaryRate	-15.000000
	SecondaryNeed	Spirituality
	SecondaryRate	-15.000000
	ActionType      ReadBook
	Flags           Shareable
END

BEGIN ProviderRule
	ProviderType	Object
	Object          Bookshelf
	PrimaryNeed	Literacy
	PrimaryRate	-15.000000
	SecondaryNeed	Luxuries
	SecondaryRate	-15.000000
	ActionType	Use
	Flags		Passive
END

BEGIN Provider
	Action	        Pray
	ProviderType	Object
	Object	        Bookshelf
	PrimaryNeed	Spirituality
	PrimaryRate	-15.00000
	SecondaryNeed	Literacy
	SecondaryRate	-10.00000
	ActionType	Use
END

# BETTER BEDS
# Single Beds give privacy when prisoners are sleeping.

BEGIN ProviderRule
	Action 		Sleep
	ProviderType	Object
	Object          Bed
	Slot	        1
	Regime          Sleep
	PrimaryNeed     Sleep
	PrimaryRate	-1.000000
	SecondaryNeed	Comfort
	SecondaryRate	-1.000000
	ActionType	Sleep
	Flags		RequiresNight
	Flags	        UsesEntireObject
END

BEGIN ProviderRule
	Action 		Sleep
	ProviderType	Object
	Object          SuperiorBed
	Slot	        1
	Regime          Sleep
	PrimaryNeed     Sleep
	PrimaryRate	-2.000000
	SecondaryNeed	Comfort
	SecondaryRate	-1.000000
	ActionType	Sleep
	Flags		RequiresNight
	Flags	        UsesEntireObject
END

BEGIN ProviderRule
	Action	        Relax
	ProviderType	Object
	Object	        Bed
	Slot	        1
	Regime          Sleep
	PrimaryNeed	Comfort
	ActionType	Use
	Flags	        RequiresQuiet
	Flags	        UsesEntireObject
END

BEGIN ProviderRule
	Action	        Relax
	ProviderType	Object
	Object	        SuperiorBed
	Slot	        1
	Regime          Sleep
	PrimaryNeed	Comfort
	ActionType	Use
	Flags	        RequiresQuiet
	Flags	        UsesEntireObject
END

# USEFUL SNACK AND DRINK MACHINES

BEGIN ProviderRule
	Action	        EatSnack
	ProviderType	Object
	Object	        SnackMachine
	PrimaryNeed	Luxuries
	PrimaryRate	-20.000000
	SecondaryNeed	Food
	SecondaryRate	-10.000000
	ActionType	Use
    	Flags           NoRoomRequired
        Flags		Shareable
    	Priority        2
END

BEGIN ProviderRule
	Action	        Shopping
	ProviderType	Object
	Object	        DrinkMachine
	PrimaryNeed	Food
	PrimaryRate	-20.00000
	SecondaryNeed	Bladder
	SecondaryRate	10.000000
	ActionType	Drink
    	Flags           NoRoomRequired
        Flags		Shareable
    	Priority        2
END

BEGIN ProviderRule
	Action		Shopping
	ProviderType	Object
	Object		ShopFront
	Regime		FreeTime
	PrimaryNeed	Luxuries
	PrimaryRate	-20.00
	SecondaryNeed	Recreation
	SecondaryRate	-10.50
	ActionType	Use
	Priority	1
	Flags		Shareable
	Flags		RequiresCash
	Flags		UsesEntireObject
END