Skip to content

Instantly share code, notes, and snippets.

@aqade

aqade/config.lua Secret

Created August 5, 2023 07:48
Show Gist options
  • Save aqade/52b56556c5cae2d25db720b24c5b3294 to your computer and use it in GitHub Desktop.
Save aqade/52b56556c5cae2d25db720b24c5b3294 to your computer and use it in GitHub Desktop.
apex_hornysburger
-- █████╗ ██████╗ ███████╗██╗ ██╗ ███████╗████████╗██╗ ██╗██████╗ ██╗ ██████╗ ███████╗
--██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝ ██╔════╝╚══██╔══╝██║ ██║██╔══██╗██║██╔═══██╗██╔════╝
--███████║██████╔╝█████╗ ╚███╔╝ ███████╗ ██║ ██║ ██║██║ ██║██║██║ ██║███████╗
--██╔══██║██╔═══╝ ██╔══╝ ██╔██╗ ╚════██║ ██║ ██║ ██║██║ ██║██║██║ ██║╚════██║
--██║ ██║██║ ███████╗██╔╝ ██╗ ███████║ ██║ ╚██████╔╝██████╔╝██║╚██████╔╝███████║
--╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝
----------------------------------------------------------------------------------------------------
-- ██████╗ ███████╗███╗ ██╗███████╗██████╗ █████╗ ██╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
--██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
--██║ ███╗█████╗ ██╔██╗ ██║█████╗ ██████╔╝███████║██║ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██║ ██║██╔══╝ ██║╚██╗██║██╔══╝ ██╔══██╗██╔══██║██║ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚██████╔╝███████╗██║ ╚████║███████╗██║ ██║██║ ██║███████╗ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config = {}
Config.Debug = false
-- ██╗ ██████╗ ██████╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
-- ██║██╔═══██╗██╔══██╗ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
-- ██║██║ ██║██████╔╝ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██ ██║██║ ██║██╔══██╗ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚█████╔╝╚██████╔╝██████╔╝ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚════╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config.Name = "Horny's Burger"
Config.Jobname = "hornys"
Config.Blips = {
{
enabled = true,
point = vector3(1248.13, -359.69, 69.08),
sprite = 58,
scale = 0.6,
colour = 17,
title = Config.Name,
},
}
Config.Features = {
RemoveNPCsFromLocation = true, -- Disable random NPCs spawning inside the club
RemoveNPCsFromLocationSettings = {
{
coords = vector3(1248.13, -359.69, 69.08),
radius = 20.0,
},
},
Office = true,
OfficeSettings = {
Target = {
{
points = vector3(1239.23, -348.74, 69.08),
heading = 345.0,
minZ = 69.08-1,
maxZ = 69.08+0.5,
Size = {2.6, 1.2},
distance = 2.0,
},
},
},
Duty = true, -- This is a QBCore function, set it to false, if using ESX!
DutySettings = {
Target = {
{
points = vector3(1243.53, -349.93, 69.08),
heading = 345.0,
minZ = 69.08-0.05,
maxZ = 69.08+1.2,
Size = {0.1, 1.6},
distance = 2.0,
},
},
},
Wardrobe = true,
WardrobeSettings = {
Target = {
{
points = vector3(1246.01, -354.95, 69.08),
heading = 345.0,
minZ = 69.08-1,
maxZ = 69.08+1.1,
Size = {2.2, 0.4},
distance = 2.0,
},
},
ClothingStore = true,
ClothingStoreTrigger = "qb-clothing:client:openMenu",
--[[
- qb-clothing:client:openMenu (default qbcore)
- illenium-appearance:client:openClothingShop (illenium-appearance)
- Or you can add your own trigger if you are using something else.
]]--
OutfitMenu = true,
OutfitMenuTrigger = "qb-clothing:client:openOutfitMenu",
--[[
- qb-clothing:client:openOutfitMenu (default qbcore)
- illenium-appearance:client:openOutfitMenu (illenium-appearance)
- Or you can add your own trigger if you are using something else.
]]--
PersonalLocker = true,
},
Table = true,
TableSettings = {
Size = 10000,
Slots = 10,
},
Tray = true,
TraySettings = {
Size = 10000,
Slots = 10,
},
Storage = true,
StorageSettings = {
Size = 4000000,
Slots = 500,
},
Ingredients = true,
IngredientsSettings = {
shelves = {
label = "Ingredients",
slots = 15,
items = {
{ name = "bacon", price = 5, amount = 50, info = {}, type = "item", slot = 1, },
{ name = "beefraw", price = 5, amount = 50, info = {}, type = "item", slot = 2, },
{ name = "bun", price = 5, amount = 50, info = {}, type = "item", slot = 3, },
{ name = "cheese", price = 5, amount = 50, info = {}, type = "item", slot = 4, },
{ name = "lettuce", price = 5, amount = 50, info = {}, type = "item", slot = 5, },
{ name = "milk", price = 5, amount = 50, info = {}, type = "item", slot = 6, },
{ name = "onion", price = 5, amount = 50, info = {}, type = "item", slot = 7, },
{ name = "tomato", price = 5, amount = 50, info = {}, type = "item", slot = 8, },
-- { name = "itemname", price = 0, amount = 0, info = {}, type = "item", slot = 11, },
},
},
},
Freezer = true,
FreezerSettings = {
shelves = {
label = "Freezer",
slots = 5,
items = {
{ name = "frozennuggets", price = 5, amount = 50, info = {}, type = "item", slot = 1, },
{ name = "frozenfries", price = 5, amount = 50, info = {}, type = "item", slot = 2, },
-- { name = "itemname", price = 0, amount = 0, info = {}, type = "item", slot = 2, },
},
},
},
DrinkMachine = true,
DrinkMachineSettings = {
shelves = {
label = "Drink Machine",
slots = 5,
items = {
{ name = "soda", price = 5, amount = 20, info = {}, type = "item", slot = 1, },
{ name = "creamy", price = 5, amount = 20, info = {}, type = "item", slot = 2, },
{ name = "milkshake", price = 5, amount = 20, info = {}, type = "item", slot = 3, },
{ name = "icecream", price = 5, amount = 20, info = {}, type = "item", slot = 4, },
-- { name = "itemname", price = 0, amount = 0, info = {}, type = "item", slot = 2, },
},
},
},
Kitchen = true,
KitchenSettings = {
FoodMakingDuration = 10, -- Duration in seconds
Recipes = {
GrillEnabled = true,
Grill = {
{
label = "Beef",
ingredients = {
{name = "beefraw", amount = 1},
},
output = {
{name = "beef", amount = 1},
},
},
-- {
-- label = "Name of Food",
-- ingredients = {
-- {name = "itemname", amount = 1},
-- },
-- output = {
-- {name = "itemname", amount = 1},
-- },
-- },
},
FryerEnabled = true,
Fryer = {
{
label = "French Fries",
ingredients = {
{name = "frozenfries", amount = 1},
},
output = {
{name = "fries", amount = 1},
},
},
{
label = "Onion Rings",
ingredients = {
{name = "onionslice", amount = 1},
},
output = {
{name = "onion_rings", amount = 1},
},
},
{
label = "Chicken Nuggets",
ingredients = {
{name = "frozennuggets", amount = 1},
},
output = {
{name = "nuggets", amount = 1},
},
},
-- {
-- label = "Name of Food",
-- ingredients = {
-- {name = "itemname", amount = 1},
-- },
-- output = {
-- {name = "itemname", amount = 1},
-- },
-- },
},
CuttingboardEnabled = true,
Cuttingboard = {
{
label = "Onion Slices",
ingredients = {
{name = "onion", amount = 1},
},
output = {
{name = "onionslice", amount = 2},
},
},
-- {
-- label = "Name of Food",
-- ingredients = {
-- {name = "itemname", amount = 1},
-- },
-- output = {
-- {name = "itemname", amount = 1},
-- },
-- },
},
PrepareboardEnabled = true,
Prepareboard = {
{
label = "Heart Stopper",
ingredients = {
{name = "bacon", amount = 1},
{name = "beef", amount = 1},
{name = "bun", amount = 1},
{name = "cheese", amount = 1},
{name = "lettuce", amount = 1},
{name = "onionslice", amount = 1},
{name = "tomato", amount = 1},
},
output = {
{name = "heartstopper", amount = 2},
},
},
{
label = "Bleeder",
ingredients = {
{name = "bacon", amount = 1},
{name = "beef", amount = 1},
{name = "bun", amount = 1},
{name = "cheese", amount = 1},
{name = "tomato", amount = 1},
},
output = {
{name = "bleeder", amount = 2},
},
},
{
label = "Torpedo",
ingredients = {
{name = "beef", amount = 1},
{name = "bun", amount = 1},
{name = "cheese", amount = 1},
{name = "lettuce", amount = 1},
{name = "onionslice", amount = 1},
},
output = {
{name = "torpedo", amount = 2},
},
},
{
label = "Money Shot",
ingredients = {
{name = "bacon", amount = 1},
{name = "beef", amount = 1},
{name = "bun", amount = 1},
{name = "lettuce", amount = 1},
{name = "onionslice", amount = 1},
{name = "tomato", amount = 1},
},
output = {
{name = "moneyshot", amount = 2},
},
},
-- {
-- label = "Name of Food",
-- ingredients = {
-- {name = "itemname", amount = 1},
-- },
-- output = {
-- {name = "itemname", amount = 1},
-- },
-- },
},
}
},
}
--████████╗ █████╗ ██████╗ ██████╗ ███████╗████████╗███████╗
--╚══██╔══╝██╔══██╗██╔══██╗██╔════╝ ██╔════╝╚══██╔══╝██╔════╝
-- ██║ ███████║██████╔╝██║ ███╗█████╗ ██║ ███████╗
-- ██║ ██╔══██║██╔══██╗██║ ██║██╔══╝ ██║ ╚════██║
-- ██║ ██║ ██║██║ ██║╚██████╔╝███████╗ ██║ ███████║
-- ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚══════╝
Config.AdditionalTargets = {
Cuttingboard = {
{
Coords = vector3(1249.56, -355.7, 69.08),
Heading = 345.0,
Size = {1.0, 1.4},
Distance = 2.5,
minZ = 69.08-1,
maxZ = 69.08+0.3,
},
},
Prepareboard = {
{
Coords = vector3(1252.0, -356.26, 69.08),
Heading = 345.0,
Size = {0.7, 3.6},
Distance = 2.5,
minZ = 69.08-1,
maxZ = 69.08+0.3,
},
},
Grill = {
{
Coords = vector3(1253.54, -355.53, 69.08),
Heading = 345.0,
Size = {1.5, 1},
Distance = 2.5,
minZ = 69.08-0.2,
maxZ = 69.08+0.3,
},
},
Fryer = {
{
Coords = vector3(1254.29, -352.89, 69.08),
Heading = 345.0,
Size = {1.5, 0.9},
Distance = 2.5,
minZ = 69.08-0.2,
maxZ = 69.08+0.3,
},
},
Storage = {
{
Coords = vector3(1251.87, -356.91, 69.08),
Heading = 345.0,
Size = {0.6, 1.5},
Distance = 1.5,
minZ = 69.08,
maxZ = 69.08+1,
},
},
Ingredients = {
{
Coords = vector3(1249.57, -352.31, 69.08),
Heading = 345.0,
Size = {0.4, 1.5},
Distance = 2.0,
minZ = 69.08-1,
maxZ = 69.08+1.5,
},
},
Freezer = {
{
Coords = vector3(1248.1, -351.95, 69.08),
Heading = 345.0,
Size = {0.4, 1.55},
Distance = 2.0,
minZ = 69.08-1,
maxZ = 69.08+1.5,
},
},
DrinkMachine = {
{
Coords = vector3(1251.99, -361.58, 69.08),
Heading = 345.0,
Size = {2.65, 0.8},
Distance = 1.5,
minZ = 69.08-1,
maxZ = 69.08+1,
},
},
CashRegisters = {
{
Coords = vector3(1248.11, -358.73, 69.08),
Heading = 345.0,
Size = {0.4, 0.4},
Distance = 1.5,
minZ = 69.08-0.1,
maxZ = 69.08+0.5,
},
{
Coords = vector3(1249.39, -359.08, 69.08),
Heading = 345.0,
Size = {0.4, 0.4},
Distance = 1.5,
minZ = 69.08-0.1,
maxZ = 69.08+0.5,
},
{
Coords = vector3(1250.74, -359.45, 69.08),
Heading = 345.0,
Size = {0.4, 0.4},
Distance = 1.5,
minZ = 69.08-0.1,
maxZ = 69.08+0.5,
},
{
Coords = vector3(1252.90, -357.54, 69.08),
Heading = 345.0,
Size = {0.4, 0.4},
Distance = 1.5,
minZ = 69.08-0.1,
maxZ = 69.08+0.5,
},
},
Tables = {
{ Coords = vector3(1250.58, -364.38, 69.08), Heading = 345.0, Size = {1.1, 2.05}, Distance = 2.5, minZ = 69.08-0.3, maxZ = 69.08+0.2, },
{ Coords = vector3(1249.90, -366.97, 69.08), Heading = 345.0, Size = {1.1, 2.05}, Distance = 2.5, minZ = 69.08-0.3, maxZ = 69.08+0.2, },
{ Coords = vector3(1245.10, -365.71, 69.08), Heading = 345.0, Size = {1.1, 2.05}, Distance = 2.5, minZ = 69.08-0.3, maxZ = 69.08+0.2, },
{ Coords = vector3(1245.79, -363.11, 69.08), Heading = 345.0, Size = {1.1, 2.05}, Distance = 2.5, minZ = 69.08-0.3, maxZ = 69.08+0.2, },
{ Coords = vector3(1239.85, -361.53, 69.08), Heading = 345.0, Size = {1.1, 2.05}, Distance = 2.5, minZ = 69.08-0.3, maxZ = 69.08+0.2, },
{ Coords = vector3(1239.16, -364.10, 69.08), Heading = 345.0, Size = {1.1, 2.05}, Distance = 2.5, minZ = 69.08-0.3, maxZ = 69.08+0.2, },
{ Coords = vector3(1236.15, -364.34, 69.08), Heading = 345.0, Size = {0.6, 0.6}, Distance = 2.5, minZ = 69.08, maxZ = 69.08+0.5, },
{ Coords = vector3(1235.18, -364.09, 69.08), Heading = 345.0, Size = {0.6, 0.6}, Distance = 2.5, minZ = 69.08, maxZ = 69.08+0.5, },
{ Coords = vector3(1234.10, -363.82, 69.08), Heading = 345.0, Size = {0.6, 0.6}, Distance = 2.5, minZ = 69.08, maxZ = 69.08+0.5, },
{ Coords = vector3(1233.83, -361.72, 69.08), Heading = 345.0, Size = {0.6, 0.6}, Distance = 2.5, minZ = 69.08, maxZ = 69.08+0.5, },
{ Coords = vector3(1234.11, -360.68, 69.08), Heading = 345.0, Size = {0.6, 0.6}, Distance = 2.5, minZ = 69.08, maxZ = 69.08+0.5, },
{ Coords = vector3(1234.36, -359.67, 69.08), Heading = 345.0, Size = {0.6, 0.6}, Distance = 2.5, minZ = 69.08, maxZ = 69.08+0.5, },
{ Coords = vector3(1238.22, -353.35, 69.08), Heading = 345.0, Size = {1.4, 0.6}, Distance = 2.5, minZ = 69.08-0.3, maxZ = 69.08+0.2, },
{ Coords = vector3(1239.97, -353.82, 69.08), Heading = 345.0, Size = {1.4, 0.6}, Distance = 2.5, minZ = 69.08-0.3, maxZ = 69.08+0.2, },
},
Trays = {
{ Coords = vector3(1248.77, -358.96, 68.99), Heading = 339.98,Size = {0.4, 0.55}, Distance = 2.5, minZ = 69.08-0.1, maxZ = 69.08+0.2, },
{ Coords = vector3(1250.06, -359.36, 68.99), Heading = 347.47,Size = {0.4, 0.55}, Distance = 2.5, minZ = 69.08-0.1, maxZ = 69.08+0.2, },
{ Coords = vector3(1251.42, -359.72, 68.99), Heading = 336.19,Size = {0.4, 0.55}, Distance = 2.5, minZ = 69.08-0.1, maxZ = 69.08+0.2, },
{ Coords = vector3(1253.04, -358.91, 68.99), Heading = 255.13,Size = {0.4, 0.55}, Distance = 2.5, minZ = 69.08-0.1, maxZ = 69.08+0.2, },
},
}
--███████╗███████╗ █████╗ ████████╗███████╗
--██╔════╝██╔════╝██╔══██╗╚══██╔══╝██╔════╝
--███████╗█████╗ ███████║ ██║ ███████╗
--╚════██║██╔══╝ ██╔══██║ ██║ ╚════██║
--███████║███████╗██║ ██║ ██║ ███████║
--╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝
Config.Seats = {
--[[
YOU CAN ADD, REMOVE OR ADJUST AS YOU WANT FOR MORE SEATS
]]--
--[[ HORNY'S BURGER ]]--
--[[ Benches ]]--
{ coords = vector4(1250.38, -363.39, 69.08, 165.0), stand = vector3(1249.33, -364.13, 69.08)},
{ coords = vector4(1251.28, -363.56, 69.08, 165.0), stand = vector3(1249.33, -364.13, 69.08)},
{ coords = vector4(1249.89, -365.19, 69.08, 345.0), stand = vector3(1249.33, -364.13, 69.08)},
{ coords = vector4(1250.82, -365.48, 69.08, 345.0), stand = vector3(1249.33, -364.13, 69.08)},
{ coords = vector4(1249.80, -365.96, 69.08, 165.0), stand = vector3(1248.64, -366.6, 69.08)},
{ coords = vector4(1250.55, -366.20, 69.08, 165.0), stand = vector3(1248.64, -366.6, 69.08)},
{ coords = vector4(1249.23, -367.80, 69.08, 345.0), stand = vector3(1248.64, -366.6, 69.08)},
{ coords = vector4(1250.08, -367.91, 69.08, 345.0), stand = vector3(1248.64, -366.6, 69.08)},
{ coords = vector4(1245.28, -366.70, 69.08, 165.0), stand = vector3(1246.37, -366.07, 69.08)},
{ coords = vector4(1244.53, -366.49, 69.08, 165.0), stand = vector3(1246.37, -366.07, 69.08)},
{ coords = vector4(1245.67, -364.89, 69.08, 345.0), stand = vector3(1246.37, -366.07, 69.08)},
{ coords = vector4(1244.95, -364.70, 69.08, 345.0), stand = vector3(1246.37, -366.07, 69.08)},
{ coords = vector4(1245.81, -364.16, 69.08, 165.0), stand = vector3(1247.02, -363.47, 69.08)},
{ coords = vector4(1245.05, -363.94, 69.08, 165.0), stand = vector3(1247.02, -363.47, 69.08)},
{ coords = vector4(1246.44, -362.32, 69.08, 345.0), stand = vector3(1247.02, -363.47, 69.08)},
{ coords = vector4(1245.60, -362.08, 69.08, 345.0), stand = vector3(1247.02, -363.47, 69.08)},
{ coords = vector4(1239.67, -360.46, 69.08, 165.0), stand = vector3(1238.64, -361.15, 69.08)},
{ coords = vector4(1240.45, -360.74, 69.08, 165.0), stand = vector3(1238.64, -361.15, 69.08)},
{ coords = vector4(1239.14, -362.28, 69.08, 345.0), stand = vector3(1238.64, -361.15, 69.08)},
{ coords = vector4(1239.97, -362.55, 69.08, 345.0), stand = vector3(1238.64, -361.15, 69.08)},
{ coords = vector4(1238.93, -363.11, 69.08, 165.0), stand = vector3(1237.87, -363.58, 69.08)},
{ coords = vector4(1239.86, -363.35, 69.08, 165.0), stand = vector3(1237.87, -363.58, 69.08)},
{ coords = vector4(1238.49, -364.89, 69.08, 345.0), stand = vector3(1237.87, -363.58, 69.08)},
{ coords = vector4(1239.27, -365.10, 69.08, 345.0), stand = vector3(1237.87, -363.58, 69.08)},
{ coords = vector4(1237.58, -353.60, 69.08, 255.0), stand = vector3(1237.92, -354.6, 69.08)},
{ coords = vector4(1237.79, -352.97, 69.08, 255.0), stand = vector3(1237.92, -354.6, 69.08)},
{ coords = vector4(1238.64, -353.89, 69.08, 75.0), stand = vector3(1237.92, -354.6, 69.08)},
{ coords = vector4(1238.82, -353.23, 69.08, 75.0), stand = vector3(1237.92, -354.6, 69.08)},
{ coords = vector4(1239.34, -354.10, 69.08, 255.0), stand = vector3(1239.65, -354.95, 69.08)},
{ coords = vector4(1239.51, -353.42, 69.08, 255.0), stand = vector3(1239.65, -354.95, 69.08)},
{ coords = vector4(1240.35, -354.34, 69.08, 75.0), stand = vector3(1239.65, -354.95, 69.08)},
{ coords = vector4(1240.54, -353.71, 69.08, 75.0), stand = vector3(1239.65, -354.95, 69.08)},
{ coords = vector4(1236.34, -363.70, 69.48, 165.0), stand = vector3(1236.42, -363.21, 69.08)},
{ coords = vector4(1235.31, -363.43, 69.48, 165.0), stand = vector3(1235.49, -362.9, 69.08)},
{ coords = vector4(1234.30, -363.16, 69.48, 165.0), stand = vector3(1234.49, -362.7, 69.08)},
{ coords = vector4(1234.48, -361.85, 69.48, 75.0), stand = vector3(1235.07, -362.02, 69.08)},
{ coords = vector4(1234.78, -360.87, 69.48, 75.0), stand = vector3(1235.33, -360.98, 69.08)},
{ coords = vector4(1235.04, -359.84, 69.48, 75.0), stand = vector3(1235.47, -360.02, 69.08)},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment