
πInteraction Locations
Config.InteractionLocations = {
{
enabled = true, -- set to true to enable this zone
debug = false, -- debug this zone
name = "my_custom_crafting_zone", -- zone name must be unique
coords = vector3(-0.65, -438.97, 39.74), -- coords must be vector3
radius = 1.0, distance = 3.0, -- zone radius and target distance (do not set distance number higher than MaxDistance in Config.CoreSettings.Security)
icon = 'fa-solid fa-hand-point-up', label = 'Crafting', -- target icon and target label
prop = { enabled = true, model = 'prop_tool_bench02', heading = 155.06, }, -- enable a prop or just have a boxzone
restrictions = { job = {}, gang = {}, }, -- gang or job name restrictions (only these can access this location)
blip = { enabled = true, id = 285, colour = 5, scale = 0.7, title = 'Crafting Bench', }, -- blip id, blip colour, blip scale and blip title
args = { recipe = 'My Custom Crafting', }, -- recipe type to determine which category of items relates to this location in recipes.lua these can be named anything just make sure they match
},
}Last updated