
πHoney
Honey is an ingredient in crafting recipes and if enabled can be harvested from spawned bee hives
If you dont want to use this feature just set enabled to false and make sure players have a method of obtaining the item
honey
Define the cooldown in minutes that players must wait before extracting honey again from the same hive
Define target icon
Define target label
Define target distance
Define blip settings
Define progressCircle settings with durations, labels, animations and prop
Define prop settings - the prop name and coords these must be
vector4
Define a required item if enabled and its name
Define rewards received from extracting honey (if XP is enabled the return amounts will be determined via the XP level)
Config.Honey = {
enabled = true, -- set to true to enable honey extraction from bee hives (if set to false ensure your players can obtainthe item from somewhere)
cooldown = 10, -- time in minutes before players can harvest again once extracted
info = {
icon = 'fa-solid fa-droplet', -- target icon
label = 'Extract Honey', -- target label
distance = 2.5, -- target distance
},
blip = { -- define blip settings
enabled = true, -- enable blip for this location
id = 285, -- blip id
colour = 2, -- blip colour
scale = 0.7, -- blip scale
title = 'Bee Hives', -- blip title
},
progress = {
duration = 10000, -- duration
label = 'Collecting honey', -- label
anim = { -- define animation settings
anim = 'amb@world_human_gardener_plant@male@base', -- animation name
dict = 'base', -- animation dict name
flag = 49, -- flag number
},
prop = {
model = nil, -- prop model
bone = nil, -- bone index
pos = nil, -- prop position
rot = nil, -- prop rotation
},
},
prop = {
model = 'bzzz_props_beehive_box_001', -- prop name
coords = { -- prop coords must be vector4
vector4(5384.18, -5196.78, 31.59, 234.12),
vector4(5382.28, -5199.62, 31.52, 234.34),
vector4(5379.82, -5203.51, 31.56, 237.09),
vector4(5376.85, -5208.43, 31.49, 237.94),
},
},
requiredItem = {
enabled = true, -- set to true to enable a required item to harvest
name = 'honeypot', -- required item name
},
rewards = { -- rewards table define item name and amounts received
{name = 'honey', amount = {min = 1, max = 3,}, },
--add more reward items as requried
},
}
Last updated