
-- the description will be composed as Title + "_desc"
-- both title and description are the keys from the string table

-- IMPORTANT!!!!!!
-- If new upgrades are added, please notify a programmer as the NUMBER_OF_REGISTERED_UPGRADES (in stdafx.h)
-- contant needs to change
-- the reason is that we store an int in GameUserData for each RegisteredUpgrade
-- the array is defined as: int[NUMBER_OF_REGISTERED_UPGRADES].
-- if the number of upgrades registered is bigger than NUMBER_OF_REGISTERED_UPGRADES an assert will be triggered!

-- Massage Tables
-- *******************************************
RegisterUpgrade(
{
	EntityName = "massagetable1",
	UpgradeState = "2",
	Level = 1,
	SubLevel = 4,
	Cost = 1200.0,
	Title = "massage_table_upgrade_2",
    Priority = 3,
    
	-- The upgrade has an ecological variation
    Eco = 
    {
        Title = "massagle_table_upgrade_2_eco",
        Cost = 1200.0,
    },
});

RegisterUpgrade(
{
	EntityName = "massagetable1",
	UpgradeState = "3",
	Level = 7,
	SubLevel = 3,
	Cost = 4000.0,
	Title = "massage_table_upgrade_3",
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "massagle_table_upgrade_2_eco",
        Cost = 4000.0,
    },
});

------------------------------------------------
RegisterUpgrade(
{
	EntityName = "massagetable2",
	UpgradeState = "1",
	Level = 2,
	SubLevel = 3,
	Cost = 2500.0,
	Title = "massage_table_upgrade_1",
	Priority = 3,
});

RegisterUpgrade(
{
	EntityName = "massagetable2",
	UpgradeState = "2",
	Level = 4,
	SubLevel = 2,
	Cost = 2016.0,
	Title = "massage_table_upgrade_2",
    Priority = 3,
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "massagle_table_upgrade_2_eco",
        Cost = 2000.0,
    },
});

RegisterUpgrade(
{
	EntityName = "massagetable2",
	UpgradeState = "3",
	Level = 7,
	SubLevel = 5,
	Cost = 4000.0,
	Title = "massage_table_upgrade_3",
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "massagle_table_upgrade_2_eco",
        Cost = 4000.0,
    },
});

-- Treatment Tables
-- *******************************************
RegisterUpgrade(
{
	EntityName = "treattable1",
	UpgradeState = "2",
	Level = 2,
	SubLevel = 3,
	Cost = 3000.0,
	Title = "treatment_table_upgrade_2",
    Priority = 1,
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "treatment_table_upgrade_2_eco",
        Cost = 3000.0,
    },
});

RegisterUpgrade(
{
	EntityName = "treattable1",
	UpgradeState = "3",
	Level = 8,
	SubLevel = 1,
	Cost = 5000.0,
	Title = "treatment_table_upgrade_3",
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "treatment_table_upgrade_3_eco",
        Cost = 5000.0,
    },
});

------------------------------------------------
RegisterUpgrade(
{
	EntityName = "treattable2",
	UpgradeState = "1",
	Level = 5,
	SubLevel = 1,
	Cost = 2000.0,
	Title = "treatment_table_upgrade_1",
	Priority = 6,
});

RegisterUpgrade(
{
	EntityName = "treattable2",
	UpgradeState = "2",
	Level = 6,
	SubLevel = 1,
	Cost = 3000.0,
	Title = "treatment_table_upgrade_2",
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "treatment_table_upgrade_2_eco",
        Cost = 3000.0,
    },
});

RegisterUpgrade(
{
	EntityName = "treattable2",
	UpgradeState = "3",
	Level = 8,
	SubLevel = 3,
	Cost = 5000.0,
	Title = "treatment_table_upgrade_3",
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "treatment_table_upgrade_3_eco",
        Cost = 5000.0,
    },
});

-- Treatment Chairs
-- *******************************************
RegisterUpgrade(
{
	EntityName = "treatchair1",
	UpgradeState = "2",
	Level = 3,
	SubLevel = 1,
	Cost = 4000.0,
	Title = "treatment_chair_upgrade_2"
});

RegisterUpgrade(
{
	EntityName = "treatchair1",
	UpgradeState = "3",
	Level = 6,
	SubLevel = 1,
	Cost = 6000.0,
	Title = "treatment_chair_upgrade_3"
});

------------------------------------------------
RegisterUpgrade(
{
	EntityName = "treatchair2",
	UpgradeState = "1",
	Level = 5,
	SubLevel = 1,
	Cost = 2500.0,
	Title = "treatment_chair_upgrade_1",
	Priority = 8,
});

RegisterUpgrade(
{
	EntityName = "treatchair2",
	UpgradeState = "2",
	Level = 5,
	SubLevel = 1,
	Cost = 4000.0,
	Title = "treatment_chair_upgrade_2",
    Priority = 8,
});

RegisterUpgrade(
{
	EntityName = "treatchair2",
	UpgradeState = "3",
	Level = 6,
	SubLevel = 1,
	Cost = 6000.0,
	Title = "treatment_chair_upgrade_3"
});

-- Shiatsu Mat
-- *******************************************
RegisterUpgrade(
{
	EntityName = "shiatsumat1",
	UpgradeState = "2",
	Level = 5,
	SubLevel = 2,
	Cost = 2000.0,
	Title = "shiatsu_mat_upgrade_2",
    Priority = 1,
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "shiatsu_mat_upgrade_2_eco",
        Cost = 2000.0,
    },
});

RegisterUpgrade(
{
	EntityName = "shiatsumat1",
	UpgradeState = "3",
	Level = 9,
	SubLevel = 3,
	Cost = 5000.0,
	Title = "shiatsu_mat_upgrade_3",
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "shiatsu_mat_upgrade_3_eco",
        Cost = 5000.0,
    },
});

------------------------------------------------
RegisterUpgrade(
{
	EntityName = "shiatsumat2",
	UpgradeState = "1",
	Level = 6,
	SubLevel = 1,
	Cost = 2500.0,
	Title = "shiatsu_mat_upgrade_1"
});

RegisterUpgrade(
{
	EntityName = "shiatsumat2",
	UpgradeState = "2",
	Level = 7,
	SubLevel = 1,
	Cost = 4000.0,
	Title = "shiatsu_mat_upgrade_2",
    Priority = 2,
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "shiatsu_mat_upgrade_2_eco",
        Cost = 4000.0,
    },
});

RegisterUpgrade(
{
	EntityName = "shiatsumat2",
	UpgradeState = "3",
	Level = 10,
	SubLevel = 1,
	Cost = 5000.0,
	Title = "shiatsu_mat_upgrade_3",
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "shiatsu_mat_upgrade_3_eco",
        Cost = 5000.0,
    },
});

-- Shower
-- *******************************************
RegisterUpgrade(
{
	EntityName = "shower1",
	UpgradeState = "2",
	Level = 2,
	SubLevel = 3,
	Cost = 3000.0,
	Title = "shower_upgrade_2",
    Priority = 5,
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "shower_upgrade_2_eco",
        Cost = 3000.0,
    },
});

RegisterUpgrade(
{
	EntityName = "shower1",
	UpgradeState = "3",
	Level = 8,
	SubLevel = 5,
	Cost = 5000.0,
	Title = "shower_upgrade_3",
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "shower_upgrade_3_eco",
        Cost = 5000.0,
    },
});

-- Jacuzzi
-- *******************************************
RegisterUpgrade(
{
	EntityName = "jacuzzi1",
	UpgradeState = "2",
	Level = 4,
	SubLevel = 3,
	Cost = 3000.0,
	Title = "jacuzzi_upgrade_2",
    Priority = 3,
    
    -- The upgrade has an ecological variation
    Eco = 
    {
        Title = "jacuzzi_upgrade_2_eco",
        Cost = 3000.0,
    },
});

RegisterUpgrade(
{
	EntityName = "jacuzzi1",
	UpgradeState = "3",
	Level = 9,
	SubLevel = 1,
	Cost = 4000.0,
	Title = "jacuzzi_upgrade_3",
    
    -- The upgrade has an ecological variant
    Eco = 
    {
        Title = "jacuzzi_upgrade_3_eco",
        Cost = 4000.0,
    },
});

-- Jacuzzi bottles
-- *******************************************
-- Rose Bottle
RegisterUpgrade(
{
	EntityName = "jacuzzi_bottle_2",
	UpgradeState = "1",
	Level = 2,
	SubLevel = 4,
	Cost = 1850.0,
	Title = "jacuzzi_bottle_2",
    Priority = 2,
});

RegisterUpgrade(
{
	EntityName = "jacuzzi_bottle_1",
	UpgradeState = "1",
	Level = 6,
	SubLevel = 1,
	Cost = 1850.0,
	Title = "jacuzzi_bottle_1",
});

RegisterUpgrade(
{
	EntityName = "jacuzzi_bottle_3",
	UpgradeState = "1",
	Level = 4,
	SubLevel = 4,
	Cost = 1850.0,
	Title = "jacuzzi_bottle_3",
    Priority = 4,
});

