Config
Config = {}
Config.Input = {
Header = "Amount",
SubmitText = "Submit",
PlaceHolder = "Amount",
Invalid = "You can't submit less than 1"
}
Config.StaffGroup = "group.god" -- The group that can use the commands/interact
Config.Job = "" -- The job that can spawn barrels/plants / interact, leave it empty to everyone be able to use it
Config.Objects = {
SpawnRange = 100, -- The distance from the player that the barrel/plants load/render
TargetRange = 3, -- The distance from the player that the barrel/plants can be interacted with using Target
}
Config.CancelProgressbar = "Canceled..."
Config.GlassBottle = {
Empty = "empty_bottle", -- The item name of the glass bottle
GetEmpty = {
Buy = true, -- If you can buy in the NPC
BuyPrice = 100, -- The price in the NPC
Craft = true, -- If you can craft in the NPC
CraftRecipe = { -- The recipe for crafting
["glass"] = 100,
},
},
Full = "premium_wine", -- GlassBottle with Wine
AmountOfWine = 3, -- Amount of Wine to make a Bottle
OnDrinkWine = function (source, quality) -- quality 0 - 100 (Server Side Function)
Lib.General.Notify(source, {type = "success", title = "You drank the wine of quality "..quality.."%", duration = 2500})
end
}
Config.Barrels = {
BarrelProp = "prop_wooden_barrel",
Item = "wood_barrel", -- Item name
GiveOnRemove = true,
Buy = true, -- If you can buy in the NPC
BuyPrice = 1000, -- The price in the NPC
Craft = true, -- If you can craft in the NPC
CraftRecipe = { -- The recipe to craft
["plastic"] = 100,
["iron"] = 50,
},
UpdateTime = 30, -- The time in minutes that the barrel will have stats updated
ProgressUpdate = 10, -- The percentage of progress that will be added to the barrel (fermentation) (Default: Will take 5Hours to make Progress 100%)
QualityUpdate = 2, -- The percentage of quality that will be added to the barrel (ageing) (Default: Will take 25Hours to make Quality 100%)
-- CHANGE ICONS
CheckStats = {
Target = {
Icon = "fa-solid fa-chart-line",
Label = "Check Wine stats",
},
Menu = {
Header = "Check Wine Information",
HeaderIcon = "fas fa-seedling",
Progress = "Progress: %.2f %%", -- %.2f its for string formating and its replaced by a floating-point number and %% its for showing the % symbol
ProgressIcon = "fa-solid fa-droplet",
Quality = "Quality: %.2f %%", -- %.2f its for string formating and its replaced by a floating-point number and %% its for showing the % symbol
QualityIcon = "fa-solid fa-seedling",
Amount = "Amount: %.2f %%", -- %.2f its for string formating and its replaced by a floating-point number and %% its for showing the % symbol
AmountIcon = "fa-solid fa-droplet",
EnableOwner = true, -- Only shows who is the owner ID -- Recommend turn off if you are using esx
Owner = "Owner: %s", -- %s its for string formating and its replaced by the planter CharId (for example NVR216)
OwnerIcon = "fas fa-crown",
},
},
AddGrapes = {
Target = {
Icon = "fa-solid fa-droplet",
Label = "Add Grapes",
},
ProgressBar = "Adding grapes...",
MissingGrapes = "You don't have enough grapes",
BarrelFull = "The Barrel is full",
BarrelFits = "Only a part was placed on the barrel",
DeductProgress = 5, -- Removed progress for each grape added (Use Integer)
DeductQuality = 2, -- Removed quality for each grape added (Use Integer)
},
RemoveBarrel = {
Target = {
Icon = "fa-solid fa-seedling",
Label = "Remove Barrel",
},
ProgressBar = "Removing Barrel..."
},
Collect = {
Target = {
Icon = "fa-solid fa-scissors",
Label = "Collect wine",
},
ProgressBar = "Collecting wine...",
MissingBottles = "You don't have any bottles",
NotEnough = "You don't have enough wine to fill all the bottles",
},
}
Config.Plants = {
PlantProps = {
"bzzz_prop_plant_wine_a_a",
"bzzz_prop_plant_wine_a_b",
"bzzz_prop_plant_wine_a_c",
},
Fruit = {
Item = "purple_grape", -- Fruit Item name
AmountOnHarvest = 1, -- Amount of fruits that the plant gives when harvested
AmountToMakeWine = 4, -- Amount of fruits needed to make a wine (Don't use numbers that 100/AmountToMakeWine is not an integer)
},
Seed = {
Item = "grape_seed", -- Seed Item Name
SeedOnHarvest = false, -- If when plant harvested gives seed
AmountSeedOnHarvest = 1, -- Amount of seeds that the plant gives when harvested if SeedOnHarvest is true
Buy = true, -- If you can buy in the NPC
BuyPrice = 100, -- The price in the NPC
},
CheckStats = {
Target = {
Icon = "fa-solid fa-chart-line",
Label = "Check plant stats"
},
Menu = {
Header = "Check Plant Information",
HeaderIcon = "fas fa-seedling",
Progress = "Progress: %.2f %%", -- %.2f its for string formating and its replaced by a floating-point number and %% its for showing the % symbol
ProgressIcon = "fa-solid fa-droplet",
Fertilizer = "Fertilizer: %.2f %%", -- %.2f its for string formating and its replaced by a Floating-point number and %% its for showing the % symbol
FertilizerIcon = "fa-solid fa-seedling",
Water = "Water: %.2f %%", -- %.2f its for string formating and its replaced by a floating-point number and %% its for showing the % symbol
WaterIcon = "fa-solid fa-droplet",
EnableOwner = true, -- Only shows who is the owner ID
Owner = "Planter: %s", -- %s its for string formating and its replaced by the planter char Id (for example NVR216)
OwnerIcon = "fas fa-crown",
},
},
Water = {
Target = {
Icon = "fa-solid fa-droplet",
Label = "Water Plant",
},
ProgressBar = "Watering plant...",
MissingFullWaterCan = "You don't have a full water can",
},
Fertilize = {
Target = {
Icon = "fa-solid fa-seedling",
Label = "Fertilize plant",
},
ProgressBar = "Feeding plant...",
MissingFertilizer = "You don't have any fertilizer"
},
Harvest = {
Target = {
Icon = "fa-solid fa-scissors",
Label = "Harvest plant",
},
ProgressBar = "Harvesting plant...",
},
Destroy = {
Target = {
Icon = "fa-solid fa-fire",
Label = "Destroy plant",
},
ProgressBar = "Destroying plant..."
},
WaterCan = {
FullWaterCan = "watering_can", -- The item name of the full water can
EmptyWaterCan = "empty_watering_can", -- The item name of the empty water can
AlreadyHaveWaterCanScript = false, -- If you have other script for that, set this to true)
-- if AlreadyHaveWaterCanScript = true make sure to the item names be the same
FillingWaterProgressBar = "Filling Watering Can...", -- The text that will be shown when filling the watering can
Buy = true, -- If you can buy in the NPC
BuyPrice = 100, -- The price in the NPC
Craft = true, -- If you can craft in the NPC
CraftRecipe = { -- The recipe for crafting
["plastic"] = 100,
["iron"] = 10,
},
},
Fertilizer = "weed_nutrition", -- The item name of the fertilizer
BuyFertilizer = true, -- If you can buy in the NPC
FertilizerPrice = 1000, -- The price in the NPC
UpdateTime = 15, -- The time in minutes that the plant will have stats updated
ProgressUpdate = 10, -- The percentage of progress that will be added to the plant every update if Water/Fertilizer is above the threshold
ProgressUpdateN = 2.5, -- The percentage of progress that will be added to the plant every update if FertilizerThreshold is reached
AddWaterOnWatering = 100, -- (max 100) The amount of water that can be added to the plant with one watering
WaterDecay = 25, -- The percentage of water that will be removed from the plant every update
WaterThreshold = 45, -- The minimium percentage of water that the plant can grow
FertilizerDecay = 13, -- The percentage of fertilizer that will be removed from the plant every update
FertilizerThreshold = 45, -- The minimium percentage of fertilizer that the plant can grow faster
}
Config.Delivery = {
Box = {
Item = "wood_box",
Buy = true, -- If you can buy in the NPC
BuyPrice = 1000, -- The price in the NPC
Craft = false, -- If you can craft in the NPC
CraftRecipe = { -- The recipe for crafting
["plastic"] = 100,
["iron"] = 10,
},
RequiredBottles = 10, -- Amount of bottles needed to make a box of wine
ItemWithBottles = "wine_box", -- The item name of the wine with bottles
},
Reward = {
MoneyType = "cash", -- The type of money that will be given (cash, bank)
Amount = 5000, -- The amount of money that will be given
},
PedType = 5,
PedHash = "a_m_m_farmer_01",
Blip = {
Sprite = 478,
Color = 0,
RouteColor = 0,
Scale = 0.8,
Name = "Location to Delivery",
},
Target = {
Label = "Delivery",
Icon = "fa-solid fa-truck",
Distance = 2,
AlreadyOnDelivery = "You are already on a delivery",
},
Time = 15, -- Max time in minutes to delivery
Locations = {
vector4(106.47, -1281.03, 28.27, 8.72),
vector4(98.84, -1308.56, 28.27, 118.59),
vector4(151.9, -1478.15, 28.36, 230.95),
vector4(-603.59, -1034.61, 20.79, 86.41),
vector4(-584.91, -897.5, 24.93, 177.47),
vector4(-1039.54, -1352.76, 4.55, 289.9),
vector4(-1847.04, -1190.94, 13.32, 145.29),
vector4(-1392.91, -640.4, 27.67, 119.95),
vector4(-561.68, 294.88, 86.49, 254.36),
vector4(-179.0, 314.38, 96.93, 86.5),
vector4(974.85, 12.73, 80.04, 234.58),
vector4(1149.99, -400.88, 66.34, 69.86),
vector4(570.38, 2671.44, 41.01, 97.91),
vector4(917.54, 3655.29, 31.48, 0.46),
vector4(1951.14, 3824.76, 31.16, 100.19),
vector4(-396.55, 6076.9, 30.5, 310.71)
}
}
Config.NPC = {
Shop = {
Label = "Winery Shop",
Icon = "fas fa-shopping-cart",
},
Craft = {
Label = "Winery Craft",
Icon = "fas fa-hammer",
},
Delivery = {
Label = "Winery Delivery",
Icon = "fas fa-truck",
},
PedType = 5,
PedHash = "a_m_m_farmer_01",
Location = vector4(-1895.43, 2059.95, 139.97, 98.57),
TargetDistance = 2
}
Config.Webhook = "" -- Webhook for logs, leave it empty if you don"t want to use itLast updated