
BEGIN ProductionRule
	Rule				 Storage
	Material			 Jeans
	Container			 SmallTableManufactury
	MinSlotId			 3
	MaxSlotId			 4
	Room				 Manufactury
	Worker				 Prisoner
	Worker				 Tailor
	Distribution		 Nearest
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 Jeans
	Room				 Exports
	Distribution		 Nearest
	Worker				 Prisoner
	Worker				 Tailor
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 ClothSpool
	Container			 SewingStation
	Worker				 Prisoner
	Worker				 Tailor
	Distribution		 NonCompeting
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 ClothSpool
	Container			 SewingStation
	Worker				 Prisoner
	Worker				 Tailor
	Distribution		 OutOfStock
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 ClothSpool
	Container			 SmallTableManufactury
	Room				 Manufactury
	Worker				 Prisoner
	Worker				 Tailor
	Distribution		 NonCompeting
	MinSlotId			 5
	MaxSlotId			 6
	Condition			 NotLoaded
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 ClothSpool
	Room				 Manufactury
	Worker				 Prisoner
	Worker				 Tailor
	Distribution		 NonCompeting
	Condition			 NotLoaded
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 RawCotton
	Container			 TextileMill
	Worker				 Prisoner
	Worker				 Tailor
	Distribution		 NonCompeting
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 RawCotton
	Container			 TextileMill
	Worker				 Prisoner
	Worker				 Tailor
	Distribution		 OutOfStock
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 RawCotton
	Container			 SmallGardenTableCotton
	Room				 CottonPlantation
	Distribution		 Nearest
	MinSlotId			 3
	MaxSlotId			 6
	Condition			 NotLoaded
	Properties			 HighPriority
	Worker				 Prisoner
	Worker				 PlantationWorker
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 RawCotton
	Room				 CottonPlantation
	Condition			 NotLoaded
	Distribution		 Nearest
	Worker				 Prisoner
	Worker				 PlantationWorker
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 RawCotton
	Room				 Exports
	Condition			 NotLoaded
	Distribution		 Nearest
	Worker				 Prisoner
	Worker				 PlantationWorker
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 CottonSeed
	Container			 SmallGardenTablePlantation
	Room				 CottonPlantation
	Distribution		 Nearest
	MinSlotId			 3
	MaxSlotId			 3
	Condition			 NotLoaded
	Worker				 Prisoner
	Worker				 PlantationWorker
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 CottonDDT
	Container			 SmallGardenTablePlantation
	Room				 CottonPlantation
	Distribution		 Nearest
	MinSlotId			 4
	MaxSlotId			 4
	Condition			 NotLoaded
	Properties			 HighPriority
	Worker				 Prisoner
	Worker				 PlantationWorker
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 CottonCompost
	Container			 SmallGardenTablePlantation
	Room				 CottonPlantation
	Distribution		 Nearest
	MinSlotId			 5
	MaxSlotId			 5
	Condition			 NotLoaded
	Properties			 HighPriority
	Worker				 Prisoner
	Worker				 PlantationWorker
END

BEGIN ProductionRule
	Rule				 Storage
	Material			 CottonFertilizer
	Container			 SmallGardenTablePlantation
	Room				 CottonPlantation
	Distribution		 Nearest
	MinSlotId			 6
	MaxSlotId			 6
	Condition			 NotLoaded
	Properties			 HighPriority
	Worker				 Prisoner
	Worker				 PlantationWorker
END

BEGIN Processor
	Processor			 SmallTableManufactury
	Input				 None
	Output				 None
	OperatingTime		 0
	Worker				 Prisoner
	Worker				 Tailor
END

BEGIN Processor
	Processor			 SmallGardenTableCotton
	Input				 None
	Output				 None
	OperatingTime		 0
	Worker				 Prisoner
	Worker				 Tailor
	Worker				 PlantationWorker
END

BEGIN Processor
	Processor			 SmallGardenTablePlantation
	Input				 None
	Output				 None
	OperatingTime		 0
	Worker				 Prisoner
	Worker				 PlantationWorker
END

BEGIN Processor
	Processor			 SewingStation
	Input				 ClothSpool
	InputCount			 1
	Output				 Jeans
	OutputCount			 3
	OperatingTime		 15.0
	Object				 SewingStation
	Worker				 Tailor
	Worker				 Prisoner
END

BEGIN Processor
	Processor			 TextileMill
	Input				 RawCotton
	InputCount			 1
	Output				 ClothSpool
	OutputCount			 1
	OperatingTime		 9.0
	Object				 TextileMill
	Worker				 Tailor
	Worker				 Prisoner
END
