configuration
File content database.sql
Config = {}
----------------------------------------------
-- Base Config --
----------------------------------------------
Config.Base = {
core = 'qb-core', -- [Base Framework] The main framework used (like qb-core or ESX)
menu = 'qb-menu', -- [Menu System] The menu system used (like qb-menu, ox_lib)
input = 'qb-input', -- [Input System] The text input system used
interact = 'interact', -- [Interaction System] The name of the interaction resource (like qb-target, ox_target)
inventory = 'qb-inventory', -- [Inventory] The name of the inventory resource
webhooks = false, -- [Discord Logs] Enable or disable sending event logs to Discord (true/false)
webhookURL = '' -- [Webhook URL] Discord webhook URL for event logging
}
Config.DataBaseChecker = true -- [Database Checker] Do not modify this, to ensure database tables
----------------------------------------------
-- Labs --
----------------------------------------------
Config.Labs = {
["ballas_lab"] = {
name = "The Ballas HQ", -- [Gang Name] The displayed gang name (dummy name)
logo = "", -- [Gang Logo] Gang logo link
color = "#6A0DAD", -- [Gang Color] The color code for the gang (purple)
laptop = vec3(1072.95, 3085.44, 41.7), -- [Laptop Coordinates] The location of the laptop in the world
coords = vec3(1072.95, 3085.44, 41.7), -- [Lab Coordinates] The location of the main lab/laboratory
hackCoords = vector3(1057.92, 3053.57, 42.0), -- [Hacking Coordinates] Location to hack the lab for entry
doorlock = 786, -- [Door Lock] The ID of the door lock used with ox_doorlock
minMembers = 0, -- [Minimum Members] The minimum number of gang members required to execute the raid
blipColor = 40, -- [Icon Color] The color of the Blip icon on the map
blipSprite = 310, -- [Icon Shape] The shape (Sprite) of the icon on the map
stash = {
coords = vec4(1071.19, 3083.66, 41.58, 67.44), -- [Stash Coordinates] The location of the hidden stash/safe
object = "prop_ld_int_safe_01" -- [Stash Model] The object used as a safe
}
},
["vagos_lab"] = {
name = "Los Santos Vagos HQ", -- [Gang Name] The displayed gang name (dummy name)
logo = "", -- [Gang Logo] Gang logo link
color = "#FFD700", -- [Gang Color] The color code (yellow)
laptop = vector3(1308.32, 2623.44, 38.97), -- [Laptop Coordinates]
coords = vector3(1308.32, 2623.44, 38.97), -- [Lab Coordinates]
hackCoords = vector3(1342.32, 2614.18, 39.23), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(1310.46, 2621.99, 38.86, 160.37), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["families_lab"] = {
name = "The Families HQ", -- [Gang Name] The displayed gang name (dummy name)
logo = "", -- [Gang Logo]
color = "#008000", -- [Gang Color] (green)
laptop = vector3(171.93, 3191.26, 43.57), -- [Laptop Coordinates]
coords = vector3(171.93, 3191.26, 43.57), -- [Lab Coordinates]
hackCoords = vector3(154.19, 3160.81, 43.88), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(170.01, 3189.68, 43.46, 59.37), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lostmc_lab"] = {
name = "The Lost MC HQ", -- [Gang Name] The displayed gang name (dummy name)
logo = "", -- [Gang Logo]
color = "#FF0000", -- [Gang Color] (red)
laptop = vector3(829.58, 3558.12, 34.95), -- [Laptop Coordinates]
coords = vector3(829.58, 3558.12, 34.95), -- [Lab Coordinates]
hackCoords = vector3(849.88, 3586.9, 35.3), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(831.64, 3559.68, 34.84, 240.61), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["marabunta_lab"] = {
name = "Marabunta Grande HQ", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#0000FF", -- [Gang Color] (blue)
laptop = vector3(2014.38, 2774.79, 51.79), -- [Laptop Coordinates]
coords = vector3(2039.17, 2749.77, 52.12), -- [Lab Coordinates]
hackCoords = vector3(2039.17, 2749.77, 52.12), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(2015.46, 2772.57, 51.68, 128.99), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lab_replicated_1"] = { -- (Additional lab for repeated use)
name = "Replicated Lab 1", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#4B0082", -- [Gang Color] (indigo)
laptop = vector3(2497.58, 3121.12, 49.77), -- [Laptop Coordinates]
coords = vector3(2503.85, 3155.79, 50.07), -- [Lab Coordinates]
hackCoords = vector3(2503.85, 3155.79, 50.07), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(2498.87, 3123.27, 49.66, 255.8), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lab_replicated_2"] = { -- (Additional lab for repeated use)
name = "Replicated Lab 2", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#8B4513", -- [Gang Color] (dark brown)
laptop = vector3(411.0, 2535.48, 45.61), -- [Laptop Coordinates]
coords = vector3(379.12, 2550.51, 45.92), -- [Lab Coordinates]
hackCoords = vector3(379.12, 2550.51, 45.92), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(409.26, 2537.26, 45.5, 330.09), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lab_replicated_3"] = { -- (Additional lab for repeated use)
name = "Replicated Lab 3", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#FFA500", -- [Gang Color] (orange)
laptop = vector3(1382.43, 1390.55, 105.43), -- [Laptop Coordinates]
coords = vector3(1362.36, 1419.5, 105.75), -- [Lab Coordinates]
hackCoords = vector3(1362.36, 1419.5, 105.75), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(1381.77, 1393.07, 105.32, 298.84), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lab_replicated_4"] = { -- (Additional lab for repeated use)
name = "Replicated Lab 4", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#808080", -- [Gang Color] (gray)
laptop = vector3(2731.41, 1344.73, 25.51), -- [Laptop Coordinates]
coords = vector3(2754.19, 1371.6, 25.79), -- [Lab Coordinates]
hackCoords = vector3(2754.19, 1371.6, 25.79), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(2733.72, 1345.89, 25.39, 298.84), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lab_replicated_5"] = { -- (Additional lab for repeated use)
name = "Replicated Lab 5", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#40E0D0", -- [Gang Color] (turquoise)
laptop = vector3(1254.6, 6579.01, 3.7), -- [Laptop Coordinates]
coords = vector3(1274.92, 6607.79, 4.03), -- [Lab Coordinates]
hackCoords = vector3(1274.92, 6607.79, 4.03), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(1256.77, 6580.43, 3.59, 236.34), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lab_replicated_6"] = { -- (Additional lab for repeated use)
name = "Replicated Lab 6", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#DC143C", -- [Gang Color] (crimson)
laptop = vector3(353.38, 6889.1, 6.65), -- [Laptop Coordinates]
coords = vector3(318.27, 6886.18, 6.99), -- [Lab Coordinates]
hackCoords = vector3(318.27, 6886.18, 6.99), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(350.93, 6889.67, 6.53, 10.9), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lab_replicated_7"] = { -- (Additional lab for repeated use)
name = "Replicated Lab 7", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#FF69B4", -- [Gang Color] (hot pink)
laptop = vector3(-614.72, 6284.98, 4.93), -- [Laptop Coordinates]
coords = vector3(-617.65, 6320.1, 4.59), -- [Lab Coordinates]
hackCoords = vector3(-617.65, 6320.1, 4.59), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(-618.41, 6317.62, 4.47, 90.85), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lab_replicated_8"] = { -- (Additional lab for repeated use)
name = "Replicated Lab 8", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#800000", -- [Gang Color] (maroon)
laptop = vector3(-2959.57, 3431.31, 11.0), -- [Laptop Coordinates]
coords = vector3(-2926.43, 3443.2, 11.36), -- [Lab Coordinates]
hackCoords = vector3(-2926.43, 3443.2, 11.36), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(-2957.01, 3431.2, 10.88, 192.58), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lab_replicated_9"] = { -- (Additional lab for repeated use)
name = "Replicated Lab 9", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#00FFFF", -- [Gang Color] (cyan)
laptop = vector3(-2157.61, 2684.15, 4.5), -- [Laptop Coordinates]
coords = vector3(-2123.54, 2693.11, 4.85), -- [Lab Coordinates]
hackCoords = vector3(-2123.54, 2693.11, 4.85), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(-2155.07, 2683.9, 4.39, 189.45), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
},
["lab_replicated_10"] = { -- (Additional lab for repeated use)
name = "Replicated Lab 10", -- [Gang Name]
logo = "", -- [Gang Logo]
color = "#B8860B", -- [Gang Color] (dark goldenrod)
laptop = vector3(-3240.4, 1236.89, 4.03), -- [Laptop Coordinates]
coords = vector3(-3262.96, 1263.92, 4.4), -- [Lab Coordinates]
hackCoords = vector3(-3262.96, 1263.92, 4.4), -- [Hacking Coordinates]
doorlock = 786, -- [Door Lock]
minMembers = 0, -- [Minimum Members]
blipColor = 40, -- [Icon Color]
blipSprite = 310, -- [Icon Shape]
stash = {
coords = vec4(-3241.29, 1239.26, 3.87, 313.88), -- [Stash Coordinates]
object = "prop_ld_int_safe_01" -- [Stash Model]
}
}
}
----------------------------------------------
-- God Father Config --
----------------------------------------------
Config.FatherTable = {
coords = vector3(1396.22, 1132.43, 113.85), -- [Laptop Coordinates] Coordinates for the gang boss laptop
gang = "mafia", -- [Boss Rank/Gang] The rank of the gang boss who can access it
passwordLength = {min = 4, max = 7} -- [Password Length] Minimum and maximum password length
}
----------------------------------------------
-- Raid Config --
----------------------------------------------
Config.Raids = {
OnlyRandomRaids = false, -- [Random Raids Only] Only random raids [true,false]
RandomRaidPrice = 7500, -- [Random Price] Price for random raids
RaidPrice = 15000, -- [Targeted Price] Price for non-random (targeted) raids
SafePassTime = 2, -- [Safe Time] Time in minutes to open the safe
RaidCooldownBetweenRaids = 25, -- [Attacker Cooldown] Cooldown for the raiding gang (in minutes)
ImmunityAfterRaid = 45 -- [Raided Cooldown] Cooldown for the raided gang (immunity period in minutes)
}
----------------------------------------------
-- Minigames Config --
----------------------------------------------
Config.MiniGames = {
LabHack = 'digit', -- [Lab Hack] The name of the minigame to hack the lab from outside
LaptopHack = 'minesweeper' -- [Laptop Hack] The name of the minigame to hack the laptop
}
----------------------------------------------
-- Store Products --
----------------------------------------------
Config.Products = {
{
id = '1',
name = 'Shovel',
price = 2500,
image = 'https://cdn3d.iconscout.com/3d/premium/thumb/cultivator-3d-icon-png-download-11683315.png',
item = 'plant_shovel' -- [Inventory Item Name]
}, {
id = '2',
name = 'Shears',
price = 2500,
image = 'https://cdn3d.iconscout.com/3d/premium/thumb/shears-3d-icon-png-download-11351317.png',
item = 'plant_shears'
}, {
id = '3',
name = 'Fertilizer',
price = 2500,
image = 'https://cdn3d.iconscout.com/3d/premium/thumb/fertilizer-3d-icon-png-download-9148279.png',
item = 'plant_fertilizer'
}, {
id = '4',
name = 'Pot',
price = 2500,
image = 'https://cdn3d.iconscout.com/3d/premium/thumb/plant-pot-3d-icon-png-download-9404966.png',
item = 'plant_pot'
}, {
id = '5',
name = 'Water',
price = 2500,
image = 'https://cdn3d.iconscout.com/3d/premium/thumb/watering-can-3d-icon-png-download-10612440.png',
item = 'water'
}, {
id = '6',
name = 'Baggie',
price = 2500,
image = 'https://cdn3d.iconscout.com/3d/premium/thumb/package-3d-icon-png-download-12210819.png',
item = 'plant_emptybag'
}, {
id = '7',
name = 'Blue Weed Seed',
price = 2500,
image = 'https://r2.fivemanage.com/9VvrCTQLPSnsqy9edLMZw/Blue.png',
item = 'seed_bluedream'
}, {
id = '8',
name = 'Purple Weed Seed',
price = 2500,
image = 'https://r2.fivemanage.com/9VvrCTQLPSnsqy9edLMZw/Purple.png',
item = 'seed_purplehaze'
}, {
id = '9',
name = 'White Weed Seed',
price = 2500,
image = 'https://r2.fivemanage.com/9VvrCTQLPSnsqy9edLMZw/White.png',
item = 'seed_glue'
}, {
id = '8',
name = 'Yellow Weed Seed',
price = 2500,
image = 'https://r2.fivemanage.com/9VvrCTQLPSnsqy9edLMZw/Yellow.png',
item = 'seed_bananakush'
}
}
----------------------------------------------
-- Upgrades (Disabled) --
----------------------------------------------
Config.Upgrades = {
-- [Upgrades] This section is currently disabled and contains no active settings
}
----------------------------------------------
-- XP Config --
----------------------------------------------
Config.XP = {
LabHack = {50, 1000}, -- [Lab Hack XP] The XP the gang gains when hacking the lab from outside (Min and Max)
LaptopHack = {50, 1000} -- [Laptop Hack XP] The XP the gang gains when hacking the laptop
}
----------------------------------------------
-- Dealers Config --
----------------------------------------------
Config.RandomLocations = {
{
coords = vector4(472.07, -1107.9, 29.2, 2.28),
model = 'g_m_y_mexgang_01',
animDict = 'amb@world_human_leaning@male@wall@back@hands_together@base',
anim = 'base',
vehicle = {
model = 'baller3',
plate = 'DEALER',
coords = vector4(472.01, -1110.55, 29.13, 0.35)
},
guards = {
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(470.43, -1109.22, 29.2, 5.96) },
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(473.63, -1109.12, 29.2, 2.03) }
}
},
{
coords = vector4(493.8, -523.4, 24.75, 185.55),
model = 'g_m_y_mexgang_01',
animDict = 'amb@world_human_leaning@male@wall@back@hands_together@base',
anim = 'base',
vehicle = {
model = 'baller3',
plate = 'DEALER',
coords = vector4(494.05, -520.76, 24.69, 174.34)
},
guards = {
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(495.37, -522.3, 24.76, 171.22) },
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(492.43, -521.98, 24.76, 175.41) }
}
},
{
coords = vector4(654.91, 679.36, 128.91, 163.17),
model = 'g_m_y_mexgang_01',
animDict = 'amb@world_human_leaning@male@wall@back@hands_together@base',
anim = 'base',
vehicle = {
model = 'baller3',
plate = 'DEALER',
coords = vector4(655.82, 681.83, 128.84, 157.42)
},
guards = {
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(653.94, 681.52, 128.91, 154.28) },
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(656.65, 680.1, 128.91, 158.05) }
}
},
{
coords = vector4(1264.47, 1910.87, 78.59, 225.85),
model = 'g_m_y_mexgang_01',
animDict = 'amb@world_human_leaning@male@wall@back@hands_together@base',
anim = 'base',
vehicle = {
model = 'baller3',
plate = 'DEALER',
coords = vector4(1263.04, 1913.1, 78.46, 212.24)
},
guards = {
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(1264.93, 1912.67, 78.53, 219.6) },
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(1262.61, 1911.16, 78.55, 212.37) }
}
},
{
coords = vector4(300.43, 2891.08, 43.61, 207.72),
model = 'g_m_y_mexgang_01',
animDict = 'amb@world_human_leaning@male@wall@back@hands_together@base',
anim = 'base',
vehicle = {
model = 'baller3',
plate = 'DEALER',
coords = vector4(299.39, 2893.5, 43.53, 205.11)
},
guards = {
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(298.71, 2891.65, 43.61, 199.05) },
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(301.26, 2892.76, 43.61, 215.93) }
}
},
{
coords = vector4(-329.05, 2789.02, 59.33, 150.14),
model = 'g_m_y_mexgang_01',
animDict = 'amb@world_human_leaning@male@wall@back@hands_together@base',
anim = 'base',
vehicle = {
model = 'baller3',
plate = 'DEALER',
coords = vector4(-327.52, 2791.19, 59.08, 145.09)
},
guards = {
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(-329.53, 2790.84, 59.25, 152.83) },
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(-327.12, 2789.21, 59.27, 138.78) }
}
},
{
coords = vector4(-1133.49, 2696.24, 18.8, 145.41),
model = 'g_m_y_mexgang_01',
animDict = 'amb@world_human_leaning@male@wall@back@hands_together@base',
anim = 'base',
vehicle = {
model = 'baller3',
plate = 'DEALER',
coords = vector4(-1131.62, 2698.11, 18.73, 133.92)
},
guards = {
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(-1133.69, 2698.1, 18.8, 133.33) },
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(-1131.66, 2696.18, 18.8, 133.94) }
}
},
{
coords = vector4(28.83, 3730.34, 39.59, 226.24),
model = 'g_m_y_mexgang_01',
animDict = 'amb@world_human_leaning@male@wall@back@hands_together@base',
anim = 'base',
vehicle = {
model = 'baller3',
plate = 'DEALER',
coords = vector4(27.02, 3732.26, 39.59, 221.79)
},
guards = {
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(29.04, 3732.08, 39.64, 223.85) },
{ model = 'g_m_y_lost_02', weapon = 'WEAPON_PUMPSHOTGUN', coords = vector4(26.92, 3730.21, 39.65, 219.22) }
}
}
}
----------------------------------------------
-- Dealer Blip Config --
----------------------------------------------
Config.BlipSettings = {
deleteTime = 300000, -- [Icon Duration] The duration the Blip icon stays on the map in milliseconds (300000ms = 5 minutes)
blipSprite = 140, -- [Icon Shape] The Blip icon
blipColor = 2, -- [Icon Color] The color of the Blip
blipScale = 1.2 -- [Icon Size] The size of the Blip
}
----------------------------------------------
-- Plant Config --
----------------------------------------------
-----------------------------
-- Placement Settings (Placement Settings)
-----------------------------
Config.UseObjectGizmo = false -- [Placement Tool] Enable using object gizmo for placing objects (optional)
-----------------------------
-- Item Names (Item Names)
-----------------------------
Config.Items = {
Shovel = 'plant_shovel', -- Shovel
Shears = 'plant_shears', -- Shears
Fertilizer = 'plant_fertilizer', -- Fertilizer
Pot = 'plant_pot', -- Pot/Container
Water = 'water', -- Water
Baggie = 'plant_emptybag' -- Empty Bag
}
-----------------------------
-- Plant Growth Requirements (Growth Requirements)
-----------------------------
Config.MinimumGrowthRequirement = 50 -- [Minimum Growth] The minimum percentage of water and fertilizer required for continued growth (%)
Config.MaxPlantLimit = 15 -- [Maximum Plants] The maximum number of plants a player can plant
-----------------------------
-- Feed Settings (Feed Settings)
-----------------------------
Config.FeedSettings = {
Water = {
StartAmount = 60, -- [Starting Amount] The water percentage when planting begins
LoseAmount = 5, -- [Loss Amount] The percentage lost each period
LoseTime = 30, -- [Loss Time] The time period in seconds after which the percentage is lost
FeedAmount = 15 -- [Addition Amount] The percentage added when watering
},
Fertilizer = {
StartAmount = 55,
LoseAmount = 2,
LoseTime = 60, -- (Every 60 seconds)
FeedAmount = 15
}
}
-----------------------------
-- Growth Settings (Growth Settings)
-----------------------------
Config.Growth = {
GainAmount = 5, -- [Increase Percentage] The growth percentage gained per interval
GainTime = 30 -- [Increase Time] The time interval in seconds to gain growth percentage
}
-----------------------------
-- Plant Lifespan & Placement (Plant Lifespan & Placement)
-----------------------------
Config.PlantSettings = {
Lifetime = 180, -- [Plant Lifetime] The total life of the plant in minutes before it dies (180 minutes = 3 hours)
MinDistance = 0.5 -- [Minimum Distance] The minimum distance between plants
}
-----------------------------
-- Plant Types (Plant Types)
-----------------------------
Config.Plant = {
['bluedream'] = {
label = 'Blue Dream Plant', -- [Plant Name]
seed = 'seed_bluedream', -- [Plant Seed]
baggie = 'bluedream_bag', -- [Packaged Product]
bud = 'bud_bluedream', -- [Raw Buds]
budMin = 5, -- [Minimum Buds]
budMax = 7, -- [Maximum Buds]
BudsForBag = 5, -- [Amount Required for Packaging] The number of buds required to package one baggie
PlacingProgressBarDuration = 5, -- [Planting Duration] The duration of the progress bar when planting in seconds
RequirePot = true, -- [Requires Pot] Does it require a pot for planting?
RemovePot = 1, -- [Remove Pot] Number of pots to remove
RequireShovel = true, -- [Requires Shovel] Does it require a shovel for planting?
RemoveShovel = 0, -- [Remove Shovel] Number of shovels to remove (0 means no removal)
Props = { -- [Plant Models] Object models that appear at different growth stages
[1] = an_weed_blue_01_small_01a,
[2] = an_weed_blue_med_01b,
[3] = an_weed_blue_lrg_01a
}
},
['purplehaze'] = {
label = 'Purple Haze Plant',
seed = 'seed_purplehaze',
baggie = 'purplehaze_bag',
bud = 'bud_purplehaze',
budMin = 5,
budMax = 10,
BudsForBag = 5,
PlacingProgressBarDuration = 10,
RequirePot = true,
RemovePot = 1,
RequireShovel = true,
RemoveShovel = 0,
Props = {
[1] = an_weed_purple_01_small_01a,
[2] = an_weed_purple_med_01b,
[3] = an_weed_purple_lrg_01a
}
},
['glue'] = {
label = 'Glorilla Glue Plant',
seed = 'seed_glue',
baggie = 'glue_bag',
bud = 'bud_glue',
budMin = 5,
budMax = 10,
BudsForBag = 5,
PlacingProgressBarDuration = 10,
RequirePot = true,
RemovePot = 1,
RequireShovel = true,
RemoveShovel = 0,
Props = {
[1] = an_weed_white_01_small_01a,
[2] = an_weed_white_med_01b,
[3] = an_weed_white_lrg_01a
}
},
['bananakush'] = {
label = 'Banana Kush Plant',
seed = 'seed_bananakush',
baggie = 'bananakush_bag',
bud = 'bud_bananakush',
budMin = 5,
budMax = 10,
BudsForBag = 5,
PlacingProgressBarDuration = 10,
RequirePot = true,
RemovePot = 1,
RequireShovel = true,
RemoveShovel = 0,
Props = {
[1] = an_weed_yellow_01_small_01a,
[2] = an_weed_yellow_med_01b,
[3] = an_weed_yellow_lrg_01a
}
}
}
----------------------------------------------
-- Rolling Config --
----------------------------------------------
Config.RollingPaper = {
required = true, -- [Rolling Paper Required] Is rolling paper required to make a joint? (true/false)
item = 'rolling_paper', -- [Paper Name] The name of the rolling paper item in the inventory
amount = 1 -- [Amount Required]
}
Config.Strains =
{ -- [Strains] Settings for rolling each type of Bud into a Joint
['Blue Dream'] = {
joint = 'blue_dream_joint', -- [Resulting Joint Name]
effect = 'armor', -- [Effect] The effect of using the joint (like armor, speed, health, stamina)
receive = 1, -- [Amount Received]
required = { -- [Requirements]
item = 'bud_bluedream', -- [Required Buds]
amount = 1 -- [Bud Amount]
}
},
['Purple Haze'] = {
joint = 'purple_haze_joint',
effect = 'speed',
receive = 1,
required = {item = 'bud_purplehaze', amount = 1}
},
['Glorilla Glue'] = {
joint = 'glue_joint',
effect = 'stamina',
receive = 1,
required = {item = 'bud_glue', amount = 1}
},
['Banana Kush'] = {
joint = 'banana_kush_joint',
effect = 'health',
receive = 1,
required = {item = 'bud_bananakush', amount = 1}
}
}
----------------------------------------------
-- Export Config --
----------------------------------------------
exports("GetConfig", function() return Config end)ensure qb-core
ensure ox_lib
ensure ox_doorlock
ensure bl_ui
ensure iSanz_Labs[interact-sound] Added sound: client/html/sounds/weedlabhacked.ogg
Last updated
Was this helpful?

