Installation

Requirements

hz_cookrequired — the framework
hz_cook_bbqthe barbecue content pack
ox_librequired
a target systemhz_lib, ox_target, qb-target or hz_textui — the first that answers is picked
an inventoryox_inventory, qb-inventory or qs-inventory
a frameworkQBox, QBCore, ESX, or Standalone
Everything above is auto-detected. hz_cook/shared/config.lua can force any of it.

1. Both resources in your server

ensure hz_cook
ensure hz_cook_bbq

The order does not matter. The pack registers itself as soon as the framework is up, and again after any restart hz_cook.

2. The items

From the pack's [items]/ folder, into your inventory:

Your inventoryFileWhere
ox_inventoryox_inventory.txtox_inventory/data/items.lua
qb-inventoryqb-inventory.txtqb-core/shared/items.lua
qs-inventoryqs-inventory.txtqs-inventory/shared/items.lua
databaseitems.sqlrun it
The items are not declared automatically. [items] is data to copy into your own inventory resource — the pack cannot write to it for you.

3. The images

Copy [items]/img/*.png into your inventory's image folder — not into the resource.

4. Check it

Give yourself a bbq, bbq1, bbq4 or campfire item and use it. On QBCore the items are made useable automatically, so there is no CreateUseableItem to write.

The server console should show:

[hz_cook_bbq] 4 station(s), N recipe(s) registered

If it says nothing registered, hz_cook did not start.

The items

ItemWhat it is
bbq, bbq1, bbq4, campfirethe four stations
charcoal_bagcharcoal for the kettle, carries its own level
lighterneeded to light a station by hand
raw_steakthe meat, cooked on any grill
burger_bun_bottom, burger_bun_top, cheese_slice, lettuce, tomato_slice, onion_slice, baconburger layers
skewer_stickthe empty skewer
skewer_beef, skewer_chicken, skewer_fish, skewer_mushroom, skewer_onion, skewer_pepper_green, skewer_pepper_red, skewer_tomato, skewer_zucchiniskewer pieces
burger, skewerthe finished food