Skip to content

Instantly share code, notes, and snippets.

@aqade

aqade/config.lua Secret

Created August 5, 2023 07:15
Show Gist options
  • Save aqade/2aa793689945fa8925662ddee5ddae04 to your computer and use it in GitHub Desktop.
Save aqade/2aa793689945fa8925662ddee5ddae04 to your computer and use it in GitHub Desktop.
apex_vanillaunicorn
-- █████╗ ██████╗ ███████╗██╗ ██╗ ███████╗████████╗██╗ ██╗██████╗ ██╗ ██████╗ ███████╗
--██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝ ██╔════╝╚══██╔══╝██║ ██║██╔══██╗██║██╔═══██╗██╔════╝
--███████║██████╔╝█████╗ ╚███╔╝ ███████╗ ██║ ██║ ██║██║ ██║██║██║ ██║███████╗
--██╔══██║██╔═══╝ ██╔══╝ ██╔██╗ ╚════██║ ██║ ██║ ██║██║ ██║██║██║ ██║╚════██║
--██║ ██║██║ ███████╗██╔╝ ██╗ ███████║ ██║ ╚██████╔╝██████╔╝██║╚██████╔╝███████║
--╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝
----------------------------------------------------------------------------------------------------
-- ██████╗ ███████╗███╗ ██╗███████╗██████╗ █████╗ ██╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
--██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
--██║ ███╗█████╗ ██╔██╗ ██║█████╗ ██████╔╝███████║██║ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██║ ██║██╔══╝ ██║╚██╗██║██╔══╝ ██╔══██╗██╔══██║██║ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚██████╔╝███████╗██║ ╚████║███████╗██║ ██║██║ ██║███████╗ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config = {}
Config.Debug = false
-- ██╗ ██████╗ ██████╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
-- ██║██╔═══██╗██╔══██╗ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
-- ██║██║ ██║██████╔╝ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██ ██║██║ ██║██╔══██╗ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚█████╔╝╚██████╔╝██████╔╝ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚════╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config.Name = "Vanilla Unicorn"
Config.Jobname = "vanilla"
Config.Blips = {
{
enabled = true,
point = vector3(118.87, -1292.32, 29.27),
sprite = 121,
scale = 0.6,
colour = 48,
title = Config.Name,
},
}
Config.Features = {
RemoveNPCsFromLocation = true, -- Disable random NPCs spawning inside the club
RemoveNPCsFromLocationSettings = {
{
coords = vector3(116.55, -1292.37, 28.26),
radius = 35.0,
},
},
Office = true,
OfficeSettings = {
Target = {
{
points = vector3(96.21, -1293.17, 29.26),
heading = 300.0,
minZ = 29.26-1,
maxZ = 29.26+0.5,
Size = {1.15, 3.4},
distance = 2.0,
},
},
},
Duty = true, -- This is a QBCore function, set it to false, if using ESX!
DutySettings = {
Target = {
{
points = vector3(102.23, -1299.5, 28.77),
heading = 302.0,
minZ = 28.77-0.1,
maxZ = 28.77+2,
Size = {0.2, 0.85},
distance = 2.5,
},
},
},
Wardrobe = true,
WardrobeSettings = {
Target = {
{
points = vector3(109.21, -1304.1, 28.79),
heading = 300.0,
minZ = 28.79-1,
maxZ = 28.79+1.6,
Size = {0.6, 2.45},
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(119.94, -1281.79, 29.48),
heading = 300.0,
minZ = 29.48-0.1,
maxZ = 29.48+0.1,
Size = {0.6, 2.4},
distance = 2.5,
},
},
Poledancing = true,
PoledancingSettings = {
EmployeeOnly = true,
Duration = 60, -- Duration in seconds
Target = {
{
points = vector3(108.79, -1289.3, 29.25),
minZ = 29.25-1.2,
maxZ = 29.25+3.5,
distance = 3.0,
},
{
points = vector3(104.78, -1294.48, 29.25),
minZ = 29.25-1.2,
maxZ = 29.25+3.5,
distance = 3.0,
},
{
points = vector3(102.22, -1290.16, 29.25),
minZ = 29.25-1.2,
maxZ = 29.25+3.5,
distance = 3.0,
},
-- {
-- points = vector3(0.0, 0.0, 0.0),
-- minZ = 0.0-0.0,
-- maxZ = 0.0+0.0,
-- distance = 0.0,
-- },
},
},
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(128.12, -1283.07, 29.27),
heading = 300.0,
minZ = 29.27+0.03,
maxZ = 29.27+0.55,
Size = {0.45, 0.7},
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(132.53, -1285.5, 29.27),
Heading = 300.0,
Size = {0.2, 1.3},
Distance = 2.0,
minZ = 29.27-1.2,
maxZ = 29.27,
},
},
Ingredients = {
{
Coords = vector3(130.08, -1280.72, 29.27),
Heading = 300.0,
Size = {0.9, 3.6},
Distance = 2.0,
minZ = 29.27+0.03,
maxZ = 29.27+0.5,
},
},
Freezer = {
{
Coords = vector3(127.9, -1281.92, 29.27),
Heading = 300.0,
Size = {1.05, 0.8},
Distance = 2.0,
minZ = 29.27-1,
maxZ = 29.27+0.05,
},
},
CashRegisters = {
{
Coords = vector3(129.15, -1284.96, 29.27),
Heading = 35.0,
Size = {0.35, 0.55},
Distance = 2.0,
minZ = 29.27,
maxZ = 29.27+0.5,
},
{
Coords = vector3(132.98, -1286.04, 29.27),
Heading = 25.0,
Size = {0.4, 0.5},
Distance = 2.0,
minZ = 29.27,
maxZ = 29.27+0.5,
},
},
Tables = {
{ Coords = vector3(117.54, -1283.02, 28.26), Heading = 0.0, Size = {1.5, 1.5}, Distance = 1.5, minZ = 28.26-1, maxZ = 28.26, },
{ Coords = vector3(115.91, -1286.76, 28.26), Heading = 0.0, Size = {1.5, 1.5}, Distance = 1.5, minZ = 28.26-1, maxZ = 28.26, },
{ Coords = vector3(112.77, -1283.12, 28.26), Heading = 0.0, Size = {1.5, 1.5}, Distance = 1.5, minZ = 28.26-1, maxZ = 28.26, },
{ Coords = vector3(113.31, -1303.04, 29.27), Heading = 0.0, Size = {1.5, 1.5}, Distance = 1.5, minZ = 29.27-1, maxZ = 29.27, },
{ Coords = vector3(122.00, -1287.09, 28.26), Heading = 300.0, Size = {1.0, 0.8}, Distance = 1.5, minZ = 28.26-1, maxZ = 28.26, },
{ Coords = vector3(120.96, -1285.17, 28.26), Heading = 300.0, Size = {1.0, 0.8}, Distance = 1.5, minZ = 28.26-1, maxZ = 28.26, },
{ Coords = vector3(116.53, -1291.46, 28.26), Heading = 30.0, Size = {1.0, 0.8}, Distance = 1.5, minZ = 28.26-1, maxZ = 28.26, },
{ Coords = vector3(123.41, -1294.84, 29.27), Heading = 30.0, Size = {1.0, 0.8}, Distance = 1.5, minZ = 29.27-1, maxZ = 29.27, },
{ Coords = vector3(119.98, -1296.80, 29.27), Heading = 30.0, Size = {1.0, 0.8}, Distance = 1.5, minZ = 29.27-1, maxZ = 29.27, },
{ Coords = vector3(113.67, -1299.76, 29.27), Heading = 300.0, Size = {1.0, 0.8}, Distance = 1.5, minZ = 29.27-1, maxZ = 29.27, },
{ Coords = vector3(111.27, -1304.33, 29.27), Heading = 30.0, Size = {1.8, 0.8}, Distance = 1.5, minZ = 29.27-1, maxZ = 29.27, },
{ Coords = vector3(114.64, -1305.56, 29.27), Heading = 300.0, Size = {1.0, 0.8}, Distance = 1.5, minZ = 29.27-1, maxZ = 29.27, },
},
Trays = {
{ Coords = vector3(128.55, -1284.22, 29.27), Heading = 30.0, Size = {1.2, 1.0}, Distance = 2.5, minZ = 29.27, maxZ = 29.27+0.5, },
},
}
--███████╗███████╗ █████╗ ████████╗███████╗
--██╔════╝██╔════╝██╔══██╗╚══██╔══╝██╔════╝
--███████╗█████╗ ███████║ ██║ ███████╗
--╚════██║██╔══╝ ██╔══██║ ██║ ╚════██║
--███████║███████╗██║ ██║ ██║ ███████║
--╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝
Config.Seats = {
--[[
YOU CAN ADD, REMOVE OR ADJUST AS YOU WANT FOR MORE SEATS
]]--
--[[ VANILLA UNICORN ]]--
--[[ Bar ]]--
{ coords = vector4(129.43, -1287.54, 29.57, 300.0), stand = vector3(129.02, -1287.82, 29.27)},
{ coords = vector4(128.73, -1286.41, 29.57, 300.0), stand = vector3(128.33, -1286.76, 29.27)},
{ coords = vector4(128.07, -1285.23, 29.57, 300.0), stand = vector3(127.60, -1285.51, 29.27)},
{ coords = vector4(127.42, -1284.03, 29.57, 300.0), stand = vector3(126.86, -1284.30, 29.27)},
{ coords = vector4(126.59, -1282.62, 29.57, 300.0), stand = vector3(126.08, -1282.91, 29.27)},
--[[ Room 1 ]]--
{ coords = vector4(124.29, -1293.78, 29.27, 120.0), stand = vector3(124.30, -1295.09, 29.27)},
{ coords = vector4(124.72, -1294.54, 29.27, 120.0), stand = vector3(124.30, -1295.09, 29.27)},
{ coords = vector4(124.54, -1295.74, 29.27, 30.0), stand = vector3(124.30, -1295.09, 29.27)},
{ coords = vector4(123.71, -1296.24, 29.27, 30.0), stand = vector3(123.13, -1295.80, 29.27)},
{ coords = vector4(122.55, -1295.97, 29.27, 300.0), stand = vector3(123.13, -1295.80, 29.27)},
{ coords = vector4(122.01, -1295.21, 29.27, 300.0), stand = vector3(123.13, -1295.80, 29.27)},
--[[ Room 2 ]]--
{ coords = vector4(120.94, -1295.72, 29.27, 120.0), stand = vector3(120.99, -1297.20, 29.27)},
{ coords = vector4(121.33, -1296.54, 29.27, 120.0), stand = vector3(120.99, -1297.20, 29.27)},
{ coords = vector4(121.14, -1297.70, 29.27, 30.0), stand = vector3(120.99, -1297.20, 29.27)},
{ coords = vector4(120.27, -1298.16, 29.27, 30.0), stand = vector3(119.85, -1297.81, 29.27)},
{ coords = vector4(119.19, -1297.99, 29.27, 300.0), stand = vector3(119.85, -1297.81, 29.27)},
{ coords = vector4(118.69, -1297.11, 29.27, 300.0), stand = vector3(119.85, -1297.81, 29.27)},
--[[ Main Floor Corners ]]--
{ coords = vector4(123.76, -1287.43, 28.26, 120.0), stand = vector3(122.79, -1288.04, 28.26)},
{ coords = vector4(123.35, -1289.01, 28.26, 30.0), stand = vector3(122.79, -1288.04, 28.26)},
{ coords = vector4(120.40, -1284.15, 28.26, 210.0), stand = vector3(120.13, -1285.52, 28.26)},
{ coords = vector4(122.05, -1284.53, 28.26, 120.0), stand = vector3(120.13, -1285.52, 28.26)},
{ coords = vector4(121.65, -1286.25, 28.26, 30.0), stand = vector3(120.13, -1285.52, 28.26)},
{ coords = vector4(117.24, -1292.73, 28.26, 30.0), stand = vector3(117.48, -1291.29, 28.26)},
{ coords = vector4(115.60, -1292.29, 28.26, 300.0), stand = vector3(117.48, -1291.29, 28.26)},
--[[ Main Floor Circles ]]--
{ coords = vector4(115.45, -1288.56, 28.26, 356.39), stand = vector3(115.85, -1287.88, 28.26)},
{ coords = vector4(116.36, -1288.58, 28.26, 23.380), stand = vector3(115.85, -1287.88, 28.26)},
{ coords = vector4(117.08, -1288.10, 28.26, 46.87), stand = vector3(116.86, -1287.48, 28.26)},
{ coords = vector4(117.57, -1287.45, 28.26, 69.66), stand = vector3(116.86, -1287.48, 28.26)},
{ coords = vector4(117.68, -1286.56, 28.26, 99.26), stand = vector3(117.01, -1286.38, 28.26)},
{ coords = vector4(117.37, -1285.69, 28.26, 128.97), stand = vector3(117.01, -1286.38, 28.26)},
{ coords = vector4(119.29, -1282.64, 28.26, 106.22), stand = vector3(118.51, -1282.53, 28.26)},
{ coords = vector4(118.90, -1281.82, 28.26, 130.97), stand = vector3(118.51, -1282.53, 28.26)},
{ coords = vector4(118.19, -1281.30, 28.26, 156.26), stand = vector3(117.63, -1281.91, 28.26)},
{ coords = vector4(117.27, -1281.19, 28.26, 184.24), stand = vector3(117.63, -1281.91, 28.26)},
{ coords = vector4(116.41, -1281.52, 28.26, 217.62), stand = vector3(116.69, -1282.27, 28.26)},
{ coords = vector4(115.83, -1282.23, 28.26, 241.67), stand = vector3(116.69, -1282.27, 28.26)},
{ coords = vector4(115.63, -1283.02, 28.26, 278.16), stand = vector3(116.32, -1283.34, 28.26)},
{ coords = vector4(115.86, -1283.96, 28.26, 310.36), stand = vector3(116.32, -1283.34, 28.26)},
{ coords = vector4(113.83, -1284.64, 28.26, 40.99), stand = vector3(113.63, -1283.93, 28.26)},
{ coords = vector4(114.43, -1283.95, 28.26, 65.57), stand = vector3(113.63, -1283.93, 28.26)},
{ coords = vector4(114.65, -1283.12, 28.26, 96.13), stand = vector3(113.92, -1282.89, 28.26)},
{ coords = vector4(114.46, -1282.24, 28.26, 110.13), stand = vector3(113.92, -1282.89, 28.26)},
{ coords = vector4(113.83, -1281.61, 28.26, 141.98), stand = vector3(113.30, -1282.03, 28.26)},
{ coords = vector4(113.05, -1281.24, 28.26, 170.44), stand = vector3(113.30, -1282.03, 28.26)},
{ coords = vector4(112.15, -1281.33, 28.26, 194.03), stand = vector3(112.08, -1282.18, 28.26)},
{ coords = vector4(111.36, -1281.88, 28.26, 223.73), stand = vector3(112.08, -1282.18, 28.26)},
--[[ Scene ]]--
{ coords = vector4(108.10, -1293.27, 28.26, 30.0), stand = vector3(108.59, -1294.08, 28.26)},
{ coords = vector4(109.82, -1292.31, 28.26, 30.0), stand = vector3(110.31, -1293.14, 28.26)},
{ coords = vector4(111.52, -1290.72, 28.26, 65.0), stand = vector3(112.42, -1291.26, 28.26)},
{ coords = vector4(111.78, -1288.50, 28.26, 100.0), stand = vector3(112.81, -1288.37, 28.26)},
{ coords = vector4(110.56, -1286.84, 28.26, 140.0), stand = vector3(111.22, -1286.08, 28.26)},
{ coords = vector4(108.39, -1286.18, 28.26, 180.0), stand = vector3(108.49, -1285.30, 28.26)},
{ coords = vector4(106.40, -1286.90, 28.26, 205.0), stand = vector3(106.00, -1285.98, 28.26)},
{ coords = vector4(104.76, -1287.75, 28.26, 210.0), stand = vector3(104.27, -1286.98, 28.26)},
--[[ VIP Room ]]--
{ coords = vector4(115.92, -1303.33, 29.29, 120.0), stand = vector3(115.15, -1304.1, 29.29)},
{ coords = vector4(115.53, -1304.93, 29.29, 30.0), stand = vector3(115.15, -1304.1, 29.29)},
{ coords = vector4(113.75, -1305.96, 29.29, 30.0), stand = vector3(112.99, -1305.29, 29.29)},
{ coords = vector4(112.10, -1305.65, 29.29, 210.0), stand = vector3(112.99, -1305.29, 29.29)},
{ coords = vector4(110.69, -1303.09, 29.29, 210.00), stand = vector3(111.37, -1302.28, 29.29)},
{ coords = vector4(111.08, -1301.43, 29.29, 300.0), stand = vector3(111.37, -1302.28, 29.29)},
{ coords = vector4(111.83, -1300.94, 29.29, 300.0), stand = vector3(112.77, -1301.46, 29.29)},
{ coords = vector4(112.73, -1300.43, 29.29, 300.0), stand = vector3(112.77, -1301.46, 29.29)},
--[[ Wardrobe ]]--
{ coords = vector4(109.32, -1305.63, 29.09, 210.0), stand = vector3(108.89, -1305.02, 28.77)},
{ coords = vector4(108.03, -1306.23, 29.09, 195.0), stand = vector3(107.73, -1305.65, 28.77)},
{ coords = vector4(107.11, -1306.65, 29.09, 215.0), stand = vector3(106.74, -1306.11, 28.77)},
--[[ Office ]]--
{ coords = vector4(95.23, -1293.46, 29.26, 320.31), stand = vector3(94.70, -1292.64, 29.26)},
{ coords = vector4(98.57, -1290.49, 29.26, 120.00), stand = vector3(97.75, -1290.37, 29.26)},
{ coords = vector4(98.03, -1289.41, 29.26, 120.00), stand = vector3(97.75, -1290.37, 29.26)},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment