Ox_inventory
In the pack’s config.lua
file, you’ll find the following options:
Config.Inventory = "ox" -- options: "ox", "tgiann", "codem", "standalone"
Config.UseOxLibNotify = false -- set to true if you want to use ox_lib notifications
Config.Inventory
: Must put "ox".Config.UseOxLibNotify
: Enable if you useox_lib
for in-game notifications.
📦 Item Setup for ox_inventory
Add the following entries to your data/items.lua
file in ox_inventory
:
['bandagearm'] = {
label = 'Bandage (Arm)',
description = 'A sterile bandage for the arm. +25HP, max 70HP.',
weight = 100,
stack = true,
close = true,
consume = 1,
client = {
export = 'emergency_pack.useBandagearm'
}
},
['bandageleg'] = {
label = 'Bandage (Leg)',
description = 'A sterile bandage for the leg. +25HP, max 70HP.',
weight = 100,
stack = true,
close = true,
consume = 1,
client = {
export = 'emergency_pack.useBandageleg'
}
},
['syringe'] = {
label = 'Syringe',
description = 'A medical syringe. +25HP, max 100HP, heals over time.',
weight = 50,
stack = true,
close = true,
consume = 1,
client = {
export = 'emergency_pack.useSyringe'
}
},
['pills'] = {
label = 'Painkillers',
description = 'Painkilling pills. +25HP, max 100HP, heals quickly.',
weight = 20,
stack = true,
close = true,
consume = 1,
client = {
export = 'emergency_pack.usePills'
}
}
Last updated