Install Instructions
2
Add items
--[FOOD INGREDIENTS]--
["sugar"] = { ["name"] = "sugar", ["label"] = "Sugar", ["weight"] = 10, ["type"] = "item", ["image"] = "sugar.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["cocoapowder"] = { ["name"] = "cocoapowder", ["label"] = "Cocoa Powder", ["weight"] = 10, ["type"] = "item", ["image"] = "cocoapowder.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["milk"] = { ["name"] = "milk", ["label"] = "Milk", ["weight"] = 10, ["type"] = "item", ["image"] = "soda.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["butter"] = { ["name"] = "butter", ["label"] = "Butter", ["weight"] = 10, ["type"] = "item", ["image"] = "butter.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["flour"] = { ["name"] = "flour", ["label"] = "Flour", ["weight"] = 10, ["type"] = "item", ["image"] = "flour.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["egg"] = { ["name"] = "egg", ["label"] = "Egg", ["weight"] = 10, ["type"] = "item", ["image"] = "eggs.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["bakingsoda"] = { ["name"] = "bakingsoda", ["label"] = "Baking Soda", ["weight"] = 10, ["type"] = "item", ["image"] = "bakingsoda.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
--[FOOD]--
["donut"] = { ["name"] = "donut", ["label"] = "Donut", ["weight"] = 30, ["type"] = "item", ["image"] = "donut.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Donut" },
--[DRINKS]--
["brewedcoffee"] = { ["name"] = "brewedcoffee", ["label"] = "Brewed Coffee", ["weight"] = 10, ["type"] = "item", ["image"] = "brewedcoffee.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Brewed Coffee Drink" },
["hotchocolade"] = { ["name"] = "hotchocolade", ["label"] = "Hot Chocolate", ["weight"] = 30, ["type"] = "item", ["image"] = "hotchocolade.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Hot Chocolate Drink" },
["latte"] = { ["name"] = "latte", ["label"] = "Latte", ["weight"] = 30, ["type"] = "item", ["image"] = "latte.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Latte Drink" },
["matchatea"] = { ["name"] = "matchatea", ["label"] = "Matcha Tea", ["weight"] = 30, ["type"] = "item", ["image"] = "matchatea.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Matcha Tea Drink" },
["bubbletea"] = { ["name"] = "bubbletea", ["label"] = "Bubble Tea", ["weight"] = 30, ["type"] = "item", ["image"] = "bubbletea.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Bubble Tea Drink" },INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('sugar', 'Sugar', 10, 0, 1),
('cocoa_powder', 'Cocoa Powder', 10, 0, 1),
('milk', 'Milk', 10, 0, 1),
('butter', 'Butter', 10, 0, 1),
('flour', 'Flour', 10, 0, 1),
('egg', 'Egg', 10, 0, 1),
('bakingsoda', 'Baking Soda', 10, 0, 1),
('donut', 'Donut', 10, 0, 1),
('brewedcoffee', 'Brewed Coffee', 10, 0, 1),
('hotchocolade', 'Hot Chocolate', 10, 0, 1),
('latte', 'Latte', 10, 0, 1),
('matchatea', 'Matcha Tea', 10, 0, 1),
('bubbletea', 'Bubble Tea', 10, 0, 1);3
Add jobs
-- [Install into: qb-core/shared/jobs.lua] --
rexdiner = {
label = 'Rex Diner',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Helper', payment = 30 },
['1'] = { name = 'Cook', payment = 45 },
['2'] = { name = 'Deliver', payment = 55 },
['3'] = { name = 'Manager', isboss = true, payment = 60 },
},
},-- [Install into: qbx_core/shared/jobs.lua] --
['rexdiner'] = {
label = 'Rex Diner',
defaultDuty = true,
offDutyPay = false,
grades = {
[0] = {
name = 'Helper',
payment = 50
},
[1] = {
name = 'Cook',
payment = 75
},
[2] = {
name = 'Deliver',
payment = 100
},
[3] = {
name = 'Manager',
isboss = true,
bankAuth = true,
payment = 125
},
},
},Last updated