Configuration

Preview File Updated: v1.0.1 - 21.02.2025

Config = {}

--- ██╗      ██████╗  ██████╗ █████╗ ████████╗██╗ ██████╗ ███╗   ██╗
--- ██║     ██╔═══██╗██╔════╝██╔══██╗╚══██╔══╝██║██╔═══██╗████╗  ██║
--- ██║     ██║   ██║██║     ███████║   ██║   ██║██║   ██║██╔██╗ ██║
--- ██║     ██║   ██║██║     ██╔══██║   ██║   ██║██║   ██║██║╚██╗██║
--- ███████╗╚██████╔╝╚██████╗██║  ██║   ██║   ██║╚██████╔╝██║ ╚████║
--- ╚══════╝ ╚═════╝  ╚═════╝╚═╝  ╚═╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝
Config.DismantleLocations = {
    {
        dismantlePoint = vector3(2409.461, 3038.354, 48.152),
        dismantleRadius = 5.0,
        npcLocation = vector3(2411.700, 3033.854, 48.152),
        npcHeading = 83.06,
        npcModel = "s_m_y_dealer_01"
    },
    {
        dismantlePoint = vector3(-424.687, -1682.29, 19.029),
        dismantleRadius = 5.0,
        npcLocation = vector3(-431.529, -1682.50, 19.029),
        npcHeading = 256.93,
        npcModel = "s_m_y_dealer_01"
    },
}



--- █████╗ ███╗   ██╗██╗███╗   ███╗ █████╗ ████████╗██╗ ██████╗ ███╗   ██╗███████╗
--- ██╔══██╗████╗  ██║██║████╗ ████║██╔══██╗╚══██╔══╝██║██╔═══██╗████╗  ██║██╔════╝
--- ███████║██╔██╗ ██║██║██╔████╔██║███████║   ██║   ██║██║   ██║██╔██╗ ██║███████╗
--- ██╔══██║██║╚██╗██║██║██║╚██╔╝██║██╔══██║   ██║   ██║██║   ██║██║╚██╗██║╚════██║
--- ██║  ██║██║ ╚████║██║██║ ╚═╝ ██║██║  ██║   ██║   ██║╚██████╔╝██║ ╚████║███████║
--- ╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝╚═╝     ╚═╝╚═╝  ╚═╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝
Config.Animations = {
    blowtorch = {
        dict = "amb@world_human_welding@male@base",
        anim = "base",
        prop = {
            model = "prop_weld_torch",
            bone = 28422,
            pos = vector3(0.0, 0.0, 0.0),
            rot = vector3( 80.0, -20.0, 175.0)
        },
        duration = 10000 
    },
    mechanic = {
        dict = "anim@amb@clubhouse@tutorial@bkr_tut_ig3@",
        anim = "machinic_loop_mechandplayer",
        duration = 10000
    }
}



--- ██████╗██╗   ██╗███████╗████████╗ ██████╗ ███╗   ███╗██╗███████╗ █████╗ ████████╗██╗ ██████╗ ███╗   ██╗
--- ██╔════╝██║   ██║██╔════╝╚══██╔══╝██╔═══██╗████╗ ████║██║╚══███╔╝██╔══██╗╚══██╔══╝██║██╔═══██╗████╗  ██║
--- ██║     ██║   ██║███████╗   ██║   ██║   ██║██╔████╔██║██║  ███╔╝ ███████║   ██║   ██║██║   ██║██╔██╗ ██║
--- ██║     ██║   ██║╚════██║   ██║   ██║   ██║██║╚██╔╝██║██║ ███╔╝  ██╔══██║   ██║   ██║██║   ██║██║╚██╗██║
--- ╚██████╗╚██████╔╝███████║   ██║   ╚██████╔╝██║ ╚═╝ ██║██║███████╗██║  ██║   ██║   ██║╚██████╔╝██║ ╚████║
--- ╚═════╝ ╚═════╝ ╚══════╝   ╚═╝    ╚═════╝ ╚═╝     ╚═╝╚═╝╚══════╝╚═╝  ╚═╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝
Config.MinigameDifficulty = 6 
Config.MinigameTime = 8 
Config.BlowtorchBreakChance = 10 



