Configuration

There is a LOT of configuration, so this will only include the ones that need some explaination

Config.MiningTools = {
    {
        name = "Pickaxe",
        item = "pickaxe",
        levelRequired = 1, -- keep level as it is for the first tool
        price = 0,
        damage = 1, -- how much it does to the rock
        prop = "prop_tool_pickaxe",
        animDict = "melee@large_wpn@streamed_core",
        animName = "ground_attack_on_spot",
        bone = 57005,
        pos = vector3(0.08, -0.1, -0.04),
        rot = vector3(78.0, -20.0, 175.0)
    },
    {
        name = "Drill",
        item = "drill",
        levelRequired = 3,
        price = 1500,
        damage = 2,
        prop = "prop_tool_drill",
        animDict = "anim@heists@fleeca_bank@drilling",
        animName = "drill_straight_idle",
        bone = 57005,
        pos = vector3(0.1, 0.0, 0.0),
        rot = vector3(0.0, 180.0, 0.0)
    },
    {
        name = "Laser",
        item = "laser",
        levelRequired = 5,
        price = 7000,
        damage = 3,
        prop = "ch_prop_laserdrill_01a",
        animDict = "anim@heists@fleeca_bank@drilling",
        animName = "drill_straight_idle",
        bone = 57005,
        pos = vector3(0.14, 0, -0.01),
        rot = vector3(0.0, 180.0, 180.0)
    }
    --- you can add as many as you want
}

The first number is the level, the second is how much xp you need to hit that level

Config.MiningXP = {
    Levels = {
        [1] = 100, 
        [2] = 200,
        [3] = 400,
        [4] = 800,
        [5] = 1600,  
        -- you can add as many as you want
    }
}

Config.Rocks = {
    {
        coords = vector3(2982.36, 2751.25, 41.95),
        model = `bzzz_prop_mine_iron_big`, -- you can of course use any prop you want, just thought id give a little extra support for bzzz
        item = "ironore", -- the item you get
        amount = {min = 1, max = 3}, -- amount of that item you get
        health = 5, -- health determines the amount of clicks to break the rock
        xp = 15 -- how much xp is given after breaking
    },
    {
        coords = vector3(2999.68, 2767.33, 41.81),
        model = `bzzz_prop_mine_iron_big`,
        item = "ironore",
        amount = {min = 1, max = 3},
        health = 5, 
        xp = 15 
    },
    {
        coords = vector3(3002.95, 2786.51, 43.17),
        model = `bzzz_prop_mine_iron_big`,
        item = "ironore",
        amount = {min = 1, max = 3},
        health = 5, 
        xp = 15 
    }
}

Last updated