
πInteraction Locations
Config.InteractionLocations = {
['Example Bar'] = { --Example Bar
{
Name = "example_crafting",
Location = vector3(-1400.09, -598.18, 30.5),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-glass-martini',
Label = 'Open Crafting Menu',
Job = Config.CoreSettings.Jobs['Example Bar'].name,
Event = 'lusty94_bars:client:OpenCrafting',
BarName = 'Example Bar', --[[ β
Make Sure To Pass barName ]]
},
{
Name = "example_drinksFridge",
Location = vector3(-1404.13, -598.71, 29.85),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-briefcase',
Label = 'Open Storage Fridge',
Job = Config.CoreSettings.Jobs['Example Bar'].name,
Event = 'lusty94_bars:client:OpenStorage',
args = { barName = "Example Bar", storageType = "StorageFridge" }, --[[ β
Make Sure To Pass barName and the storageType you define in Config.CoreSettings.Stashes ]]
},
{ --this event doesnt need any args passing
Name = "example_bossMenu",
Location = vector3(-1370.25, -625.7, 30.12),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-briefcase',
Label = 'Open Management Menu',
Job = Config.CoreSettings.Jobs['Example Bar'].name,
Event = Config.CoreSettings.EventNames.BossMenu, -- this doesnt need any args passing as it directly triggers the event you set
},
{
Name = "example_bossStash",
Location = vector3(-1366.22, -624.67, 30.5),
Radius = 0.75,
Distance = 2.0,
Icon = 'fa-solid fa-briefcase',
Label = 'Open Boss Storage',
Job = Config.CoreSettings.Jobs['Example Bar'].name,
Event = 'lusty94_bars:client:OpenStorage',
args = { barName = "Example Bar", storageType = "BossStash" }, --[[ β
Make Sure To Pass barName For storage system THIS MUST MATCH THE KEY AND THE STORAGE TYPE YOU DEFINE IN CONFIG.CORESETTINGS.STASHES!]]
},
},
}Last updated