
π―Interaction Locations
You can define target locations for various events in the
interactionLocations.luafileThe
keyis the pharmacy shop nameThe coords must be
vector3The
radiusis the zone sizeThe
distanceis the target interaction distance (never set this higher than the MaxDistance allowed for security checks)Some target locations require the argument:
locationNamepassing. This is the pharmacy shop name key you are trying to accessThe
Jobkey must match the pharmacy shop 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 types which aresupplies | medicalThese relate to the relevant crafting tables in
crafting.lua | suppliesCrafting.lua
Config.InteractionLocations = {
['Pillbox Hospital'] = { --Pillbox Hospital -- 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 = "pillboxhospital_duty",
Location = vector3(308.87, -569.99, 43.65),
Radius = 0.35, Distance = 3.0,
Icon = 'fa-solid fa-clipboard',
Label = 'Toggle Duty',
Job = Config.CoreSettings.Jobs['Pillbox Hospital'].name,
Event = 'lusty94_pharmacy:client:ToggleDuty',
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "pillboxhospital_suppliescrafting",
Location = vector3(308.91, -561.41, 43.5),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Craft Supplies',
Job = Config.CoreSettings.Jobs['Pillbox Hospital'].name,
Event = 'lusty94_pharmacy:client:OpenCraftingMenu',
args = { locationName = 'Pillbox Hospital', craftType = 'supplies' }, -- β
Make Sure To Pass locationName and craftType
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "pillboxhospital_medicalcrafting",
Location = vector3(311.72, -565.9, 43.5),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Craft Medical Items',
Job = Config.CoreSettings.Jobs['Pillbox Hospital'].name,
Event = 'lusty94_pharmacy:client:OpenCraftingMenu',
args = { locationName = 'Pillbox Hospital', craftType = 'medical' }, -- β
Make Sure To Pass locationName and craftType
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "pillboxhospital_supplies",
Location = vector3(310.66, -568.58, 43.5),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Get Supplies',
Job = Config.CoreSettings.Jobs['Pillbox Hospital'].name,
Event = 'lusty94_pharmacy:client:GetSupplies',
args = { locationName = 'Pillbox Hospital' }, --β
Make Sure To Pass locationName For supplies menu
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "pillboxhospital_payment1",
Location = vector3(313.18, -593.88, 43.35),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Charge Customer',
Job = Config.CoreSettings.Jobs['Pillbox Hospital'].name,
Event = 'lusty94_pharmacy:client:BillPlayer',
args = { locationName = "Pillbox Hospital" }, --β
Make Sure To Pass locationName For billing menu
},
{
enabled = true, -- set to true to enable this zone
debug = true, -- debug this zone
Name = "pillboxhospital_bossStash",
Location = vector3(308.81, -562.39, 43.5),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Boss Storage',
Job = Config.CoreSettings.Jobs['Pillbox Hospital'].name,
Event = 'lusty94_pharmacy:client:OpenStorage',
args = { locationName = "Pillbox Hospital", 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 = "pillboxhospital_collectionTray1",
Location = vector3(312.19, -593.58, 43.0),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Collection Tray',
Job = nil,
Event = 'lusty94_pharmacy:client:OpenTray',
args = { locationName = "Pillbox Hospital", 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 = "pillboxhospital_storageShelf1",
Location = vector3(311.88, -564.12, 43.5),
Radius = 0.5, Distance = 3.0,
Icon = 'fa-solid fa-hand-point-up',
Label = 'Open Storage Shelf',
Job = Config.CoreSettings.Jobs['Pillbox Hospital'].name,
Event = 'lusty94_pharmacy:client:OpenStorage',
args = { locationName = "Pillbox Hospital", storageType = "StorageShelf1" }, --β
Make Sure To Pass locationName and storagetype - THIS MUST MATCH THE KEY AND THE STORAGE TYPE YOU DEFINE IN CONFIG.CORESETTINGS.STASHES!
},
},
}Last updated