Lumina Portal

Examples ELS

Create the items in ox_inventory

Ready-made entries for the deployable light in four variants.

Without export

ox_inventory/data/items.lua
['deployable_light']        = { label = 'Deployable light', weight = 250 },
['deployable_light_red']    = { label = 'Deployable light (red)', weight = 250 },
['deployable_light_blue']   = { label = 'Deployable light (blue)', weight = 250 },
['deployable_light_orange'] = { label = 'Deployable light (orange)', weight = 250 },

With export

ox_inventory/data/items.lua
['deployable_light'] = {
    label = 'Deployable light',
    weight = 250,
    consume = 0,
    server = { export = 'lumina_els.deployable_light' }
},

For the color variants replace the name in both the key and the export. Then restart ox_inventory or the server.