Skip to content

Instantly share code, notes, and snippets.

@aqade

aqade/config.lua Secret

Created December 5, 2023 20:22
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/45953ab7fea1b241a54fc18790144054 to your computer and use it in GitHub Desktop.
Save aqade/45953ab7fea1b241a54fc18790144054 to your computer and use it in GitHub Desktop.
apex_rustybrown
-- █████╗ ██████╗ ███████╗██╗ ██╗ ███████╗████████╗██╗ ██╗██████╗ ██╗ ██████╗ ███████╗
--██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝ ██╔════╝╚══██╔══╝██║ ██║██╔══██╗██║██╔═══██╗██╔════╝
--███████║██████╔╝█████╗ ╚███╔╝ ███████╗ ██║ ██║ ██║██║ ██║██║██║ ██║███████╗
--██╔══██║██╔═══╝ ██╔══╝ ██╔██╗ ╚════██║ ██║ ██║ ██║██║ ██║██║██║ ██║╚════██║
--██║ ██║██║ ███████╗██╔╝ ██╗ ███████║ ██║ ╚██████╔╝██████╔╝██║╚██████╔╝███████║
--╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝
----------------------------------------------------------------------------------------------------
-- ██████╗ ███████╗███╗ ██╗███████╗██████╗ █████╗ ██╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
--██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
--██║ ███╗█████╗ ██╔██╗ ██║█████╗ ██████╔╝███████║██║ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██║ ██║██╔══╝ ██║╚██╗██║██╔══╝ ██╔══██╗██╔══██║██║ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚██████╔╝███████╗██║ ╚████║███████╗██║ ██║██║ ██║███████╗ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config = {}
Config.Debug = false
-- ██╗ ██████╗ ██████╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
-- ██║██╔═══██╗██╔══██╗ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
-- ██║██║ ██║██████╔╝ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
--██ ██║██║ ██║██╔══██╗ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
--╚█████╔╝╚██████╔╝██████╔╝ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
-- ╚════╝ ╚═════╝ ╚═════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
Config.Name = "Rusty Brown"
Config.Jobname = "rustybrown"
Config.Blips = {
-- Vespucci Blvd.
{
enabled = true,
point = vector3(357.06, -1022.29, 29.37),
sprite = 270,
scale = 0.8,
colour = 31,
title = Config.Name,
},
-- Downtown Vinewood
{
enabled = true,
point = vector3(151.19, 243.92, 107.05),
sprite = 270,
scale = 0.8,
colour = 31,
title = Config.Name,
},
}
Config.Features = {
RemoveNPCsFromLocation = true, -- Disable random NPCs spawning inside the club
RemoveNPCsFromLocationSettings = {
-- Vespucci Blvd.
{
coords = vector3(357.06, -1022.29, 29.37),
radius = 10.0,
},
-- Downtown Vinewood
{
coords = vector3(151.19, 243.92, 107.05),
radius = 10.0,
},
},
Office = true,
OfficeSettings = {
Target = {
-- Vespucci Blvd.
{
points = vector3(368.46, -1013.55, 29.37),
heading = 0.0,
minZ = 29.37-0.1,
maxZ = 29.37+0.4,
Size = {0.8, 0.6},
distance = 2.0,
},
-- Downtown Vinewood
{
points = vector3(165.01, 248.23, 107.05),
heading = 340.0,
minZ = 107.05-0.1,
maxZ = 107.05+0.4,
Size = {0.8, 0.6},
distance = 2.0,
},
},
},
Duty = true, -- This is a QBCore function, set it to false, if using ESX!
DutySettings = {
Target = {
-- Vespucci Blvd.
{
points = vector3(367.76, -1012.52, 29.37),
heading = 0.0,
minZ = 29.37+0.1,
maxZ = 29.37+1.3,
Size = {0.2, 2.0},
distance = 2.0,
},
-- Downtown Vinewood
{
points = vector3(164.69, 249.46, 107.05),
heading = 0.0,
minZ = 107.05+0.1,
maxZ = 107.05+1.3,
Size = {0.2, 2.0},
distance = 2.0,
},
},
},
Wardrobe = true,
WardrobeSettings = {
Target = {
-- Vespucci Blvd.
{
points = vector3(368.57, -1015.4, 29.37),
heading = 0.0,
minZ = 29.37-1,
maxZ = 29.37+1.2,
Size = {2.0, 0.6},
distance = 2.0,
},
-- Downtown Vinewood
{
points = vector3(164.48, 246.42, 107.05),
heading = 340.0,
minZ = 107.05-1,
maxZ = 107.05+1.2,
Size = {2.0, 0.6},
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 = 10,
items = {
{ name = "sugar", price = 5, amount = 50, info = {}, type = "item", slot = 1, },
{ name = "cocoa_powder", price = 5, amount = 50, info = {}, type = "item", slot = 2, },
{ name = "milk", price = 5, amount = 50, info = {}, type = "item", slot = 3, },
{ name = "butter", price = 5, amount = 50, info = {}, type = "item", slot = 4, },
{ name = "flour", price = 5, amount = 50, info = {}, type = "item", slot = 5, },
{ name = "egg", price = 5, amount = 50, info = {}, type = "item", slot = 6, },
{ name = "bakingsoda", price = 5, amount = 50, info = {}, type = "item", slot = 7, },
-- { name = "itemname", price = 0, amount = 0, info = {}, type = "item", slot = 8, },
},
},
},
DrinkMachine = true,
DrinkMachineSettings = {
shelves = {
label = "Drink Machine",
slots = 5,
items = {
{ name = "brewedcoffee", price = 5, amount = 20, info = {}, type = "item", slot = 1, },
{ name = "hotchocolade", price = 5, amount = 20, info = {}, type = "item", slot = 2, },
{ name = "latte", price = 5, amount = 20, info = {}, type = "item", slot = 3, },
{ name = "matchatea", price = 5, amount = 20, info = {}, type = "item", slot = 4, },
{ name = "bubbletea", price = 5, amount = 20, info = {}, type = "item", slot = 5, },
-- { name = "itemname", price = 0, amount = 0, info = {}, type = "item", slot = 2, },
},
},
},
Kitchen = true,
KitchenSettings = {
FoodMakingDuration = 10, -- Duration in seconds
Recipes = {
PrepareboardEnabled = true,
Prepareboard = {
{
label = "Donut",
ingredients = {
{name = "sugar", amount = 1},
{name = "cocoa_powder", amount = 1},
{name = "milk", amount = 1},
{name = "butter", amount = 1},
{name = "flour", amount = 1},
{name = "egg", amount = 1},
{name = "bakingsoda", amount = 1},
},
output = {
{name = "Donut", amount = 1},
},
},
-- {
-- label = "Name of Food",
-- ingredients = {
-- {name = "itemname", amount = 1},
-- },
-- output = {
-- {name = "itemname", amount = 1},
-- },
-- },
},
}
},
}
--████████╗ █████╗ ██████╗ ██████╗ ███████╗████████╗███████╗
--╚══██╔══╝██╔══██╗██╔══██╗██╔════╝ ██╔════╝╚══██╔══╝██╔════╝
-- ██║ ███████║██████╔╝██║ ███╗█████╗ ██║ ███████╗
-- ██║ ██╔══██║██╔══██╗██║ ██║██╔══╝ ██║ ╚════██║
-- ██║ ██║ ██║██║ ██║╚██████╔╝███████╗ ██║ ███████║
-- ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚══════╝
Config.AdditionalTargets = {
Prepareboard = {
-- Vespucci Blvd.
{
Coords = vector3(365.05, -1017.33, 29.37),
Heading = 0.0,
Size = {5.5, 1.2},
Distance = 2.0,
minZ = 29.37-0.1,
maxZ = 29.37+0.25,
},
-- Downtown Vinewood
{
Coords = vector3(160.53, 245.82, 107.05),
Heading = 340.0,
Size = {5.5, 1.2},
Distance = 2.0,
minZ = 107.05-0.1,
maxZ = 107.05+0.25,
},
},
Storage = {
-- Vespucci Blvd.
{
Coords = vector3(360.96, -1016.14, 29.37),
Heading = 0.0,
Size = {3.2, 0.6},
Distance = 2.0,
minZ = 29.37-1.0,
maxZ = 29.37+1.5,
},
-- Downtown Vinewood
{
Coords = vector3(157.1, 248.35, 107.05),
Heading = 340.0,
Size = {3.2, 0.6},
Distance = 2.0,
minZ = 107.05-1.0,
maxZ = 107.05+1.5,
},
},
Ingredients = {
-- Vespucci Blvd.
{
Coords = vector3(365.05, -1017.33, 29.37),
Heading = 0.0,
Size = {5.5, 1.2},
Distance = 2.0,
minZ = 29.37-1,
maxZ = 29.37-0.1,
},
-- Downtown Vinewood
{
Coords = vector3(160.53, 245.82, 107.05),
Heading = 340.0,
Size = {5.5, 1.2},
Distance = 2.0,
minZ = 107.05-1,
maxZ = 107.05-0.1,
},
},
DrinkMachine = {
-- Vespucci Blvd.
{
Coords = vector3(357.68, -1015.24, 29.37),
Heading = 0.0,
Size = {0.7, 0.6},
Distance = 1.5,
minZ = 29.37-0,
maxZ = 29.37+0.6,
},
-- Downtown Vinewood
{
Coords = vector3(154.31, 250.31, 107.05),
Heading = 340.0,
Size = {0.7, 0.6},
Distance = 1.5,
minZ = 107.05-0,
maxZ = 107.05+0.6,
},
},
CashRegisters = {
-- Vespucci Blvd.
{
Coords = vector3(357.59, -1018.82, 29.37),
Heading = 0.0,
Size = {0.6, 0.4},
Distance = 1.5,
minZ = 29.37-0.1,
maxZ = 29.37+0.2,
},
{
Coords = vector3(357.59, -1016.74, 29.37),
Heading = 0.0,
Size = {0.6, 0.4},
Distance = 1.5,
minZ = 29.37-0.1,
maxZ = 29.37+0.2,
},
-- Downtown Vinewood
{
Coords = vector3(153.0, 246.98, 107.05),
Heading = 340.0,
Size = {0.6, 0.4},
Distance = 1.5,
minZ = 107.05-0.1,
maxZ = 107.05+0.2,
},
{
Coords = vector3(153.71, 248.95, 107.05),
Heading = 340.0,
Size = {0.6, 0.4},
Distance = 1.5,
minZ = 107.05-0.1,
maxZ = 107.05+0.2,
},
},
Tables = {
-- Vespucci Blvd.
{ Coords = vector3(363.63, -1023.27, 29.37), Heading = 0.0, Size = {2.0, 1.0}, Distance = 2.5, minZ = 29.37-0.3, maxZ = 29.37+0.2, },
{ Coords = vector3(360.97, -1023.26, 29.37), Heading = 0.0, Size = {2.0, 1.0}, Distance = 2.5, minZ = 29.37-0.3, maxZ = 29.37+0.2, },
{ Coords = vector3(352.93, -1024.00, 29.37), Heading = 0.0, Size = {1.0, 2.0}, Distance = 2.5, minZ = 29.37-0.3, maxZ = 29.37+0.2, },
{ Coords = vector3(352.92, -1021.29, 29.37), Heading = 0.0, Size = {1.0, 2.0}, Distance = 2.5, minZ = 29.37-0.3, maxZ = 29.37+0.2, },
-- Downtown Vinewood
{ Coords = vector3(157.15, 240.75, 107.05), Heading = 340.0, Size = {2.0, 1.0}, Distance = 2.5, minZ = 107.05-0.3, maxZ = 107.05+0.2, },
{ Coords = vector3(154.66, 241.64, 107.05), Heading = 340.0, Size = {2.0, 1.0}, Distance = 2.5, minZ = 107.05-0.3, maxZ = 107.05+0.2, },
{ Coords = vector3(146.85, 243.72, 107.05), Heading = 340.0, Size = {1.0, 2.0}, Distance = 2.5, minZ = 107.05-0.3, maxZ = 107.05+0.2, },
{ Coords = vector3(147.76, 246.26, 107.05), Heading = 340.0, Size = {1.0, 2.0}, Distance = 2.5, minZ = 107.05-0.3, maxZ = 107.05+0.2, },
},
Trays = {
-- Vespucci Blvd.
{ Coords = vector3(357.55, -1020.24, 29.37),
Heading = 0.0, Size = {2.0, 1.2},
Distance = 2.5, minZ = 29.37-0.3, maxZ = 29.37+0.2,
},
-- Downtown Vinewood
{ Coords = vector3(152.45, 245.67, 107.05),
Heading = 340.0, Size = {2.0, 1.2},
Distance = 2.5, minZ = 107.05-0.3, maxZ = 107.05+0.2,
},
},
}
--███████╗███████╗ █████╗ ████████╗███████╗
--██╔════╝██╔════╝██╔══██╗╚══██╔══╝██╔════╝
--███████╗█████╗ ███████║ ██║ ███████╗
--╚════██║██╔══╝ ██╔══██║ ██║ ╚════██║
--███████║███████╗██║ ██║ ██║ ███████║
--╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚══════╝
Config.Seats = {
--[[
YOU CAN ADD, REMOVE OR ADJUST AS YOU WANT FOR MORE SEATS
]]--
--[[ RUSTY BROWNS ]]--
-- Vespucci Blvd.
{ coords = vector4(364.44, -1022.71, 29.37, 90.0), stand = vector3(363.58, -1024.74, 29.37)},
{ coords = vector4(364.44, -1023.71, 29.37, 90.0), stand = vector3(363.58, -1024.74, 29.37)},
{ coords = vector4(364.80, -1022.71, 29.37, 270.0), stand = vector3(363.58, -1024.74, 29.37)},
{ coords = vector4(364.80, -1023.71, 29.37, 270.0), stand = vector3(363.58, -1024.74, 29.37)},
{ coords = vector4(361.88, -1022.71, 29.37, 90.0), stand = vector3(361.01, -1024.74, 29.37)},
{ coords = vector4(361.88, -1023.71, 29.37, 90.0), stand = vector3(361.01, -1024.74, 29.37)},
{ coords = vector4(360.10, -1022.71, 29.37, 270.0), stand = vector3(361.01, -1024.74, 29.37)},
{ coords = vector4(360.10, -1023.71, 29.37, 270.0), stand = vector3(361.01, -1024.74, 29.37)},
{ coords = vector4(353.30, -1024.76, 29.37, 0.0), stand = vector3(354.40, -1023.93, 29.37)},
{ coords = vector4(352.40, -1024.76, 29.37, 0.0), stand = vector3(354.40, -1023.93, 29.37)},
{ coords = vector4(353.25, -1023.23, 29.37, 180.0), stand = vector3(354.40, -1023.93, 29.37)},
{ coords = vector4(352.40, -1023.23, 29.37, 180.0), stand = vector3(354.40, -1023.93, 29.37)},
{ coords = vector4(353.36, -1022.05, 29.37, 0.0), stand = vector3(354.40, -1021.28, 29.37)},
{ coords = vector4(352.45, -1022.05, 29.37, 0.0), stand = vector3(354.40, -1021.28, 29.37)},
{ coords = vector4(353.25, -1020.49, 29.37, 180.0), stand = vector3(354.40, -1021.28, 29.37)},
{ coords = vector4(352.45, -1020.49, 29.37, 180.0), stand = vector3(354.40, -1021.28, 29.37)},
-- Downtown Vinewood
{ coords = vector4(158.14, 240.95, 107.05, 70.0), stand = vector3(156.67, 239.38, 107.05)},
{ coords = vector4(157.70, 240.11, 107.05, 70.0), stand = vector3(156.67, 239.38, 107.05)},
{ coords = vector4(156.19, 240.60, 107.05, 250.0), stand = vector3(156.67, 239.38, 107.05)},
{ coords = vector4(156.53, 241.51, 107.05, 250.0), stand = vector3(156.67, 239.38, 107.05)},
{ coords = vector4(155.56, 241.89, 107.05, 70.0), stand = vector3(154.09, 240.28, 107.05)},
{ coords = vector4(155.39, 240.96, 107.05, 70.0), stand = vector3(154.09, 240.28, 107.05)},
{ coords = vector4(153.73, 241.57, 107.05, 250.0), stand = vector3(154.09, 240.28, 107.05)},
{ coords = vector4(153.99, 242.46, 107.05, 250.0), stand = vector3(154.09, 240.28, 107.05)},
{ coords = vector4(146.94, 242.87, 107.05, 340.0), stand = vector3(148.14, 243.25, 107.05)},
{ coords = vector4(146.09, 243.18, 107.05, 340.0), stand = vector3(148.14, 243.25, 107.05)},
{ coords = vector4(147.42, 244.32, 107.05, 160.0), stand = vector3(148.14, 243.25, 107.05)},
{ coords = vector4(146.61, 244.61, 107.05, 160.0), stand = vector3(148.14, 243.25, 107.05)},
{ coords = vector4(147.92, 245.39, 107.05, 340.0), stand = vector3(149.06, 245.84, 107.05)},
{ coords = vector4(147.06, 245.71, 107.05, 340.0), stand = vector3(149.06, 245.84, 107.05)},
{ coords = vector4(148.35, 246.90, 107.05, 160.0), stand = vector3(149.06, 245.84, 107.05)},
{ coords = vector4(147.60, 247.18, 107.05, 160.0), stand = vector3(149.06, 245.84, 107.05)},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment