cfg = cfg or {} cfg.DailyRidesChallenge = { rides_needed = 5, -- Total rides required to complete the challenge rewards = { money = 1000, -- Reward money given on challenge completion experience = 600, -- Experience points given on challenge completion }, } cfg.challenges = { local_residents = { label = "Local Resident Taxi Rides", tiers = { { count = 5, reward = { money = 50, experience = 75 } }, { count = 10, reward = { money = 75, experience = 125 } }, { count = 20, reward = { money = 100, experience = 175 } }, { count = 40, reward = { money = 125, experience = 225 } }, { count = 70, reward = { money = 150, experience = 275 } }, { count = 100, reward = { money = 175, experience = 325 } }, { count = 130, reward = { money = 200, experience = 375 } }, { count = 150, reward = { money = 225, experience = 425 } }, { count = 180, reward = { money = 250, experience = 475 } }, { count = 220, reward = { money = 275, experience = 525 } }, }, }, commuters = { label = "Commuter Taxi Rides", tiers = { { count = 5, reward = { money = 150, experience = 300 } }, { count = 10, reward = { money = 250, experience = 500 } }, { count = 20, reward = { money = 350, experience = 700 } }, { count = 40, reward = { money = 450, experience = 900 } }, { count = 70, reward = { money = 550, experience = 1100 } }, { count = 100, reward = { money = 650, experience = 1300 } }, { count = 130, reward = { money = 750, experience = 1500 } }, { count = 150, reward = { money = 850, experience = 1700 } }, { count = 180, reward = { money = 1000, experience = 1900 } }, { count = 220, reward = { money = 1200, experience = 2100 } }, }, }, priority_riders = { label = "Priority Rider Taxi Rides", tiers = { { count = 5, reward = { money = 100, experience = 100 } }, { count = 10, reward = { money = 200, experience = 200 } }, { count = 15, reward = { money = 300, experience = 300 } }, { count = 25, reward = { money = 400, experience = 400 } }, { count = 45, reward = { money = 500, experience = 500 } }, { count = 70, reward = { money = 600, experience = 600 } }, { count = 100, reward = { money = 700, experience = 700 } }, { count = 130, reward = { money = 800, experience = 800 } }, { count = 150, reward = { money = 900, experience = 900 } }, }, }, business_professionals = { label = "Business Professionals Taxi Rides", tiers = { { count = 5, reward = { money = 150, experience = 150 } }, { count = 10, reward = { money = 250, experience = 250 } }, { count = 15, reward = { money = 350, experience = 350 } }, { count = 25, reward = { money = 450, experience = 450 } }, { count = 45, reward = { money = 550, experience = 550 } }, { count = 70, reward = { money = 650, experience = 650 } }, { count = 100, reward = { money = 750, experience = 750 } }, { count = 130, reward = { money = 850, experience = 850 } }, { count = 150, reward = { money = 1000, experience = 1000 } }, }, }, secret_clients = { label = "Secret Clients", tiers = { { count = 5, reward = { money = 200, experience = 300 } }, { count = 10, reward = { money = 300, experience = 450 } }, { count = 20, reward = { money = 400, experience = 600 } }, { count = 30, reward = { money = 500, experience = 750 } }, { count = 50, reward = { money = 600, experience = 900 } }, { count = 70, reward = { money = 700, experience = 1050 } }, { count = 90, reward = { money = 800, experience = 1200 } }, { count = 120, reward = { money = 900, experience = 1350 } }, { count = 150, reward = { money = 1000, experience = 1500 } }, }, }, elite_passengers = { label = "Elite Passengers", tiers = { { count = 5, reward = { money = 250, experience = 500 } }, { count = 10, reward = { money = 350, experience = 650 } }, { count = 20, reward = { money = 450, experience = 800 } }, { count = 30, reward = { money = 550, experience = 950 } }, { count = 50, reward = { money = 650, experience = 1100 } }, { count = 70, reward = { money = 750, experience = 1250 } }, { count = 90, reward = { money = 850, experience = 1400 } }, { count = 120, reward = { money = 1000, experience = 1550 } }, { count = 150, reward = { money = 1200, experience = 1700 } }, }, }, exclusive_clients = { label = "Exclusive Clients", tiers = { { count = 5, reward = { money = 300, experience = 500 } }, { count = 10, reward = { money = 400, experience = 700 } }, { count = 20, reward = { money = 500, experience = 900 } }, { count = 40, reward = { money = 600, experience = 1100 } }, { count = 70, reward = { money = 700, experience = 1300 } }, { count = 100, reward = { money = 800, experience = 1500 } }, { count = 130, reward = { money = 900, experience = 1700 } }, { count = 150, reward = { money = 1000, experience = 1900 } }, { count = 180, reward = { money = 1100, experience = 2100 } }, }, }, } -- IGNORE USED TO SET IDs while true do if cfg.riderTypes then break end Wait(100) end for k,v in pairs(cfg.challenges) do for kk, vv in pairs(v.tiers) do cfg.challenges[k].tiers[kk].id = kk end cfg.challenges[k].level = cfg.riderTypes[k].level end