
🎯Interaction Locations
You can define target locations for various events in the
interactionLocations.lua
fileThe
key
is the weapon shop nameThe coords must be
vector3
Some target locations require the argument:
locationName
passing. This is the weapon shop name key you are trying to accessThe
Job
key must match the weapon shop name inConfig.CoreSettings.Jobs
Stashes require the args
storageType
passing and the storage type must match the storage type defined inConfig.CoreSettings.Stashes
Crafting requires the args
craftType
passing and the available typesparts
|ammo
|weapons
These relate to the relevant crafting tables in
ammoCrafting.lua | partsCrafting.lua | pweaponCrafting.lua
Config.InteractionLocations = {
['Legion'] = { --Legion -- the key is the location name and must match throughout
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "legion_lockers",
Location = vector3(12.83, -1104.69, 29.8),
Radius = 0.8, Distance = 3.0,
Icon = 'fa-solid fa-clipboard',
Label = 'Change Clothes',
Job = Config.CoreSettings.Jobs['Legion'].name,
Event = 'lusty94_weaponshops:client:changeClothes',
args = { locationName = 'Legion', }, -- ✅ Make Sure To Pass locationName
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "legion_duty",
Location = vector3(19.49, -1106.61, 29.8),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-clipboard',
Label = 'Toggle Duty',
Job = Config.CoreSettings.Jobs['Legion'].name,
Event = 'lusty94_weaponshops:client:ToggleDuty',
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "legion_partscrafting",
Location = vector3(17.29, -1105.82, 29.8),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Craft Weapon Parts',
Job = Config.CoreSettings.Jobs['Legion'].name,
Event = 'lusty94_weaponshops:client:OpenCraftingMenu',
args = { locationName = 'Legion', craftType = 'parts' }, -- ✅ Make Sure To Pass locationName and craftType
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "legion_ammunitioncrafting",
Location = vector3(15.87, -1105.26, 29.8),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Craft Ammo',
Job = Config.CoreSettings.Jobs['Legion'].name,
Event = 'lusty94_weaponshops:client:OpenCraftingMenu',
args = { locationName = 'Legion', craftType = 'ammunition' }, -- ✅ Make Sure To Pass locationName and craftType
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "legion_weaponscrafting",
Location = vector3(14.39, -1104.77, 29.8),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Craft Weapons',
Job = Config.CoreSettings.Jobs['Legion'].name,
Event = 'lusty94_weaponshops:client:OpenCraftingMenu',
args = { locationName = 'Legion', craftType = 'weapons' }, -- ✅ Make Sure To Pass locationName and craftType
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "legion_supplies",
Location = vector3(14.41, -1106.56, 30.0),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Get Supplies',
Job = Config.CoreSettings.Jobs['Legion'].name,
Event = 'lusty94_weaponshops:client:GetSupplies',
args = { locationName = 'Legion' }, --✅ Make Sure To Pass locationName For supplies menu
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "legion_payment",
Location = vector3(18.48, -1108.94, 30.0),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Charge Customer',
Job = Config.CoreSettings.Jobs['Legion'].name,
Event = 'lusty94_weaponshops:client:BillPlayer',
args = { locationName = "Legion" }, --✅ Make Sure To Pass locationName For billing menu
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "legion_bossStash",
Location = vector3(5.42, -1103.51, 29.8),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Boss Storage',
Job = Config.CoreSettings.Jobs['Legion'].name,
Event = 'lusty94_weaponshops:client:OpenStorage',
args = { locationName = "Legion", storageType = "BossStash" }, --✅ Make Sure To Pass locationName 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
debug = true, -- debug this zone
Name = "legion_collectionTray1",
Location = vector3(15.45, -1107.76, 30.0),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Collection Tray',
Job = nil,
Event = 'lusty94_weaponshops:client:OpenTray',
args = { locationName = "Legion", storageType = "CollectionTray1" }, --✅ Make Sure To Pass locationName 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
debug = true, -- debug this zone
Name = "legion_storageShelf1",
Location = vector3(4.39, -1106.06, 29.8),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Storage Shelf',
Job = Config.CoreSettings.Jobs['Legion'].name,
Event = 'lusty94_weaponshops:client:OpenStorage',
args = { locationName = "Legion", storageType = "StorageShelf1" }, --✅ Make Sure To Pass locationName 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
debug = true, -- debug this zone
Name = "legion_storageShelf2",
Location = vector3(3.83, -1107.62, 29.8),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Storage Shelf',
Job = Config.CoreSettings.Jobs['Legion'].name,
Event = 'lusty94_weaponshops:client:OpenStorage',
args = { locationName = "Legion", storageType = "StorageShelf2" }, --✅ Make Sure To Pass locationName and storagetype - THIS MUST MATCH THE KEY AND THE STORAGE TYPE YOU DEFINE IN CONFIG.CORESETTINGS.STASHES!
},
},
}
Last updated