This is an entire page on what you can integrate with
WARNING: ONLY MESS WITH THESE IF YOU KNOW WHAT YOU ARE DOING!!!!
Reset Clothing
By Default we use Illenium appearance however you can change this to whatever you use
DHS-BrewsAndWines/client/editablefunctions_cl.lua
functionResetClothing()if Config.Clothing =="illenium-appearance" thenTriggerEvent("illenium-appearance:client:reloadSkin")elseif Config.Clothing =="custom" then--Custom Clothing System Hereendend
Fuel System
We support many different fuel systems and we make it quite easy to add your own
local fuelEvent =nilfunctionRefuelVehicle(vehicle)ifGetResourceState('ox_fuel') ~='started' then exports[fuelEvent]:SetFuel(vehicle, 100)returnelseifGetResourceState('ox_fuel') =='started' thenEntity(vehicle).state.fuel =100.0returnendprint('ERROR: No Fuel Resource Detected') fuelEvent =nilendCreateThread(function()ifGetResourceState('LegacyFuel') =='started' then fuelEvent ='LegacyFuel'returnendifGetResourceState('cdn-fuel') =='started' then fuelEvent ='cdn-fuel'returnendifGetResourceState('BigDaddy-Fuel') =='started' then fuelEvent ='BigDaddy-Fuel'returnendifGetResourceState('ps-fuel') =='started' then fuelEvent ='ps-fuel'returnendifGetResourceState('okokGasStation') =='started' then fuelEvent ='okokGasStation'returnendifGetResourceState('qs-fuelstations') =='started' then fuelEvent ='qs-fuelstations'returnendifGetResourceState('lc_fuel') =='started' then fuelEvent ='lc_fuel'returnendend)
Give Keys Function
If your using a different vehicle key system put it here
Lockpick Minigame
The Lockpick minigame used for breaking into beehives
Grape Picking Minigame
The minigame used to pick grapes
If HoneyUsesMetadata is false
If Config.HoneyUsesMetadata is false refer to this for installation
1) Make sure to install the optional items these will be
jar_of_floral_honey
jar_of_spiced_honey
jar_of_grape_infused_honey
jar_of_moonlight_honey
jar_of_smoked_honey
jar_of_resin_honey
jar_of_golden_honey
jar_of_floral_golden_honey
jar_of_spiced_golden_honey
jar_of_grape_infused_golden_honey
jar_of_moonlight_golden_honey
jar_of_smoked_golden_honey
jar_of_resin_golden_honey
jar_of_rotten_honey
jar_of_floral_rotten_honey
jar_of_spiced_rotten_honey
jar_of_grape_infused_rotten_honey
jar_of_moonlight_rotten_honey
jar_of_smoked_rotten_honey
jar_of_resin_rotten_honey
2) Go into the peds_config.lua and change the Honey Buyer to this
3) Installation for not using metadata has finished good job!
function GiveKeys(plate)
if Config.VehicleKeys == 'qb-vehiclekeys' then
TriggerEvent("vehiclekeys:client:SetOwner", plate)
else
if Config.Debug then
print("No Vehicle Key System Selected")
end
end
end
function LockpickMinigame(securityLevel)
local success = false
if securityLevel == "low" then
success = lib.skillCheck({'easy', 'easy', 'easy', 'easy'}, {'w', 'a', 's', 'd'})
elseif securityLevel == "medium" then
success = lib.skillCheck({'medium', 'medium', 'medium', 'medium'}, {'w', 'a', 's', 'd'})
elseif securityLevel == "high" then
success = lib.skillCheck({'hard', 'hard', 'hard', 'hard'}, {'w', 'a', 's', 'd'})
end
if success then
return true
else
return false
end
end
function GrapePickingMinigame()
local success = false
success = lib.skillCheck({'easy', 'easy', 'easy', 'easy'}, {'w', 'a', 's', 'd'})
if success then
return true
else
return false
end
end
{
model = "a_m_m_farmer_01",
coords = vector4(1793.6, 4594.93, 36.68, 181.71),
type = "honeyBuyer",
shopName = "Tom's Honey Preserve",
sellItems = {
{
name = "honey_comb",
label = "Honey Comb",
sellPrice = 500,
externalImage = 'https://i.gyazo.com/c6b78eb1940b5cb19633d0a01430e965.png',
},
{
name = "jar_of_honey",
label = "Jar of Normal Honey",
type = "normal",
secondaryType = "normal",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
-- {
-- name = "jar_of_honey",
-- label = "Jar of Golden Honey",
-- type = "golden",
-- secondaryType = "normal",
-- sellPrice = 2000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Floral Honey",
-- type = "normal",
-- secondaryType = "wildflower",
-- sellPrice = 2000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Floral Golden Honey",
-- type = "golden",
-- secondaryType = "wildflower",
-- sellPrice = 3000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Spiced Honey",
-- type = "normal",
-- secondaryType = "spice",
-- sellPrice = 3000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Spiced Golden Honey",
-- type = "golden",
-- secondaryType = "spice",
-- sellPrice = 4000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Grape-Infused Honey",
-- type = "normal",
-- secondaryType = "vineyard",
-- sellPrice = 4000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Grape-Infused Golden Honey",
-- type = "golden",
-- secondaryType = "vineyard",
-- sellPrice = 5000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Moonlight Honey",
-- type = "normal",
-- secondaryType = "lunar",
-- sellPrice = 5000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Moonlight Golden Honey",
-- type = "golden",
-- secondaryType = "lunar",
-- sellPrice = 6000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Smoked Honey",
-- type = "normal",
-- secondaryType = "ember",
-- sellPrice = 6000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Smoked Golden Honey",
-- type = "golden",
-- secondaryType = "ember",
-- sellPrice = 7000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Resin Honey",
-- type = "normal",
-- secondaryType = "pine",
-- sellPrice = 7000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- {
-- name = "jar_of_honey",
-- label = "Jar of Resin Golden Honey",
-- type = "golden",
-- secondaryType = "pine",
-- sellPrice = 8000,
-- externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
-- },
-- Only Use If Config.HoneyUsesMetadata Is false
{
name = "jar_of_golden_honey",
label = "Jar of Golden Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_floral_honey",
label = "Jar of Floral Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_spiced_honey",
label = "Jar of Spiced Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_grape_infused_honey",
label = "Jar of Grape-Infused Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_moonlight_honey",
label = "Jar of Moonlight Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_smoked_honey",
label = "Jar of Smoked Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_resin_honey",
label = "Jar of Resin Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_floral_golden_honey",
label = "Jar of Floral Golden Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_spiced_golden_honey",
label = "Jar of Spiced Golden Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_grape_infused_golden_honey",
label = "Jar of Grape-Infused Golden Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_moonlight_golden_honey",
label = "Jar of Moonlight Golden Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_smoked_golden_honey",
label = "Jar of Smoked Golden Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
{
name = "jar_of_resin_golden_honey",
label = "Jar of Resin Golden Honey",
sellPrice = 1000,
externalImage = 'https://i.gyazo.com/730b4a2c59f417c158439f539f59033a.png',
},
}
},