-- Tea Table
-- *******************************************
RegisterUpgrade(
{
	EntityName = "foodtable1",
	UpgradeState = "1",
	Level = 1,
	SubLevel = 2,
	Cost = 420.0,
	Title = "food_table_upgrade_1",
    Priority = 2,
});

RegisterUpgrade(
{
	EntityName = "foodtable1",
	UpgradeState = "2",
	Level = 3,
	SubLevel = 1,
	Cost = 1497.0,
	Title = "food_table_upgrade_2",
    Priority = 1,
});

RegisterUpgrade(
{
	EntityName = "foodtable1",
	UpgradeState = "3",
	Level = 7,
	SubLevel = 1,
	Cost = 3000.0,
	Title = "food_table_upgrade_3",
    Priority = 3,
});

-- Radio
-- *******************************************
RegisterUpgrade(
{
	EntityName = "radio1",
	UpgradeState = "1",
	Level = 1,
	SubLevel = 2,
	Cost = 640.0,
	Title = "radio_upgrade_1",
    Priority = 3,
});

RegisterUpgrade(
{
	EntityName = "radio1",
	UpgradeState = "2",
	Level = 3,
	SubLevel = 4,
	Cost = 1003.0,
	Title = "radio_upgrade_2",
    Priority = 3,
});

RegisterUpgrade(
{
	EntityName = "radio1",
	UpgradeState = "3",
	Level = 5,
	SubLevel = 5,
	Cost = 1572.0,
	Title = "radio_upgrade_3",
    Priority = 3,
});

-- Cash Register
-- *******************************************
RegisterUpgrade(
{
	EntityName = "cashregister1",
	UpgradeState = "2",
	Level = 3,
	SubLevel = 1,
	Cost = 1500.0,
	Title = "cash_register_upgrade_2",
	Priority = 9,
});

RegisterUpgrade(
{
	EntityName = "cashregister1",
	UpgradeState = "3",
	Level = 6,
	SubLevel = 2,
	Cost = 3000.0,
	Title = "cash_register_upgrade_3",
	Priority = 10,
});

-- Changing Rooms
-- *******************************************
RegisterUpgrade(
{
	EntityName = "changingin1",
	UpgradeState = "2",
	Level = 1,
	SubLevel = 3,
	Cost = 770.0,
	Title = "changing_room_upgrade_2",
	Priority = 4,
});

RegisterUpgrade(
{
	EntityName = "changingin1",
	UpgradeState = "3",
	Level = 5,
	SubLevel = 3,
	Cost = 1000.0,
	Title = "changing_room_upgrade_3",
	Priority = 3,
});

------------------------------------------------
RegisterUpgrade(
{
	EntityName = "changingin2",
	UpgradeState = "1",
	Level = 4,
	SubLevel = 3,
	Cost = 800.0,
	Title = "changing_room_upgrade_1",
	Priority = 1,
});

RegisterUpgrade(
{
	EntityName = "changingin2",
	UpgradeState = "2",
	Level = 5,
	SubLevel = 5,
	Cost = 1000.0,
	Title = "changing_room_upgrade_2",
    Priority = 3,
});

RegisterUpgrade(
{
	EntityName = "changingin2",
	UpgradeState = "3",
	Level = 6,
	SubLevel = 4,
	Cost = 2500.0,
	Title = "changing_room_upgrade_3",
    Priority = 4,
});

-- Stone Massage
-- *******************************************
RegisterUpgrade(
{
    EntityName = "stonemassage1",
	UpgradeState = "2",
	Level = 2,
	SubLevel = 1,
	Cost = 3000.0,
	Title = "stonemassage_upgrade_2",
	
    -- The upgrade has an ecological variant
    Eco = 
    {
        Title = "stonemassage_upgrade_2_eco",
        Cost = 3000.0,
    },
});

RegisterUpgrade(
{
    EntityName = "stonemassage1",
	UpgradeState = "3",
	Level = 7,
	SubLevel = 1,
	Cost = 5000.0,
	Title = "stonemassage_upgrade_3",
    Priority = 1,
	
    -- The upgrade has an ecological variant
    Eco = 
    {
        Title = "stonemassage_upgrade_3_eco",
        Cost = 5000.0,
    },
});

-- Tanning Bed
-- *******************************************
RegisterUpgrade(
{
    EntityName = "tanningbed1",
	UpgradeState = "2",
	Level = 6,
	SubLevel = 2,
	Cost = 4000.0,
	Title = "tanningbed_upgrade_2",
	
    -- The upgrade has an ecological variant
    Eco = 
    {
        Title = "tanningbed_upgrade_2_eco",
        Cost = 4000.0,
    },
});

RegisterUpgrade
{
    EntityName = "tanningbed1",
	UpgradeState = "3",
	Level = 10,
	SubLevel = 3,
	Cost = 6000.0,
	Title = "tanningbed_upgrade_3",
	
    -- The upgrade has an ecological variant
    Eco = 
    {
        Title = "tanningbed_upgrade_3_eco",
        Cost = 6000.0,
    },
}

-- Waiting Chair
RegisterUpgrade(
{
	EntityName = "waitingchair1",
	UpgradeState = "2",
	Level = 2,
	SubLevel = 2,
	Cost = 1298.0,
	Title = "waiting_chair_upgrade_2",
	Priority = 4,
});

RegisterUpgrade(
{
	EntityName = "waitingchair1",
	UpgradeState = "3",
	Level = 6,
	SubLevel = 5,
	Cost = 3500.0,
	Title = "waiting_chair_upgrade_3",
	Priority = 3,
});
-----------------------------------------------------
RegisterUpgrade(
{
	EntityName = "waitingchair2",
	UpgradeState = "2",
	Level = 3,
	SubLevel = 2,
	Cost = 1298.0,
	Title = "waiting_chair_upgrade_2",
	Priority = 4,
});

RegisterUpgrade(
{
	EntityName = "waitingchair2",
	UpgradeState = "3",
	Level = 6,
	SubLevel = 5,
	Cost = 3500.0,
	Title = "waiting_chair_upgrade_3",
	Priority = 4,
});
-----------------------------------------------------
RegisterUpgrade(
{
	EntityName = "waitingchair3",
	UpgradeState = "1",
	Level = 7,
	SubLevel = 3,
	Cost = 1500.0,
	Title = "waiting_chair_upgrade_1",
	Priority = 4,
});

RegisterUpgrade(
{
	EntityName = "waitingchair3",
	UpgradeState = "2",
	Level = 8,
	SubLevel = 1,
	Cost = 2000.0,
	Title = "waiting_chair_upgrade_2",
	Priority = 4,
});

RegisterUpgrade(
{
	EntityName = "waitingchair3",
	UpgradeState = "3",
	Level = 9,
	SubLevel = 1,
	Cost = 3500.0,
	Title = "waiting_chair_upgrade_3",
	Priority = 4,
});

-- Misc.
-- *******************************************
RegisterUpgrade(
{
	EntityName = "incense1",
	UpgradeState = "1",
	Level = 2,
	SubLevel = 1,
	Cost = 1000.0,
	Title = "incense_upgrade_1",
});

RegisterUpgrade(
{
	EntityName = "incense2",
	UpgradeState = "1",
	Level = 4,
	SubLevel = 4,
	Cost = 1000.0,
	Title = "incense_upgrade_1",
    Priority = 1,
});

RegisterUpgrade(
{
	EntityName = "incense3",
	UpgradeState = "1",
	Level = 6,
	SubLevel = 3,
	Cost = 2500.0,
	Title = "incense_upgrade_1",
    Priority = 1,
});

-- Wind Chimes
RegisterUpgrade(
{
	EntityName = "angelcaller1",
	UpgradeState = "1",
	Level = 1,
	SubLevel = 2,
	Cost = 400.0,
	Title = "angel_caller_upgrade_1",
    Priority = 1,
});

RegisterUpgrade(
{
	EntityName = "angelcaller1",
	UpgradeState = "2",
	Level = 4,
	SubLevel = 3,
	Cost = 600.0,
	Title = "angel_caller_upgrade_2",
    Priority = 2,
});

RegisterUpgrade(
{
	EntityName = "angelcaller1",
	UpgradeState = "3",
	Level = 8,
	SubLevel = 2,
	Cost = 2000.0,
	Title = "angel_caller_upgrade_3",
    Priority = 2,
});

-- Helpers
-- *******************************************
RegisterUpgrade(
{
	EntityName = "foodhelper1",
	UpgradeState = "1",
	Level = 4,
	SubLevel = 5,
	Cost = 3549.0,
	Title = "food_helper_upgrade_1",
	DependentOn = "foodtable1",
    DependentMsg = "food_helper_upgrade_1_depends_on_table",
    Priority = 1,
});

RegisterUpgrade(
{
	EntityName = "massagehelper1",
	UpgradeState = "1",
	Level = 7,
	SubLevel = 3,
	Cost = 5000.0,
	Title = "massage_helper_upgrade_1"
});