Skip to content

Instantly share code, notes, and snippets.

@aqade

aqade/config.lua Secret

Last active August 5, 2023 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aqade/7ba01409392429cb9639ca145c387629 to your computer and use it in GitHub Desktop.
Save aqade/7ba01409392429cb9639ca145c387629 to your computer and use it in GitHub Desktop.
apex_tequilala
-- █████╗ ██████╗ ███████╗██╗ ██╗ ███████╗████████╗██╗ ██╗██████╗ ██╗ ██████╗ ███████╗
--██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝ ██╔════╝╚══██╔══╝██║ ██║██╔══██╗██║██╔═══██╗██╔════╝
--███████║██████╔╝█████╗ ╚███╔╝ ███████╗ ██║ ██║ ██║██║ ██║██║██║ ██║███████╗
--██╔══██║██╔═══╝ ██╔══╝ ██╔██╗ ╚════██║ ██║ ██║ ██║██║ ██║██║██║ ██║╚════██║
--██║ ██║██║ ███████╗██╔╝ ██╗ ███████║ ██║ ╚██████╔╝██████╔╝██║╚██████╔╝███████║
--╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝
----------------------------------------------------------------------------------------------------
-- ██████╗ ███████╗███╗ ██╗███████╗██████╗ █████╗ ██╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
--██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
--██║ ███╗█████╗ ██╔██╗ ██║█████╗ ██████╔╝███████║██║ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██║ ██║██╔══╝ ██║╚██╗██║██╔══╝ ██╔══██╗██╔══██║██║ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚██████╔╝███████╗██║ ╚████║███████╗██║ ██║██║ ██║███████╗ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config = {}
Config.Debug = false
-- ██╗ ██████╗ ██████╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
-- ██║██╔═══██╗██╔══██╗ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
-- ██║██║ ██║██████╔╝ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██ ██║██║ ██║██╔══██╗ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚█████╔╝╚██████╔╝██████╔╝ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚════╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config.Name = "Tequi-la-la"
Config.Jobname = "tequilala"
Config.Blips = {
{
enabled = true,
point = vector3(-561.88, 286.56, 82.18),
sprite = 93,
scale = 0.6,
colour = 5,
title = Config.Name,
},
}
Config.Features = {
RemoveNPCsFromLocation = true, -- Disable random NPCs spawning inside the club
RemoveNPCsFromLocationSettings = {
{
coords = vector3(-558.09, 285.22, 82.18),
radius = 20.0,
},
},
Office = true,
OfficeSettings = {
Target = {
{
points = vector3(-573.55, 294.04, 79.18),
heading = 355.0,
minZ = 79.18-1,
maxZ = 79.18-0.2,
Size = {0.6, 3.2},
distance = 2.0,
},
},
},
Duty = true, -- This is a QBCore function, set it to false, if using ESX!
DutySettings = {
Target = {
{
points = vector3(-562.77, 279.08, 82.98),
heading = 335.0,
minZ = 82.98-0.2,
maxZ = 82.98+0.2,
Size = {0.45, 0.45},
distance = 2.5,
},
},
},
Wardrobe = true,
WardrobeSettings = {
Target = {
{
points = vector3(-568.61, 290.74, 79.18),
heading = 355.0,
minZ = 79.18-1,
maxZ = 79.18+2,
Size = {0.2, 1.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,
},
DJBooth = true,
DJBoothSettings = {
EmployeeOnly = true,
AudioVolume = 0.5,
AudioRange = 35.0,
Target = {
points = vector3(-551.86, 284.01, 82.98),
heading = 355.0,
minZ = 82.98-1.0,
maxZ = 82.98+0.2,
Size = {3.8, 1.6},
distance = 2.5,
},
},
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 = "pineapplejuice", price = 5, amount = 20, info = {}, type = "item", slot = 1, },
{ name = "lemon", price = 5, amount = 20, info = {}, type = "item", slot = 2, },
{ name = "lime", price = 5, amount = 20, info = {}, type = "item", slot = 3, },
{ name = "sugar", price = 5, amount = 20, info = {}, type = "item", slot = 4, },
{ name = "mint", price = 5, amount = 20, info = {}, type = "item", slot = 5, },
{ name = "cocomilk", price = 5, amount = 20, info = {}, type = "item", slot = 6, },
{ name = "gin", price = 5, amount = 20, info = {}, type = "item", slot = 7, },
{ name = "rum", price = 5, amount = 20, info = {}, type = "item", slot = 8, },
{ name = "whiskey", price = 5, amount = 20, info = {}, type = "item", slot = 9, },
{ name = "vodka", price = 5, amount = 20, info = {}, type = "item", slot = 10, },
-- { name = "itemname", price = 0, amount = 0, info = {}, type = "item", slot = 11, },
},
},
},
Freezer = true,
FreezerSettings = {
shelves = {
label = "Freezer",
slots = 5,
items = {
{ name = "ice", price = 5, amount = 20, info = {}, type = "item", slot = 1, },
-- { name = "itemname", price = 0, amount = 0, info = {}, type = "item", slot = 2, },
},
},
},
Bartending = true,
BartendingSettings = {
Target = {
{
points = vector3(-560.94, 288.06, 82.18),
heading = 355.0,
minZ = 82.18+0.1,
maxZ = 82.18+0.8,
Size = {0.7, 0.2},
distance = 2.0,
},
{
points = vector3(-561.14, 285.4, 82.18),
heading = 355.0,
minZ = 82.18+0.1,
maxZ = 82.18+0.8,
Size = {0.7, 0.2},
distance = 2.0,
},
{
points = vector3(-564.17, 286.27, 85.38),
heading = 355.0,
minZ = 85.38+0.1,
maxZ = 85.38+0.8,
Size = {0.7, 0.2},
distance = 2.0,
},
},
DrinkMakingDuration = 10, -- Duration in seconds
Recipes = {
{
label = "Blue Lagoon",
ingredients = {
{name = "vodka", amount = 1},
{name = "lemon", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "bluelagoon", amount = 1},
},
},
{
label = "Pinã Colada",
ingredients = {
{name = "cocomilk", amount = 1},
{name = "pineapplejuice", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "pinacolada", amount = 1},
},
},
{
label = "San Francisco",
ingredients = {
{name = "gin", amount = 1},
{name = "pineapplejuice", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "sanfrancisco", amount = 1},
},
},
{
label = "Caipirinha",
ingredients = {
{name = "rum", amount = 1},
{name = "lime", amount = 1},
{name = "sugar", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "caipirinha", amount = 1},
},
},
{
label = "Mojito",
ingredients = {
{name = "rum", amount = 1},
{name = "lime", amount = 1},
{name = "sugar", amount = 1},
{name = "mint", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "mojito", amount = 1},
},
},
{
label = "Mai Tai",
ingredients = {
{name = "rum", amount = 1},
{name = "lime", amount = 1},
{name = "pineapplejuice", amount = 1},
{name = "ice", amount = 1},
},
output = {
{name = "maitai", amount = 1},
},
},
}
}
}
--████████╗ █████╗ ██████╗ ██████╗ ███████╗████████╗███████╗
--╚══██╔══╝██╔══██╗██╔══██╗██╔════╝ ██╔════╝╚══██╔══╝██╔════╝
-- ██║ ███████║██████╔╝██║ ███╗█████╗ ██║ ███████╗
-- ██║ ██╔══██║██╔══██╗██║ ██║██╔══╝ ██║ ╚════██║
-- ██║ ██║ ██║██║ ██║╚██████╔╝███████╗ ██║ ███████║
-- ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚══════╝
Config.AdditionalTargets = {
Storage = {
{
Coords = vector3(-562.69, 287.51, 82.18),
Heading = 355.0,
Size = {5.2, 0.2},
Distance = 1.5,
minZ = 82.18-1,
maxZ = 82.18-0.05,
},
{
Coords = vector3(-565.97, 286.09, 85.38),
Heading = 355.0,
Size = {3.2, 0.2},
Distance = 1.5,
minZ = 85.38-1,
maxZ = 85.38-0.05,
},
},
Ingredients = {
{
Coords = vector3(-562.92, 287.55, 82.18),
Heading = 355.0,
Size = {5.2, 0.6},
Distance = 1.5,
minZ = 82.18+0.6,
maxZ = 82.18+1.2,
},
{
Coords = vector3(-566.35, 286.55, 85.38),
Heading = 355.0,
Size = {3.2, 0.6},
Distance = 1.5,
minZ = 85.38,
maxZ = 85.38+1.2,
},
},
Freezer = {
{
Coords = vector3(-563.0, 284.52, 82.18),
Heading = 355.0,
Size = {0.8, 0.8},
Distance = 1.5,
minZ = 82.18-1,
maxZ = 82.18+0.2,
},
},
CashRegisters = {
{
Coords = vector3(-563.28, 278.78, 82.98),
Heading = 0.0,
Size = {0.46, 0.40},
Distance = 1.5,
minZ = 83.14,
maxZ = 83.14+0.5,
},
{
Coords = vector3(-563.0, 287.49, 82.18),
Heading = 350.0,
Size = {0.35, 0.45},
Distance = 1.5,
minZ = 82.18,
maxZ = 82.18+0.5,
},
{
Coords = vector3(-566.29, 284.71, 85.38),
Heading = 0.0,
Size = {0.35, 0.45},
Distance = 1.5,
minZ = 85.38,
maxZ = 85.38+0.5,
},
},
Tables = {
{ Coords = vector3(-576.34, 292.60, 79.18), Heading = 0.0, Size = {0.8, 0.8}, Distance = 1.5, minZ = 79.18-1, maxZ = 79.18, },
{ Coords = vector3(-570.86, 289.74, 79.18), Heading = 0.0, Size = {0.8, 0.8}, Distance = 1.5, minZ = 79.18-1, maxZ = 79.18, },
{ Coords = vector3(-557.01, 291.13, 82.18), Heading = 0.0, Size = {0.8, 0.8}, Distance = 1.5, minZ = 82.18-1, maxZ = 82.18, },
{ Coords = vector3(-555.65, 278.98, 82.18), Heading = 0.0, Size = {0.8, 0.8}, Distance = 1.5, minZ = 82.18-1, maxZ = 82.18, },
{ Coords = vector3(-561.45, 289.37, 85.38), Heading = 0.0, Size = {0.8, 0.8}, Distance = 1.5, minZ = 85.38-1, maxZ = 85.38, },
{ Coords = vector3(-559.74, 289.24, 85.38), Heading = 0.0, Size = {0.8, 0.8}, Distance = 1.5, minZ = 85.38-1, maxZ = 85.38, },
{ Coords = vector3(-559.83, 284.80, 85.38), Heading = 0.0, Size = {0.8, 0.8}, Distance = 1.5, minZ = 85.38-1, maxZ = 85.38, },
{ Coords = vector3(-561.10, 281.08, 85.68), Heading = 0.0, Size = {0.8, 0.8}, Distance = 1.5, minZ = 85.68-1, maxZ = 85.68, },
},
Trays = {
{ Coords = vector3(-560.91, 287.36, 82.18), Heading = 353.0, Size = {0.42, 0.22}, Distance = 2.5, minZ = 82.18+0.07, maxZ = 82.18+0.27, },
{ Coords = vector3(-561.02, 286.07, 82.18), Heading = 356.0, Size = {0.42, 0.22}, Distance = 2.5, minZ = 82.18+0.07, maxZ = 82.18+0.27, },
{ Coords = vector3(-561.17, 284.79, 82.18), Heading = 354.0, Size = {0.42, 0.22}, Distance = 2.5, minZ = 82.18+0.07, maxZ = 82.18+0.27, },
{ Coords = vector3(-564.11, 286.88, 85.38), Heading = 353.0, Size = {0.42, 0.22}, Distance = 2.5, minZ = 85.38+0.07, maxZ = 85.38+0.27, },
{ Coords = vector3(-564.23, 285.57, 85.38), Heading = 356.0, Size = {0.42, 0.22}, Distance = 2.5, minZ = 85.38+0.07, maxZ = 85.38+0.27, },
},
}
--███████╗███████╗ █████╗ ████████╗███████╗
--██╔════╝██╔════╝██╔══██╗╚══██╔══╝██╔════╝
--███████╗█████╗ ███████║ ██║ ███████╗
--╚════██║██╔══╝ ██╔══██║ ██║ ╚════██║
--███████║███████╗██║ ██║ ██║ ███████║
--╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝
Config.Seats = {
--[[
YOU CAN ADD, REMOVE OR ADJUST AS YOU WANT FOR MORE SEATS
]]--
--[[ TEQUI-LA-LA ]]--
--[[ Basement ]]--
{ coords = vector4(-575.53, 293.27, 79.18, 220.0), stand = vector3(-575.02, 292.73, 79.18)},
{ coords = vector4(-571.01, 290.78, 79.18, 115.0), stand = vector3(-571.77, 290.42, 79.18)},
{ coords = vector4(-571.12, 288.46, 79.18, 85.0), stand = vector3(-572.14, 288.45, 79.18)},
{ coords = vector4(-571.31, 287.24, 79.18, 85.0), stand = vector3(-572.48, 286.96, 79.18)},
{ coords = vector4(-572.69, 285.76, 79.18, 355.0), stand = vector3(-572.48, 286.96, 79.18)},
{ coords = vector4(-574.01, 285.87, 79.18, 355.0), stand = vector3(-573.88, 287.10, 79.18)},
--[[ Main Floor ]]--
{ coords = vector4(-556.37, 292.41, 82.18, 175.0), stand = vector3(-556.23, 291.70, 82.18)},
{ coords = vector4(-555.64, 291.51, 82.18, 85.0), stand = vector3(-556.23, 291.70, 82.18)},
{ coords = vector4(-553.14, 277.29, 82.18, 355.0), stand = vector3(-553.51, 277.99, 82.18)},
{ coords = vector4(-553.90, 277.30, 82.18, 355.0), stand = vector3(-553.51, 277.99, 82.18)},
{ coords = vector4(-555.02, 277.44, 82.18, 355.0), stand = vector3(-555.26, 278.13, 82.18)},
{ coords = vector4(-555.80, 277.51, 82.18, 355.0), stand = vector3(-555.26, 278.13, 82.18)},
--[[ Balcony ]]--
{ coords = vector4(-561.68, 290.78, 85.38, 175.0), stand = vector3(-561.28, 290.17, 85.38)},
{ coords = vector4(-560.92, 290.70, 85.38, 175.0), stand = vector3(-561.28, 290.17, 85.38)},
{ coords = vector4(-559.80, 290.54, 85.38, 175.0), stand = vector3(-559.56, 289.99, 85.38)},
{ coords = vector4(-559.10, 290.48, 85.38, 175.0), stand = vector3(-559.56, 289.99, 85.38)},
{ coords = vector4(-561.22, 284.70, 85.38, 265.0), stand = vector3(-560.53, 284.33, 85.38)},
{ coords = vector4(-560.58, 283.50, 85.38, 345.0), stand = vector3(-560.53, 284.33, 85.38)},
{ coords = vector4(-559.59, 283.36, 85.38, 15.0), stand = vector3(-559.57, 284.10, 85.38)},
{ coords = vector4(-562.65, 281.30, 85.68, 275.0), stand = vector3(-561.88, 281.16, 85.68)},
{ coords = vector4(-559.64, 280.87, 85.68, 85.0), stand = vector3(-560.30, 281.08, 85.68)},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment