🎯Interaction Locations

  • You can define target locations for various events in the targetLocations.lua file

  • The key is the restaurant name

  • The coords must be vector3

  • The size value is specifically for ox_target

  • The Job key must match the restaurant name in Config.CoreSettings.Jobs

  • Stashes require the args storageType passing and the storage type must match the storage type defined in Config.CoreSettings.Stashes

  • Crafting requires the args craftType passing and the available types ingredients | food | drinks these relate to the relevant crafting tables in prepareIngredients.lua | prepareFood.lua | prepareDrinks.lua

  • All other interaction location events EXCEPT the boss menu required the args restaurantName passing

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),
            Size = vec3(2.5,1.0,1.5),
            Width = 1.0, Height = 3.0, Heading = 163.64,
            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),
            Size = vec3(1.0,0.35,1),
            Width = 0.5, Height = 0.75, Heading = 344.63,
            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),
            Size = vec3(0.8, 1.5, 0.5),
            Width = 0.9, Height = 0.5, Heading = 342.53,
            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),
            Size = vec3(2.0, 1.8, 1),
            Width = 1.6, Height = 1.4, Heading = 250.15,
            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),
            Size = vec3(0.5, 0.5, 0.5),
            Width = 0.6, Height = 0.6, Heading = 337.9,
            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),
            Size = vec3(0.8,0.8,0.5),
            Width = 0.8, Height = 0.8, Heading = 247.96,
            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),
            Size = vec3(0.5,0.5,0.5),
            Width = 0.6, Height = 0.6, Heading = 337.9,
            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),
            Size = vec3(1.2,0.8,2),
            Width = 0.8, Height = 1.2, Heading = 251.45,
            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),
            Size = vec3(0.75,1.25,1),
            Width = 1.25, Height = 0.75, Heading = 248.18,
            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),
            Size = vec3(0.4,0.4,0.5),
            Width = 0.4, Height = 0.4, Heading = 115.13,
            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),
            Size = vec3(0.4,0.4,0.5),
            Width = 0.4, Height = 0.4, Heading = 115.13,
            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),
            Size = vec3(0.4,0.4,0.5),
            Width = 0.4, Height = 0.4, Heading = 115.13,
            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),
            Size = vec3(0.4,0.4,0.5),
            Width = 0.4, Height = 0.4, Heading = 244.06,
            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),
            Size = vec3(0.8,0.8,0.5),
            Width = 0.8, Height = 1.5, Heading = 341.9,
            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),    
            Size = vec3(1.6,0.8,1),    
            Width = 0.8, Height = 2.0, Heading = 160.46,
            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),    
            Size = vec3(0.5,0.5, 1),    
            Width = 0.5, Height = 0.5, Heading = 115.13,
            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),    
            Size = vec3(0.5,0.5, 1),    
            Width = 0.5, Height = 0.5, Heading = 115.13,
            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),    
            Size = vec3(0.5,0.5, 1),    
            Width = 0.5, Height = 0.5, Heading = 115.13,
            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),    
            Size = vec3(0.5,0.5, 1),    
            Width = 0.5, Height = 0.5, Heading = 247.03,  
            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 = "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),    
            Size = vec3(1.2,0.8,2),
            Width = 1.2, Height = 0.8, Heading = 251.45,
            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),    
            Size = vec3(1.2,0.8,0.75),
            Width = 1.5, Height = 1.5, Heading = 296.13,
            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