
π―Interaction Locations
You can define target locations for various events in the targetLocations.lua file
The
keyis the restaurant nameThe coords must be
vector3The
Jobkey must match the restaurant name inConfig.CoreSettings.JobsStashes require the args
storageTypepassing and the storage type must match the storage type defined inConfig.CoreSettings.StashesCrafting requires the args
craftTypepassing and the available typesingredients|food|drinksthese relate to the relevant crafting tables inprepareIngredients.lua | prepareFood.lua | prepareDrinks.luaAll other interaction location events
EXCEPTtheboss menurequired the argsrestaurantNamepassing
Config.InteractionLocations = {
['My New Restaurant Name'] = { --My New Restaurant Name -- the key is the restaurant name
{
enabled = true, -- set to true to enable this zone
Name = "atom_lockers",
Location = vector3(85.18, 293.71, 110.26),
Radius = 0.75,
Distance = 3.0,
Icon = 'fa-solid fa-clipboard',
Label = 'Change Clothes',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:changeClothes',
args = { restaurantName = 'My New Restaurant Name', }, -- β
Make Sure To Pass restaurantName
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_duty",
Location = vector3(88.57, 297.88, 110.71),
Radius = 0.75,
Distance = 3.0,
Icon = 'fa-solid fa-clipboard',
Label = 'Toggle Duty',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:ToggleDuty',
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_ingredientcrafting",
Location = vector3(97.03, 293.23, 110.10),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Process Ingredients',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:OpenCraftingMenu',
args = { restaurantName = 'My New Restaurant Name', craftType = 'ingredients' }, -- β
Make Sure To Pass restaurantName and craftType
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_foodcrafting",
Location = vector3(93.39, 292.04, 110.0),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Cook Foods',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:OpenCraftingMenu',
args = { restaurantName = 'My New Restaurant Name', craftType = 'food' }, -- β
Make Sure To Pass restaurantName and craftType
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_drinkcrafting",
Location = vector3(93.52, 287.14, 110.5),
Radius = 0.75,
Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Pour Drinks',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:OpenCraftingMenu',
args = { restaurantName = 'My New Restaurant Name', craftType = 'drinks' }, -- β
Make Sure To Pass restaurantName and craftType
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_washHands",
Location = vector3(95.83, 290.8, 110.0),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hands',
Label = 'Wash Hands',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:WashHands',
args = { restaurantName = 'My New Restaurant Name' }, --β
Make Sure To Pass restaurantName
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_giveCups",
Location = vector3(92.85, 287.49, 110.70),
Radius = 0.75,
Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Get Cups',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:GiveCups',
args = { restaurantName = 'My New Restaurant Name' }, --β
Make Sure To Pass restaurantName
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_ingredientsFridge",
Location = vector3(95.05, 288.62, 110.50),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Get Ingredients',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:GetIngredients',
args = { restaurantName = "My New Restaurant Name" }, --β
Make Sure To Pass restaurantName For ingredients men
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_supplies",
Location = vector3(89.57, 294.05, 110.50),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Get Supplies',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:GetSupplies',
args = { restaurantName = 'My New Restaurant Name' }, --β
Make Sure To Pass restaurantName For supplies menu
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_payment",
Location = vector3(89.21, 288.88, 110.30),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Charge Customer',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:BillPlayer',
args = { restaurantName = "My New Restaurant Name" }, --β
Make Sure To Pass restaurantName For billing menu
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_payment2",
Location = vector3(89.87, 287.73, 110.30),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Charge Customer',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:BillPlayer',
args = { restaurantName = "My New Restaurant Name" }, --β
Make Sure To Pass restaurantName For billing menu
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_payment3",
Location = vector3(90.36, 286.52, 110.30),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Charge Customer',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:BillPlayer',
args = { restaurantName = "My New Restaurant Name" }, --β
Make Sure To Pass restaurantName For billing menu
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_payment4",
Location = vector3(94.27, 284.73, 110.50),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Charge Customer',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:BillPlayer',
args = { restaurantName = "My New Restaurant Name" }, --β
Make Sure To Pass restaurantName For billing menu
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_bossMenu",
Location = vector3(81.33, 297.38, 109.95),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Management Menu',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = Config.CoreSettings.EventNames.BossMenu,
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_bossStash",
Location = vector3(81.53, 294.8, 110.5),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Boss Storage',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:OpenStorage',
args = { restaurantName = "My New Restaurant Name", storageType = "BossStash" }, --β
Make Sure To Pass restaurantName and storagetype - THIS MUST MATCH THE KEY AND THE STORAGE TYPE YOU DEFINE IN CONFIG.CORESETTINGS.STASHES!
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_collectionTray1",
Location = vector3(89.14, 288.11, 110.10),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Collection Tray',
Job = nil,
Event = 'lusty94_restaurants:client:OpenTray',
args = { restaurantName = "My New Restaurant Name", storageType = "CollectionTray1" }, --β
Make Sure To Pass restaurantName and storagetype - THIS MUST MATCH THE KEY AND THE STORAGE TYPE YOU DEFINE IN CONFIG.CORESETTINGS.STASHES!
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_collectionTray2",
Location = vector3(89.82, 286.96, 110.10),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Collection Tray',
Job = nil,
Event = 'lusty94_restaurants:client:OpenTray',
args = { restaurantName = "My New Restaurant Name", storageType = "CollectionTray2" }, --β
Make Sure To Pass restaurantName and storagetype - THIS MUST MATCH THE KEY AND THE STORAGE TYPE YOU DEFINE IN CONFIG.CORESETTINGS.STASHES!
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_collectionTray3",
Location = vector3(90.37, 285.69, 110.10),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Collection Tray',
Job = nil,
Event = 'lusty94_restaurants:client:OpenTray',
args = { restaurantName = "My New Restaurant Name", storageType = "CollectionTray3" }, --β
Make Sure To Pass restaurantName and storagetype - THIS MUST MATCH THE KEY AND THE STORAGE TYPE YOU DEFINE IN CONFIG.CORESETTINGS.STASHES!
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_collectionTray4",
Location = vector3(94.99, 285.23, 110.25),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Collection Tray',
Job = nil, -- for collection trays do not pass a job
Event = 'lusty94_restaurants:client:OpenTray',
args = { restaurantName = "My New Restaurant Name", storageType = "CollectionTray4" }, --β
Make Sure To Pass restaurantName and storagetype - THIS MUST MATCH THE KEY AND THE STORAGE TYPE YOU DEFINE IN CONFIG.CORESETTINGS.STASHES!
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_storageFridge",
Location = vector3(93.65, 288.32, 110.5),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Storage Fridge',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:OpenStorage',
args = { restaurantName = "My New Restaurant Name", storageType = "StorageFridge" }, --β
Make Sure To Pass restaurantName and storagetype - THIS MUST MATCH THE KEY AND THE STORAGE TYPE YOU DEFINE IN CONFIG.CORESETTINGS.STASHES!
},
{
enabled = true, -- set to true to enable this zone
Name = "atom_serviceHatch",
Location = vector3(91.48, 288.67, 110.50),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Service Hatch',
Job = Config.CoreSettings.Jobs['My New Restaurant Name'].name,
Event = 'lusty94_restaurants:client:OpenStorage',
args = { restaurantName = "My New Restaurant Name", storageType = "ServiceHatch" }, --β
Make Sure To Pass restaurantName and storagetype - THIS MUST MATCH THE KEY AND THE STORAGE TYPE YOU DEFINE IN CONFIG.CORESETTINGS.STASHES!
},
},
}Last updated