Config File
🌟 Our amazing Mining Job!
Config File
Config = {}
Config.Debug = false
Config.Language = 'en' -- Just 'pt' or 'en' for now
Config.Utils = {
RequiredJob = false, -- true or false
Job = 'miner', -- Put here your job (Only works if RequiredJob = true)
-- NPC
NPCModel = 's_m_y_construct_01', -- Put here what Ped Model you want to use
NPCCoords = vector4(2569.5208, 2719.9883, 41.9300, 213.4377), -- Put here what coordinates for Ped Model you want to use
-- Durability
UseDurability = true, -- true or false -- IMPORTANT: Only works with supported inventories (Check bs-lib/inventories/*.lua) or you can add support at your own risk
-- Items
Pickaxe = 'ITEM NAME', -- Put here what Item is used for mining (Ex. 'pickaxe')
PickaxeDurabilityLoss = 3, -- Amount of durability the pick loses through use (Ex. 2) IMPORTANT: Only works if UseDurability is set to true
Drill = 'ITEM NAME', -- Put here what Item is used for mining (Ex. 'drill')
DrillDurabilityLoss = 2, -- Amount of durability the drill loses per use (Ex. 1) IMPORTANT: Only works if UseDurability is set to true
Animations = {
Clothes = {
animDict = 'clothingshirt',
anim = 'try_shirt_positive_d',
flags = 49,
ProgressDuration = 3000, -- 3 seconds
},
Mining = {
animDict = 'melee@large_wpn@streamed_core',
anim = 'ground_attack_on_spot',
prop = 'prop_tool_pickaxe',
Scenario = 'WORLD_HUMAN_CONST_DRILL',
ProgressDuration = 30000, -- 30 seconds
}
}
}
Config.Locations = { -- Locations that Players can mine
vec3(2977.45, 2741.62, 44.62),
vec3(2982.64, 2750.89, 42.99),
vec3(2994.92, 2750.43, 44.04),
vec3(2958.21, 2725.44, 50.16),
vec3(2946.3, 2725.36, 47.94),
vec3(3004.01, 2763.27, 43.56),
vec3(3001.79, 2791.01, 44.82),
-- Add more if you want
}
Config.Minerals = { -- Minerals that Player will obtain
-- { name = 'ITEM NAME', label = 'ITEM LABEL', chance = 100, pickaxeAmount = math.random(1, 2), drillAmount = math.random(2, 4), },
-- Add more if you want
}
Config.MinerUniform = { -- IMPORTANT: Player Outfit will be saved in local script storage, please don't restart the script or player outfit will be lost
Male = { -- Male Uniform | You can change the Male Uniform to your likings
outfitData = {
['t-shirt'] = {59, 0},
['torso'] = {56, 0},
['arms'] = {0, 0},
['pants'] = {98, 18},
['shoes'] = {25, 0},
}
},
Female = { -- Female Uniform | You can change the Female Uniform to your likings
outfitData = {
['t-shirt'] = {36, 0},
['torso'] = {49, 0},
['arms'] = {0, 0},
['pants'] = {101, 18},
['shoes'] = {25, 0},
}
}
}
Last updated