
-- *************************************************
-- station's working parameters
-- *************************************************

-- NOTES:

-- Posible basic configurations (depends on the station type)

-- baseWorkingTime: station's working time
-- baseSetupTime: station's setup time
-- basePrice: station's use price
-- basePatienceIncrement: amount the station increments customer's patience
-- baseCapacity: station's capacity to hold objects (Ie: CashRegister's capacity to hold Customers)
-- baseRelaxationFactor: station's relaxing factor
-- workingOverlayDispX: percentaje of x displacement of the station working overlay (from the center of the station's texture)
-- workingOverlayDispY: percentaje of y displacement of the station working overlay (from the botton of the station's texture)



-- Posible station upgrades (depends on the station type)

-- workingTimeFactor: a percentaje of the time to be deducted from the station's working time
--					 (a negative value increments the working and setup time)
-- relaxatingFactor: a percentaje to be multiplied to the customer relaxing rate (0 <= x <=1)
--					if 1, the relaxing is perfect ( the customer does not lose patience)
-- priceFactor: a percentaje of the price to be added to the total price
-- patienceIncrement: amount of customer's patience to be added by the upgrade
-- capacityIncrement: amount of station's capacity to be added by the upgrade


-- The following comments explains the formulas used to calculate each station's attibute

-- for all the working time calculation, the formula is:
-- time = baseWorkingTime * (1 - (Upgrade1.workingTimeFactor + Upgrade2.workingTimeFactor) )
-- negative increments makes the working time to increase

-- for all the relaxing calculation, the formula is:
-- relaxing = 1 + ( Upgrade1.relaxatingFactor + Upgrade2.relaxatingFactor )

-- for all the money calculation, the formula is:
-- totalPrice = basePrice * (1 + Upgrade1.priceFactor + Upgrade2.priceFactor )

-- for all the patience, the formula is:
-- totalPatience = basePatience + Upgrade1.patience + Upgrade2.patience )


-- PS: if a value is not defined, it is asigned 0 automatically regardless of the meaning of the variable


-- Configuration
SetStationConfiguration {
	StationCashRegister = {
		BaseConfiguration = {
			baseWorkingTime = 500.0,			
			baseCapacity = 3.0,
			basePatienceIncrement = 0.0,			
			workingOverlayDispX = 0,
			workingOverlayDispY = -0.5,
		},
		Upgrades = {
			-- first upgrade
			{
				workingTimeFactor = 0.0,
				capacityIncrement = 1.0,
			},
			-- second upgrade
			{
				workingTimeFactor = 0.0,
				capacityIncrement = 1.0,
			},
		},
	},
	StationChangingRoomIn = {
		BaseConfiguration = {
			baseWorkingTime = 2500,
			baseSetupTime = 5000,		-- -- 2500
			baseCapacity = 3.0,		-- 5.0
			basePatienceIncrement = 0.0,
			workingOverlayDispX = 0,
			workingOverlayDispY = -0.2,
			
		},
		Upgrades = {
			-- first upgrade
			{				
				capacityIncrement = 1.0,
			},
			-- second upgrade
			{				
				capacityIncrement = 1.0,
			},
		},
	},
	
	StationChangingRoomOut = {
		BaseConfiguration = {
			baseWorkingTime = 2500,
			basePatienceIncrement = 0.0,
			workingOverlayDispX = 0,
			workingOverlayDispY = -0.5,
			
		},
		Upgrades = {
			-- first upgrade
			{				
				workingTimeFactor = 0.0,
			},
			-- second upgrade
			{				
				workingTimeFactor = 0.0,
			},
		},
	},	
	
	StationFoodTable = {
		BaseConfiguration = {
			baseSetupTime = 12000,
			baseCapacity = 2.0,			
			workingOverlayDispX = 0,
			workingOverlayDispY = -0.5,
			
		},
		Upgrades = {
			-- first upgrade
			{	
				workingTimeFactor = -0.2,			
				capacityIncrement = 1.0,
			},
			-- second upgrade
			{	
				workingTimeFactor = -0.4,			
				capacityIncrement = 1.0,
			},
		},
	},	
	
	StationIncense = {
		BaseConfiguration = {
			baseWorkingTime = 5000,					
			baseRelaxationFactor = 0.2,
			basePatienceIncrement = 1.0,
			workingOverlayDispX = 0,
			workingOverlayDispY = -1.2,
			
		},
	},	
	
	StationJacuzzi = {
		BaseConfiguration = {
			baseWorkingTime = 3000,
			baseSetupTime = 5000,
			basePrice = 29.99,
			baseGreenPoints = 0.0,
			basePatienceIncrement = 0.0,	
			workingOverlayDispX = 0,
			workingOverlayDispY = -0.50,
			gpDispX = 0,
			gpDispY = -0.5,
					
		},
		Upgrades = {
			-- first upgrade
			{				
				workingTimeFactor = 0.2,
				eco = 
				{
					greenPointsIncrement = 1,
				},
			},
			-- second upgrade
			{			
				workingTimeFactor = 0.2 + 0.2,            
				--patienceIncrement = 1.0,
				eco = 
				{
					greenPointsIncrement = 2,
				},
			},
		},
	},	

    -- Massage Table	
	StationMassageTable = {
		BaseConfiguration = {
			baseWorkingTime = 3000.0,
			basePrice = 59.99,
			basePatienceIncrement = 0.0,
            baseGreenPoints = 0.0,
			workingOverlayDispX = 0,			
			workingOverlayDispY = -0.5,
            gpDispX = 0,
            gpDispY = -0.4,
		},
		Upgrades = {
			-- first upgrade
			{
                workingTimeFactor = 0.125,
                greenPointsIncrement = 0,
                eco = 
                {
                    greenPointsIncrement = 1,
                },
			},
			-- second upgrade
			{
                workingTimeFactor = 0.125 + 0.25,
                greenPointsIncrement = 0,
                eco = 
                {
                    greenPointsIncrement = 2,
                },
			},
		},
	},
	
    -- Shiatsu Mat
	StationShiatsuMat = {
		BaseConfiguration = {
			baseWorkingTime = 3500.0,
			basePrice = 79.99,
			basePatienceIncrement = 0.0,
            baseGreenPoints = 0,
			workingOverlayDispX = 0,
			workingOverlayDispY = -0.4,
            gpDispX = 0,
            gpDispY = -0.35,
			
		},
		Upgrades = {
			-- first upgrade
			{
                relaxatingFactor = 0.3,
				greenPointsIncrement = 0,
                eco = 
                {
                    greenPointsIncrement = 1,
                },
			},
			-- second upgrade
			{
                workingTimeFactor = 0.25,
				greenPointsIncrement = 0,
                eco = 
                {
                    greenPointsIncrement = 2,
                },				
			},
		},
	},
	
    -- Treatment Chair (treatment table in SM1)
	StationTreatmentTable = {
		BaseConfiguration = {
			baseWorkingTime = 2500.0,
			baseSetupTime = 2000.0,
			basePrice = 9.99,
			basePatienceIncrement = 0.0,
            baseGreenPoints = 0.0,
			workingOverlayDispX = 0,			
			workingOverlayDispY = -0.8,
            gpDispX = 0,
            gpDispY = -0.5,
			
		},
		Upgrades = {
			-- first upgrade
			{
				relaxatingFactor = 0.3,
                greenPointsIncrement = 0,
                eco = 
                {
                    greenPointsIncrement = 1,
                },		
			},
			-- second upgrade
			{
				workingTimeFactor = 0.25,		
                greenPointsIncrement = 0,
                eco =   
                {
                    greenPointsIncrement = 2,
                },                
			},
		},
	},	
    
     -- Stone Massage
    StationStoneMassage = {
		BaseConfiguration = {
			baseWorkingTime = 2500.0,
			basePrice = 65.0,
			basePatienceIncrement = 0.0,
            baseGreenPoints = 0.0,
			workingOverlayDispX = 0.025,			
			workingOverlayDispY = -0.35,
            gpDispX = -0.15,
            gpDispY = -0.5,
		},
		Upgrades = {
			-- first upgrade
			{
                greenPointsIncrement = 0,
                workingTimeFactor = 0.125,
                eco = 
                {
                    greenPointsIncrement = 1,
                },
			},
			-- second upgrade
			{
                greenPointsIncrement = 0,
                workingTimeFactor = 0.125 + 0.25,
                eco = 
                {
                    greenPointsIncrement = 2,
                },
			},
		},
		xPotContainerPosition = 312.0,
		yPotContainerPosition = 415.0,
	},
    
    -- Tanning bed
    StationTanningBed = {
		BaseConfiguration = {
			baseWorkingTime = 3000.0,
			basePrice = 29.99,
			basePatienceIncrement = 0.0,
            basePatienceUpkeepIncrement = 50,
            baseGreenPoints = 0,
			workingOverlayDispX = 0,			
			workingOverlayDispY = 0.29,
            gpDispX = 0,
            gpDispY = -0.5,
		},
		Upgrades = {
			-- first upgrade
			{
                greenPointsIncrement = 0,
                workingTimeFactor = 0.125,
                --patienceUpkeepIncrement = 20,
                eco = 
                {
                    greenPointsIncrement = 1,
                    --patienceUpkeepIncrement = 30,
                },
			},
			-- second upgrade
			{
                greenPointsIncrement = 0,
                workingTimeFactor = 0.125 + 0.25,
                --patienceUpkeepIncrement = 0,
                eco = 
                {
                    greenPointsIncrement = 2,
                    --patienceUpkeepIncrement = 10,
                },
			},
		},
	},
	
	StationShower = {
		BaseConfiguration = {
			baseWorkingTime = 2500.0,
			basePatienceIncrement = 0.0,
			baseGreenPoints = 0,
			-- these only affects the particle system's position
			workingOverlayDispX = 0,			
			workingOverlayDispY = -0.8,
			gpDispX = 0,
			gpDispY = -0.4,
		},
		Upgrades = {
			-- first upgrade
			{
				greenPointsIncrement = 0,
				workingTimeFactor = 0.25,
				eco = 
				{
					greenPointsIncrement = 1,
				},
			},
			-- second upgrade
			{
				workingTimeFactor = 0.25 + 0.25,
				greenPointsIncrement = 0,
				--patienceIncrement = 1.0,			
				eco = 
				{
					greenPointsIncrement = 2,
				},
			},
		},
	},
	
	StationRadio = {
		BaseConfiguration = {
			baseWorkingTime = 10000.0,
			basePatienceIncrement = 0.0,
			baseRelaxationFactor = 0.3,
			workingOverlayDispX = 420,			
			workingOverlayDispY = 5,		
		},
		Upgrades = {
			-- first upgrade
			{
				workingTimeFactor = -0.25,
			},
			-- second upgrade
			{
				workingTimeFactor = -0.50,
			},
		},
	},
    
    StationAngelCaller = {
		BaseConfiguration = {
			baseWorkingTime = 3000.0,
			baseRelaxationFactor = 0.1,
		},
		Upgrades = {
			-- first upgrade
			{
                workingTimeFactor = -0.25,
                baseRelaxationFactor = 0.2,
			},
			-- second upgrade
			{
                workingTimeFactor = -0.50,
                baseRelaxationFactor = 0.3,
			},
		},
	},
}