--- ██╗      █████╗ ███╗   ██╗ ██████╗ ██╗   ██╗ █████╗  ██████╗ ███████╗
--- ██║     ██╔══██╗████╗  ██║██╔════╝ ██║   ██║██╔══██╗██╔════╝ ██╔════╝
--- ██║     ███████║██╔██╗ ██║██║  ███╗██║   ██║███████║██║  ███╗█████╗  
--- ██║     ██╔══██║██║╚██╗██║██║   ██║██║   ██║██╔══██║██║   ██║██╔══╝  
--- ███████╗██║  ██║██║ ╚████║╚██████╔╝╚██████╔╝██║  ██║╚██████╔╝███████╗
--- ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝ ╚═════╝ ╚══════╝
Config.DrawTextLabel = "E - Desmantelar"
Config.DismantleLabel = "Desmantelar "
Config.SellPartLabel = "Vender "
Config.PartLabels = {
    door = "A desmantelar porta...",
    hood = "A desmantelar capô...",
    trunk = "A desmantelar porta-malas...",
    wheel = "A desmantelar roda...",
}
Config.BreakBlowtorchAlert =  'O seu maçarico queimou!'



--- ██╗   ██╗███████╗██╗  ██╗██╗ ██████╗██╗     ███████╗    ██████╗  █████╗ ██████╗ ████████╗███████╗
--- ██║   ██║██╔════╝██║  ██║██║██╔════╝██║     ██╔════╝    ██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝██╔════╝
--- ██║   ██║█████╗  ███████║██║██║     ██║     █████╗      ██████╔╝███████║██████╔╝   ██║   ███████╗
--- ╚██╗ ██╔╝██╔══╝  ██╔══██║██║██║     ██║     ██╔══╝      ██╔═══╝ ██╔══██║██╔══██╗   ██║   ╚════██║
---  ╚████╔╝ ███████╗██║  ██║██║╚██████╗███████╗███████╗    ██║     ██║  ██║██║  ██║   ██║   ███████║
---   ╚═══╝  ╚══════╝╚═╝  ╚═╝╚═╝ ╚═════╝╚══════╝╚══════╝    ╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝   ╚══════╝
Config.VehicleParts = {
    {name = "door0", label = "Porta", prop = "prop_car_door_01", interactionPoint = vector3(-0.95, 0.5, 0.5)},
    {name = "door1", label = "Porta", prop = "prop_car_door_01", interactionPoint = vector3(0.95, 0.5, 0.5)},
    {name = "door2", label = "Porta", prop = "prop_car_door_01", interactionPoint = vector3(-0.95, -1.2, 0.5)},
    {name = "door3", label = "Porta", prop = "prop_car_door_01", interactionPoint = vector3(0.95, -1.2, 0.5)},
    {name = "wheel1", label = "Roda", prop = "prop_wheel_01", interactionPoint = vector3(-0.9, 1.4, 0.0), motorcycleInteractionPoint = vector3(0.0, 0.8, 0.0)},
    {name = "wheel2", label = "Roda", prop = "prop_wheel_01", interactionPoint = vector3(0.9, 1.4, 0.0), motorcycleInteractionPoint = vector3(0.0, -0.8, 0.0)},
    {name = "wheel3", label = "Roda", prop = "prop_wheel_01", interactionPoint = vector3(-0.9, -1.4, 0.0)},
    {name = "wheel4", label = "Roda", prop = "prop_wheel_01", interactionPoint = vector3(0.9, -1.4, 0.0)},
    {name = "hood", label = "Capô", prop = "prop_car_bonnet_01", interactionPoint = vector3(0.0, 2.0, 0.5)},
    {name = "trunk", label = "Mala", prop = "prop_car_bonnet_02", interactionPoint = vector3(0.0, -2.5, 0.5)},
}



--- ██████╗ ███████╗██╗    ██╗ █████╗ ██████╗ ██████╗ ███████╗
--- ██╔══██╗██╔════╝██║    ██║██╔══██╗██╔══██╗██╔══██╗██╔════╝
--- ██████╔╝█████╗  ██║ █╗ ██║███████║██████╔╝██║  ██║███████╗
--- ██╔══██╗██╔══╝  ██║███╗██║██╔══██║██╔══██╗██║  ██║╚════██║
--- ██║  ██║███████╗╚███╔███╔╝██║  ██║██║  ██║██████╔╝███████║
--- ╚═╝  ╚═╝╚══════╝ ╚══╝╚══╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═════╝ ╚══════╝
Config.Rewards = {
    door = {
        {item = "sucata", amount = math.random(1, 5)},
        {item = "vidro", amount = math.random(1, 3)},
    },
    wheel = {
        {item = "borracha", amount = math.random(1, 4)},
    },
    hood = {
        {item = "sucata", amount = math.random(1, 6)},
    },
    trunk = {
        {item = "sucata", amount = math.random(1, 6)},
    },
}

Last updated