Ox Framework

Improve compatibility between Weed Growing & ox_core!

Our Weed Growing already provides built-in support for ox_core, with only one change needing to be made to work as expected. If you followed the Install Instructions laid out earlier, we need to slightly change our item data for a select few items. Find the following items in your ox_inventory/data/items.lua and update them to this:

-- Update seed items like so:
['ls_plain_jane_seed'] = {
    label = 'Plain Jane Seed',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_plain_jane_seed'
    }
},

['ls_banana_kush_seed'] = {
    label = 'Banana Kush Seed',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_banana_kush_seed'
    }
},

['ls_blue_dream_seed'] = {
    label = 'Blue Dream Seed',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_blue_dream_seed'
    }
},

['ls_purple_haze_seed'] = {
    label = 'Purple Haze Seed',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_purple_haze_seed'
    }
},

['ls_orange_crush_seed'] = {
    label = 'Orange Crush Seed',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_orange_crush_seed'
    }
},

['ls_cosmic_kush_seed'] = {
    label = 'Cosmic Kush Seed',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_cosmic_kush_seed'
    }
},

-- Update joint items like so:
['ls_plain_jane_joint'] = {
    label = 'Plain Jane Joint',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_plain_jane_joint'
    }
},

['ls_banana_kush_joint'] = {
    label = 'Banana Kush Joint',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_banana_kush_joint'
    }
},

['ls_blue_dream_joint'] = {
    label = 'Blue Dream Joint',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_blue_dream_joint'
    }
},

['ls_purple_haze_joint'] = {
    label = 'Purple Haze Joint',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_purple_haze_joint'
    }
},

['ls_orange_crush_joint'] = {
    label = 'Orange Crush Joint',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_orange_crush_joint'
    }
},

['ls_cosmic_kush_joint'] = {
    label = 'Cosmic Kush Joint',
    weight = 5,
    consume = 0,
    server = {
        export = 'lation_weed.ls_cosmic_kush_joint'
    }
},

-- Update weed table like so:
['ls_weed_table'] = {
    label = 'Weed Table',
    weight = 10,
    consume = 0,
    server = {
        exports = 'lation_weed.ls_weed_table'
    }
},

Last updated