Skip to content

Instantly share code, notes, and snippets.

@aqade

aqade/config.lua Secret

Created August 20, 2023 11:47
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/c29b6d843248bcd154bccdbd74e6e889 to your computer and use it in GitHub Desktop.
Save aqade/c29b6d843248bcd154bccdbd74e6e889 to your computer and use it in GitHub Desktop.
apex_yellowjack
-- █████╗ ██████╗ ███████╗██╗ ██╗ ███████╗████████╗██╗ ██╗██████╗ ██╗ ██████╗ ███████╗
--██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝ ██╔════╝╚══██╔══╝██║ ██║██╔══██╗██║██╔═══██╗██╔════╝
--███████║██████╔╝█████╗ ╚███╔╝ ███████╗ ██║ ██║ ██║██║ ██║██║██║ ██║███████╗
--██╔══██║██╔═══╝ ██╔══╝ ██╔██╗ ╚════██║ ██║ ██║ ██║██║ ██║██║██║ ██║╚════██║
--██║ ██║██║ ███████╗██╔╝ ██╗ ███████║ ██║ ╚██████╔╝██████╔╝██║╚██████╔╝███████║
--╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝
----------------------------------------------------------------------------------------------------
-- ██████╗ ███████╗███╗ ██╗███████╗██████╗ █████╗ ██╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
--██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
--██║ ███╗█████╗ ██╔██╗ ██║█████╗ ██████╔╝███████║██║ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██║ ██║██╔══╝ ██║╚██╗██║██╔══╝ ██╔══██╗██╔══██║██║ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚██████╔╝███████╗██║ ╚████║███████╗██║ ██║██║ ██║███████╗ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config = {}
Config.Debug = false
-- ██╗ ██████╗ ██████╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
-- ██║██╔═══██╗██╔══██╗ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
-- ██║██║ ██║██████╔╝ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██ ██║██║ ██║██╔══██╗ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚█████╔╝╚██████╔╝██████╔╝ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚════╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config.Name = "Yellow Jack"
Config.Jobname = "yellowjack"
Config.Blips = {
{
enabled = true,
point = vector3(1989.53, 3049.01, 47.22),
sprite = 93,
scale = 0.6,
colour = 28,
title = Config.Name,
},
}
Config.Features = {
RemoveNPCsFromLocation = true, -- Disable random NPCs spawning inside the club
RemoveNPCsFromLocationSettings = {
{
coords = vector3(1989.53, 3049.01, 47.22),
radius = 20.0,
},
},
Office = true,
OfficeSettings = {
Target = {
{
points = vector3(1982.83, 3023.11, 47.06),
heading = 329.0,
minZ = 47.06-2.0,
maxZ = 47.06+2.4,
Size = {5.2, 16.4},
distance = 2.0,
},
},
},
Duty = true, -- This is a QBCore function, set it to false, if using ESX!
DutySettings = {
Target = {
{
points = vector3(1992.04, 3043.74, 47.22),
heading = 328.0,
minZ = 47.22-1.0,
maxZ = 47.22+1.0,
Size = {0.8, 1.6},
distance = 2.5,
},
},
},
Wardrobe = true,
WardrobeSettings = {
Target = {
{
points = vector3(1990.89, 3051.77, 47.22),
heading = 328.0,
minZ = 47.22-1,
maxZ = 47.22+0.5,
Size = {1.8, 0.2},
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,
},
JukeBox = true,
JukeBoxSettings = {
EmployeeOnly = true,
AudioVolume = 0.5,
AudioRange = 55.0,
Target = {
points = vector3(1987.92, 3051.7, 47.22),
heading = 328.0,
minZ = 47.22-1,
maxZ = 47.22+0.8,
Size = {1.0, 1.1},
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(1981.43, 3052.97, 47.22),
heading = 54.0,
minZ = 47.22,
maxZ = 47.22+0.7,
Size = {0.4, 0.8},
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(1984.93, 3048.24, 47.22),
Heading = 327.0,
Size = {0.8, 0.8},
Distance = 1.5,
minZ = 47.22-1.0,
maxZ = 47.22+1.0,
},
},
Ingredients = {
{
Coords = vector3(1981.65, 3053.26, 47.22),
Heading = 328.0,
Size = {2.45, 0.6},
Distance = 1.5,
minZ = 47.22-1,
maxZ = 47.22-0.05,
},
},
Freezer = {
{
Coords = vector3(1983.34, 3052.36, 47.22),
Heading = 58.0,
Size = {1, 0.8},
Distance = 1.5,
minZ = 47.22-1,
maxZ = 47.22-0.05,
},
},
CashRegisters = {
{
Coords = vector3(1981.88, 3053.75, 47.22),
Heading = 328.0,
Size = {0.4, 0.55},
Distance = 1.5,
minZ = 47.22,
maxZ = 47.22+0.5,
},
},
Tables = {
{ Coords = vector3(1989.08, 3049.97, 47.22), Heading = 334.0, Size = {1.0, 1.6}, Distance = 1.5, minZ = 47.22-1, maxZ = 47.22, },
{ Coords = vector3(1988.59, 3046.31, 47.22), Heading = 63.0, Size = {1.0, 1.6}, Distance = 1.5, minZ = 47.22-1, maxZ = 47.22, },
},
Trays = {
{ Coords = vector3(1984.52, 3053.35, 47.22), Heading = 328.0, Size = {4.4, 0.8}, Distance = 2.5, minZ = 47.22, maxZ = 47.22+0.27, },
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment