WHAT: none
WHERE: none
WHEN: 0 - 24
WHO: none
OTHER: none

    SceneStart()
    
        //Get Mod Settings//
    Base_Difficulty = LL_Base_Difficulty.getGlobal()
    AOC = LL_AOC.getGlobal()
    FitE = LL_Fit.getGlobal()
    Hire_Mod = LL_HME.getGlobal()//Hire more Employees :Return index(1)
    Building_Mod = LL_Building_Mod.getGlobal()//Building mod :Return index(NotSet)
    LandLord = LL_Landlord_Mod.getGlobal()//Landlord mod :Return index(NotSet)
    Hire_Difficulty = LL_Hire_Difficulty.getGlobal()
    Hire_Families = LL_Hire_Families.getGlobal()
    
    Return_Index = LL_Ret_Mod.getGlobal()
    
        //First Run//
    If Base_Difficulty == 0
        Base_Difficulty = 2
        AOC = 18
    Endif
    Main = true
    
    While Main
        If Base_Difficulty == 1
            diff = "Easy"
        Elseif Base_Difficulty == 2
            diff = "Medium"
        Elseif Base_Difficulty == 3
            diff = "Hard"
        Endif
        
        If FitE == 0
            fit = "false"
        Elseif FitE == 1
            fit = "true"
        Endif

        0:: 1 > 2 :: "LL_MOD AND BASE OPTIONS"
        1:: "Base Difficulty: <diff>"
        2:: "Age of consent : <AOC>"
        4:: "Npc's Have 100 fitness(SexEnergy): <fit>"      
        3:: "Individual Mod Settings"
        10:: "Save settings and Exit"
        
        If 1
            Base_Difficulty += 1
            If Base_Difficulty > 3
                Base_Difficulty = 1
            Endif 
            If Base_Difficulty == 1
                "All Mods now be set to Easy Difficulty."
            Elseif Base_Difficulty == 1
                "All Mods now be set to Medium Difficulty."
            Elseif Base_Difficulty == 2
                "All Mods now be set to Hard Difficulty."
            Endif
            "To change individul Mod difficulties, use the settings on the specific mod pages." 
        Elseif 4
            FitE += 1
            If FitE > 1
                FitE = 0
            Endif
        Elseif 2
            0:: "Select you countries age of consent(or higher)"
            1:: "14"
            2:: "15"
            3:: "16"            
            4:: "17"
            5:: "18"
            6:: "19"        
            7:: "20"
        
            If 1
                AOC = 14
            Elseif 2
                AOC = 15
            Elseif 3
                AOC = 16
            Elseif 4
                AOC = 17
            Elseif 5
                AOC = 18
            Elseif 6
                AOC = 19
            Elseif 7
                AOC = 20
            Endif
            "To change this you will also need to change a game file to make it work correctly."
            "Go to \LifePlay\Content\Modules\LL_Utils\Stats\ "
            "And rename the apropriate file to be called 'age.lpstat'"
            "Eg If you change consent to 20 rename 'age.lpstat.Modifier20' to be just 'age.lpstat'"
        Elseif 3
            Next_Mod = true
            If Hire_Mod == 1 && Next_Mod == true
                Hire = true
                While Hire
                    
                    If Hire_Difficulty == 0
                        Hire_Difficulty = 2
                    Endif
                    
                    If Hire_Difficulty == 1
                        diff = "Easy"
                    Elseif Hire_Difficulty == 2
                        diff = "Medium"
                    Elseif Hire_Difficulty == 3
                        diff = "Hard"
                    Endif
                    
                    If Hire_Families == 0
                        fam = "False"
                    Elseif Hire_Families == 1
                        fam = "Basic"
                    Else
                        fam = "Extended"
                    Endif
                    
                    
                    0:: 1 > 2 :: "Hire Mod OPTIONS"
                    1:: "Hire Mod Difficulty: <diff>"
                    2:: "Generate Employee Families: <fam>"
                    3:: "Next Mod"
                    4:: "Main Menu"
                
                    If 1
                        Hire_Difficulty += 1
                        If Hire_Difficulty > 3
                            Hire_Difficulty = 1
                        Endif 
                    Elseif 2
                        Hire_Families += 1
                        If Hire_Families > 2
                            Hire_Families = 0
                        Endif                   
                    Elseif 3
                        Hire = false
                    Else
                        Hire = false
                        Next_Mod = false
                    Endif
                Endwhile
            Endif
            If Building_Mod == 1 && Next_Mod == true
                build = true
                While build         
                    0:: 1 > 2 :: "Building Mod OPTIONS"
            
            
                Endwhile
            Endif       
        
        
        
        Else
            Main = false
            LL_Base_Difficulty.setGlobal(Base_Difficulty)
            LL_AOC.setGlobal(AOC)
            LL_Hire_Difficulty.setGlobal(Hire_Difficulty)
            LL_Hire_Families.setGlobal(Hire_Families)
            LL_Fit.setGlobal(FitE)
            If Return_Index == 1
                LL_Ret_Mod.setGlobal(0)
                followUp(hire_more_employees)
                SceneEnd()
            Endif
            
        Endif
    Endwhile

    
    SceneEnd()
