๐Ÿ“•User guide

User guide on how to use the Dynasty Miner

1. Stones

To modify all the configurations of the stones you can modify the table Config.Minerals in dynasty_miner/config/config.lua

Config.MinesLevels = {
    [1] = {
        levelRequired = 1,
        chances = { coal = 80, gold = 15, emerald = 5 },
        coords = {
            vec3(2936.808838, 2780.795654, 39.305542),
            vec3(2941.780273, 2774.043945, 39.255005),
            vec3(2947.898926, 2775.666016, 39.187500),
            vec3(2946.738525, 2783.287842, 39.777344),
            vec3(2939.261475, 2786.597900, 39.861572),
            vec3(2945.604492, 2789.986816, 40.333374),
            vec3(2941.529785, 2779.344971, 39.339233)
        }
    },
}

1.1 Level required

To modify the level the player need to mine that ore you have to modify the level required

levelRequired = 1

1.2 Respawn probabilities

To modify the respawn probabilities you can change the name of the ores you want to respawn in that rock and its probability

chances = { coal = 80, gold = 15, emerald = 5 }

1.3 Stones coords

To modify the coords of the stones you want to have that configuration you modify the coords list

        coords = {
            vec3(2936.808838, 2780.795654, 39.305542),
            vec3(2941.780273, 2774.043945, 39.255005),
            vec3(2947.898926, 2775.666016, 39.187500),
            vec3(2946.738525, 2783.287842, 39.777344),
            vec3(2939.261475, 2786.597900, 39.861572),
            vec3(2945.604492, 2789.986816, 40.333374),
            vec3(2941.529785, 2779.344971, 39.339233)
        }

2. Ores

To modify all the configurations of the ores you can modify the table Config.Minerals in dynasty_miner/config/config.lua

Config.Minerals = {
    ["coal"] = {
        model = "prop_dynasty_coal",
        items = {
            { "coal_ore",     100, 4 }, --- item name, probability, max drop
            { "flint",        20,  3 }, --- item name, probability, max drop
            { "sulfur_chunk", 10,  2 } --- item name, probability, max drop
        },
        price = 130,
        experience = 75,
        totalhits = 3,
        durabilitypenalty = 1
    },
}

2.1 Drop probability and quantity

To modify the drop probability of the item and the max quantity you can receive you can change the items table

        items = {
            { "coal_ore",     100, 4 }, --- item name, probability, max drop
            { "flint",        20,  3 }, --- item name, probability, max drop
            { "sulfur_chunk", 10,  2 } --- item name, probability, max drop
        },
Miner items

2.2 Price

Tomodify the price you get from mining each ore you can modify the price value

        price = 130

2.3 Experience

To modify the experience you get from mining each ore you can modify the experience value

        experience = 75

2.4 Totalhits

To modify the amount of interactions you need to do (pickaxe animation) to successfully mine each ore you can change the totalhits value

        totalhits = 3

2.5 Pickaxe durability

To modify the amount of durability you lose from your pickaxe with the interaction for each ore you can change the durabilitypenalty value

        durabilitypenalty = 1

3. Experience system

To modify the amount of experience needed for each level you can change the values in Config.LevelExperience table in dynasty_miner/config/config.lua

Config.LevelExperience = {
    [1] = 3500,
    [2] = 8500,
    [3] = 17500,
    [4] = 45000,
    -- [5] = 60000,
    -- [6] = 100000,
}

4. Props

To modify the props position you can change te values from the table ObjectList in dynasty_miner/config/config.lua

ObjectList = {
    Conveyor_1 = {
        coords = vec3(2955.797119, 2781.570068, 38.65),
        model = GetHashKey('cs5_4_q_conv4'),
        rotation = vec3(-5.999979, 3.999954, -151.998672)
    },
    Conveyor_2 = {
        coords = vec3(2957.624023, 2768.287598, 40.5),
        model = GetHashKey('cs5_4_q_conv4'),
        rotation = vec3(-5.999979, 3.999954, -151.998672)
    },
    Conveyor_3 = {
        coords = vec3(2954.345947, 2791.996094, 38.96),
        model = GetHashKey('prop_ind_conveyor_04'),
        rotation = vec3(23.999992, -0.000004, 7.999949)
    },
    Conveyor_4 = {
        coords = vec3(2958.549561, 2761.358887, 44.613716),
        model = GetHashKey('prop_ind_conveyor_01'),
        rotation = vec3(-7.999940, -0.000000, 7.999985)
    },
    Conveyor_5 = {
        coords = vec3(2955.701416, 2782.223877, 41.72),
        model = GetHashKey('prop_ind_conveyor_01'),
        rotation = vec3(-7.999940, -0.000000, 7.999985)
    },
    Conveyor_6 = {
        coords = vec3(2957.021240, 2772.763184, 43.006470),
        model = GetHashKey('prop_ind_conveyor_01'),
        rotation = vec3(-7.999940, -0.000000, 7.999985)
    },
    BoxFight = {
        coords = vec3(2959.081787, 2753.872559, 42.593098),
        model = GetHashKey('prop_skip_08b'),
        rotation = vec3(0.000000, -0.000000, 106.998299)
    },
    Table = {
        coords = vec3(2945.131104, 2747.680908, 42.30),
        model = GetHashKey('prop_table_03'),
        rotation = vec3(0, 0, -80.999771)
    },
    Notebook = {
        coords = vec3(2944.83, 2747.62, 43.12),
        model = GetHashKey('vw_prop_notebook_01a'),
        rotation = vec3(0, 0, 190)
    },
    Papers = {
        coords = vec3(2944.96, 2746.97, 43.10),
        model = GetHashKey('v_ind_cs_paper'),
        rotation = vec3(0, 0, 100)
    },
    Ashtray = {
        coords = vec3(2944.66, 2748.11, 43.10),
        model = GetHashKey('v_res_mp_ashtrayb'),
        rotation = vec3(0, 0, 0)
    },
    Box = {
        coords = vec3(2945.432861, 2745.69, 42.32),
        model = GetHashKey('prop_dynasty_box'),
        rotation = vec3(0.000000, -0.000000, 10.997986),
    },
    Light_1 = {
        coords = vec3(2944.38, 2743.12, 42.36),
        model = GetHashKey('prop_ind_light_03c'),
        rotation = vec3(0.00, -0.00, 151.99),
    },
    Light_2 = {
        coords = vec3(2975.26, 2795.75, 39.00),
        model = GetHashKey('prop_ind_light_03c'),
        rotation = vec3(0.00, 0.00, -89.99),
    },
    Light_3 = {
        coords = vec3(2936.29, 2776.51, 38.00),
        model = GetHashKey('prop_ind_light_03c'),
        rotation = vec3(0.00, -0.00, 146.99),
    },
    Light_4 = {
        coords = vec3(2952.86, 2818.39, 41.30),
        model = GetHashKey('prop_ind_light_03c'),
        rotation = vec3(0.00, 0.00, 8.99),
    },
    Light_5 = {
        coords = vec3(2926.40, 2794.46, 39.62),
        model = GetHashKey('prop_ind_light_03c'),
        rotation = vec3(0.00, 0.00, 86.99),
    },
    Light_6 = {
        coords = vec3(2966.65, 2775.81, 37.66),
        model = GetHashKey('prop_ind_light_03c'),
        rotation = vec3(0.00, 0.00, 146.99),
    },
    Light_7 = {
        coords = vec3(2931.692383, 2819.551758, 44.98137),
        model = GetHashKey('prop_ind_light_03c'),
        rotation = vec3(0.00, 0.00, 35.99),
    },
    Support_1 = {
        coords = vec3(2959.633057, 2757.382813, 40.380482),
        model = GetHashKey('prop_dynasty_support'),
        rotation = vec3(0.999980, -0.000003, -81.999596),
    },
    Support_2 = {
        coords = vec3(2957.139648, 2774.378174, 37.766121),
        model = GetHashKey('prop_dynasty_support'),
        rotation = vec3(0.000000, 0.000000, -85.999641),
    },
}

Last updated