Preview: https://streamable.com/crzgum
- Add items to
shared/items.lua
- Add item images to
qbr-inventory/html/images
- Add rep to
qbr-core/server/player.lua
:
PlayerData.metadata['cookingrep'] = PlayerData.metadata['cookingrep'] or 0
- Add to qbr-target config:
["cookingobjects"] = {
models = {
"p_campfirecombined01x",
"p_campfirecombined02x",
"p_campfirecombined03x",
"p_campfirecombined04x",
"s_campfire01_fresh",
"p_campfirefresh01x",
"p_campfire02x_script",
"s_mil_cookfire01x",
"s_cookfire01x",
"p_stove06x",
"p_stove07x",
"p_kettle01x",
"p_cs_kettle01x",
"p_kettle03x"
},
options = {
{
type = "client",
event = "xt-cooking:MainMenu",
icon = "fas fa-fire",
label = "Cook Food",
}
},
distance = 3.0
},
- Skin Fish
- Minigame when cooking
- If failed, lose items and possibly lose rep
- Admin command to set players cooking rep :
/setcookingrep
- Placeable Campfires
- Burnout over time (Set in Config)
- Stoke fires so they burn longer (Set in Config)
- Put out fires using target
- Enable / Disable Using Radial Menu (Set in Config)
- qbr-target : https://github.com/Andyauk/qbr-target
- qbr-lock : https://github.com/SagginChairLLC/qbr-lock
- dag_fishing : https://github.com/dagibbet/dag_fishing (Used for the fish items)
- qbr-radialmenu : https://github.com/Andyauk/qbr-radialmenu
- qbr-core : https://github.com/qbcore-redm-framework/qbr-core