Config
Config = {}
Config.QBCoreExportName = 'qb-core' -- QBCore = exports['qb-core']:GetCoreObject()
Config.ESXExportName = 'es_extended' -- ESX = exports["es_extended"]:getSharedObject()
Config.QBThirdEyeExport = 'qb-target' -- Most wont need to change this but if you have something custom for QB -- exports['qb-target']
if GetResourceState('es_extended') == 'started' then
Framework = "ESX" -- ESX
elseif GetResourceState('qb-core') == 'started' then
Framework = "QBCore" -- QBCore
end
Config.SocietyEarnings = true -- This will add money to the society of the job set above (Only ESX Currently)
Config.SocietySplit = 10 -- This is a % split for the amount that the society gets paid
Config.ThirdEyeName = 'ox_target' -- [OX Target - ox_target] [QB Target - qb-target]
Config.NotificationLocation = 'center-right' -- Notification location for ox notify
Config.HighAnimation = true -- Screen Shaking / High Effect
Config.SoundVolume = 0.3 -- Volume for the hookah sound
Config.HookahItem = "hookah" -- Placeable Hookah Item
Config.Hookahs = { -- ** IF YOU ADD MORE THAN 14 YOU WILL NEED TO ADD THE TABLE IN YOUR DATABASE**
-- Example
-- {
-- coords = { x = -443.93, y = 274.77, z = 83.02 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false,
-- spawnProp = true, -- Optional (This is used to spawn a Hookah prop wherever you see fit)
-- job = 'hookahlounge'
-- },
-- Blaze Hookah Lounge v3
{
coords = { x = -443.93, y = 274.77, z = 83.02 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
job = 'hookahlounge'
},
{
coords = { x = -448.84, y = 279.34, z = 83.02 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
job = 'hookahlounge'
},
{
coords = { x = -447.15, y = 273.35, z = 83.0 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
job = 'hookahlounge'
},
{
coords = { x = -450.89, y = 272.97, z = 83.0 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
job = 'hookahlounge'
},
{
coords = { x = -444.2, y = 270.85, z = 83.0 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
job = 'hookahlounge'
},
{
coords = { x = -444.55, y = 266.95, z = 83.0 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
job = 'hookahlounge'
},
{
coords = { x = -447.45, y = 269.15, z = 83.0 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
job = 'hookahlounge'
},
{
coords = { x = -450.95, y = 270.6, z = 83.0 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
job = 'hookahlounge'
},
{
coords = { x = -451.0, y = 267.3, z = 83.0 },
size = { x = 0.75, y = 0.75, z = 1.35 },
rotation = 0,
debug = false,
job = 'hookahlounge'
},
-- Blaze Hookah Lounge V2
-- {
-- coords = { x = -434.52, y = -36.9, z = 46.3108 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -434.56, y = -33.93, z = 46.31 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -434.26, y = -28.42, z = 46.31 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -437.07, y = -28.44, z = 46.31 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -440.46, y = -38.55, z = 46.71 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -435.54, y = -30.98, z = 41.36 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -432.81, y = -31.12, z = 41.36 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -436.3, y = -22.84, z = 41.0 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -431.51, y = -19.27, z = 41.0 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -424.59, y = -19.63, z = 41.0 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -418.79, y = -19.98, z = 41.0 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = 419.72, y = -35.19, z = 41.0 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -424.08, y = -34.79, z = 41.0 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
-- {
-- coords = { x = -419.72, y = -35.2, z = 40.99 },
-- size = { x = 0.75, y = 0.75, z = 1.35 },
-- rotation = 0,
-- debug = false
-- },
}
Config.Tobacco = {
{ item = 'oceanbreeze', label = 'Ocean Breeze' },
{ item = 'lavenderlush', label = 'Lavender Lush' },
{ item = 'berryblaze', label = 'Berry Blaze' },
{ item = 'citrussunshine', label = 'Citrus Sunshine' },
{ item = 'lime', label = 'Lime' },
}
Config.MinHookahLevel = 1 -- The required minimum hookah level usage percentage.
Config.DecreaseTime = 300000 -- How often do you want to decrease tobacco, Coals, and Foils? Current is 5 Minutes
Config.CoalsDecrease = { use = 3, nouse = 1, } -- Decrease Coals. Use decreases when the person uses the hookah and No Use is full time.
Config.FoilDecrease = { use = 3, nouse = 1, } -- Decrease Foil. Use decreases when the person uses the hookah and No Use is full time.
Config.HoseDecrease = { use = 3, } -- Decrease Hose on hookah useage
Config.WaterDecrease = { use = 3, } -- Decrease Water on hookah useage
Config.TobaccoDecrease = { use = 5, nouse = 1 } -- Decrease Water on hookah useage
Config.WaterItem = 'water' -- Water item to increase water level
Config.WaterIncrease = 10 -- How much should the water level increase after they use a water?
Config.HoseItem = 'hose' -- Hose item to increase hose level
Config.HoseIncrease = 10 -- How much should the hose level increase after they use a hose?
Config.FoilItem = 'foilpoked' -- Foil item to increase foil quailty
Config.FoilIncrease = 10 -- How much should the foil increase after they use a Poked Foil?
Config.CoalsItem = 'hotcoals' -- Hot Coal item to increase Coals level
Config.CoalsIncrease = 10 -- How much should the coal level after they use a Hot Coal
-- Shop
Config.Distance = 2.0 -- How close they have to be to see the Text UI
Config.AutoRestock = true -- If you want the items to auto restock over time set to true. If false you will have to implement a way for your users to get the items.
Config.AutoRestockTime = 5000 -- How often do you want the items to restock?
Config.RestockAmount = 2 -- How many do you want to restock during this time?
Config.JobShops = {
-- Example unicorn = vector3(127.8301, -1284.7963, 29.2778),4
hookahlounge = vector3(92.5731, -1461.0768, 29.4977)
}
-- Heating Coals
Config.HeatingTime = 1 -- How many minutes should the coals take to heat up?
Config.Shop = {
{
item = 'oceanbreeze', -- The item name
label = 'Ocean Breeze', -- The display name of the item
price = 200, -- The price of the item
stock = 10 -- The initial stock level of the item
},
{
item = 'lavenderlush', -- The item name
label = 'Lavender Lush', -- The display name of the item
price = 100, -- The price of the item
stock = 10 -- The initial stock level of the item
},
{
item = 'berryblaze', -- The item name
label = 'Berry Blaze', -- The display name of the item
price = 100, -- The price of the item
stock = 10 -- The initial stock level of the item
},
{
item = 'citrussunshine', -- The item name
label = 'Citrus Sunshine', -- The display name of the item
price = 100, -- The price of the item
stock = 10 -- The initial stock level of the item
},
{
item = 'lime', -- The item name
label = 'Lime', -- The display name of the item
price = 100, -- The price of the item
stock = 10 -- The initial stock level of the item
},
{
item = 'foilpoked', -- The item name
label = 'Poked Foil', -- The display name of the item
price = 50, -- The price of the item
stock = 20 -- The initial stock level of the item
},
{
item = 'coals', -- The item name
label = 'Coals', -- The display name of the item
price = 50, -- The price of the item
stock = 20 -- The initial stock level of the item
},
{
item = 'hose', -- The item name
label = 'Hookah Hose', -- The display name of the item
price = 50, -- The price of the item
stock = 20 -- The initial stock level of the item
},
}
Config.Stoves = {
[1] = {
position = vector3(-452.68, 278.42, 82.62),
heading = 356.3150
},
[2] = {
position = vector3(-443.15, -31.06, 45.21),
heading = 357.10
},
}
Config.Strings = {
-- Menu
tobacco_title = 'Tobacco: ',
tobacco_level = 'Level: ',
tobacco_price = 'Price: $',
hookah_coals = 'Coals: ',
hookah_foilquality = 'Foil Quality: ',
hookah_hose = 'Hose: ',
hookah_water = 'Water: ',
tobacco_description = 'The selected tobacco for this hookah.',
hookah_level = 'The selected tobacco for this hookah.',
hookah_price = 'The price to use this hookah.',
coal_level = 'The coal level of this hookah.',
foil_level = 'The foil quality of this hookah.',
hose_level = 'The condition of the hose for this hookah.',
water_level = 'The water level of this hookah.',
use_hookah = 'Use Hookah',
startuse_hookah = 'Start using the hookah',
notready_hookah = 'The hookah is not ready to use',
-- Notifications
notification_title = 'Notification',
-- Errors
need_water = 'You need the required item to refill water.',
need_hose = 'You need the required item to repair the hose.',
need_coals = 'You need the required item to refill coals.',
need_foil = 'You need the required item to refill foil level.',
not_employed = 'You must be employed at the hookah lounge to do this.',
no_tobacco = 'You do not have any tobacco.',
no_money = 'You do not have enough money!',
-- Success
foil_success = 'Foil quality refilled successfully',
water_success = 'Water level refilled successfully',
hose_success = 'Hose repaired successfully',
coals_success = 'Coal level refilled successfully',
use_hookah = 'Use Hookah',
-- Progress Bars
refill_water = 'Refilling water...',
repair_hose = 'Repairing hose...',
repair_coals = 'Repairing coals...',
repair_foil = 'Repairing foil...',
change_tobacco = 'Changing tobacco...',
select_tobacco = 'Select this tobacco.',
-- Shop
buy_item = 'Buy Item',
buy_item_description = 'Purchase this item.',
restock_item = 'Restock Item',
restock_item_description = 'Add stock to this item.',
-- Heater
use_heater = 'Use Heater',
heat_coals = 'Heat Coals',
prepare_coals = 'Prepare coals for the hookah.',
collect_coals = 'Collect Heated Coals',
collect_coals_description = 'Collect coals that have been heated.'
}
Last updated