Config = { Lan = "tr", -- Pick your language here System = { Debug = false, -- enable debug mode Menu = "ox", -- "qb", "ox", "gta" ProgressBar = "gta", -- "qb", "ox", "gta" Notify = "gta", -- "qb", "ox", "gta" drawText = "gta" -- "qb", "ox", "gta" }, General = { JimShops = false, -- Set this to true if using jim-shops for the shops DrillSound = true, -- enable/disable drill sounds K4MB1Prop = false, -- Enable this to make use of K4MB1's ore props provided with their Mining Cave MLO AltMining = false, -- Enables Alternate mining (enhanced with k4mb1's mining ore props) -- Changes system to one based on rarity of ores specified in setMiningTable below -- Every ore that spawns will give specific ores K4MB1Cart = false, -- If using k4mb1's shaftcave mlo + caveprops -- Allow players to use a minecart to get to the chambers faster -- Add's target option to the store ped at the mine shaft requiredJob = nil, crackingRequiresDrillbit = true, -- Toggle for if cracking stone requires a drillbit }, Crafting = { craftCam = false, MultiCraft = true, -- Enable multicraft }, BreakTool = { -- BreakTool lowers the durability by default of a math.random(2, 3) Pickaxe = true, MiningDrill = false, DrillBit = true, MiningLaser = false, GoldPan = false, }, Timings = { -- Time it takes to do things Cracking = { 15000, 25000 }, -- 15 - 25 seconds Washing = { 500, 500 }, -- 15 - 25 seconds Panning = { 45000, 50000 },-- 45 - 50 seconds Pickaxe = { 45000, 50000 }, -- 45 - 50 seconds Mining = { 30000, 35000 }, -- 30 - 35 seconds Laser = { 7000, 10000 }, -- 7 - 10 seconds OreRespawn = math.random(60000, 80000), Crafting = 5000, -- 5 seconds }, PoolAmounts = { Mining = { AmountPerSuccess = { 1, 3 } -- Per success, this will give 1 - 3 of the selected item }, Cracking = { AmountPerSuccess = { 1, 3 } -- Per success, this will give 1 - 3 of the selected item }, Panning = { Successes = { 1, 2 }, -- When complete, default will give 1 or 2 items AmountPerSuccess = { 1, 2 } -- Per success, this will give 1 - 3 of the selected item }, Washing = { Successes = { 1, 2 }, -- When complete, default will give 1 or 2 items AmountPerSuccess = { 1, 1 } -- Per success, this will give 1 - 3 of the selected item }, }, CrackPool = { -- Rewards from cracking stone { item = "carbon", rarity = "50",}, { item = "ironore", rarity = "50",}, }, WashPool = { -- Rewards from washing stone { item = "copperore",rarity = "80",}, { item = "uncut_ruby", rarity = "25" }, { item = "uncut_emerald", rarity = "20"}, { item = "uncut_diamond", rarity = "10"}, { item = "uncut_sapphire", rarity = "30"}, }, PanPool = { -- Rewards from panning { item = "can", rarity = "70", }, { item = "bottle", rarity = "70", }, { item = "goldore", rarity = "20", }, { item = "silverore", rarity = "40", }, }, setMiningTable = { -- Set rarity of ore spawn for AltMining { name = "carbon", rarity = "common", prop = "k4mb1_coal2", }, { name = "copperore", rarity = "common", prop = "k4mb1_copperore2", }, { name = "ironore", rarity = "common", prop = "k4mb1_ironore2", }, { name = "goldore", rarity = "rare", prop = "k4mb1_goldore2" }, { name = "silverore", rarity = "rare", prop = "k4mb1_tinore2" }, { name = "uncut_ruby", rarity = "ultra_rare", prop = "k4mb1_crystalred" }, { name = "uncut_emerald", rarity = "ultra_rare", prop = "k4mb1_crystalgreen" }, { name = "uncut_diamond", rarity = "ultra_rare", prop = "k4mb1_diamond" }, { name = "uncut_sapphire", rarity = "ultra_rare", prop = "k4mb1_crystalblue" }, { name = "stone", rarity = "common", prop = "cs_x_rubweec" }, }, ------------------------------------------------------------ --Mining Store Items Items = { label = "Mining Store", slots = 9, items = { { name = "water_bottle", price = 5, amount = 250, info = {}, type = "item", slot = 1, }, { name = "sandwich", price = 5, amount = 250, info = {}, type = "item", slot = 2, }, { name = "bandage", price = 75, amount = 100, info = {}, type = "item", slot = 3, }, { name = "weapon_flashlight", price = 75, amount = 100, info = {}, type = "item", slot = 4, }, { name = "goldpan", price = 100, amount = 100, info = {}, type = "item", slot = 5, }, { name = "pickaxe", price = 250, amount = 100, info = {}, type = "item", slot = 6, }, { name = "miningdrill", price = 10000, amount = 50, info = {}, type = "item", slot = 7, }, { name = "mininglaser", price = 60000, amount = 25, info = {}, type = "item", slot = 8, }, { name = "drillbit", price = 15, amount = 500, info = {}, type = "item", slot = 9, }, }, }, } function locale(section, string) if not string then print(section, "string is nil") end if not Config.Lan or Config.Lan == "" then return print("Error, no langauge set") end local localTable = Loc[Config.Lan] if not localTable then return "Locale Table Not Found" end if not localTable[section] then return "["..section.."] Invalid" end if not localTable[section][string] then return "["..string.."] Invalid" end return localTable[section][string] end