Install Instructions
Last updated
Last updated
Follow the steps below to install this resource to your server.
Open the [install]
folder and add the items
& their images
to your inventory
Are you on esx - Remember to add the .sql
to your database.
-- Ingredients
tofu = { name = 'tofu', label = 'Tofu', weight = 10, type = 'item', image = 'tofu.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Ingredients' },
rice = { name = 'rice', label = 'Rice', weight = 10, type = 'item', image = 'rice.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Ingredients' },
seaweed = { name = 'seaweed', label = 'Sea Weed', weight = 10, type = 'item', image = 'seaweed.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Ingredients' },
skewer = { name = 'skewer', label = 'Skewer', weight = 10, type = 'item', image = 'skewer.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Ingredients' },
fish = { name = 'fish', label = 'Fish', weight = 10, type = 'item', image = 'fish.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Ingredients' },
teriyaki = { name = 'teriyaki', label = 'Teriyaki', weight = 10, type = 'item', image = 'teriyaki.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Ingredients' },
noodles = { name = 'noodles', label = 'Noodles', weight = 10, type = 'item', image = 'noodles.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Ingredients' },
chickenraw = { name = 'chickenraw', label = 'Raw Chicken Fillet',weight = 10, type = 'item', image = 'chickenraw.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Ingredients' },
-- Food
ramenhot = { name = 'ramenhot', label = 'Ramen Hot', weight = 10, type = 'item', image = 'ramenhot.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Food' },
ramenchicken = { name = 'ramenchicken', label = 'Ramen Chicken', weight = 10, type = 'item', image = 'ramenchicken.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Food' },
ramenpork = { name = 'ramenpork', label = 'Ramen Pork', weight = 10, type = 'item', image = 'ramenpork.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Food' },
yakitori = { name = 'yakitori', label = 'Yakitori', weight = 10, type = 'item', image = 'yakitori.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Food' },
teriyakichicken = { name = 'teriyakichicken', label = 'Teriyaki Chicken', weight = 10, type = 'item', image = 'teriyakichicken.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Food' },
sushi = { name = 'sushi', label = 'Sushi', weight = 10, type = 'item', image = 'sushi.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Food' },
misosoup = { name = 'misosoup', label = 'Miso Soup', weight = 30, type = 'item', image = 'misosoup.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Food' },
onigiri = { name = 'onigiri', label = 'Onigiri', weight = 10, type = 'item', image = 'onigiri.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Food' },
-- Drinks
milkshake = { name = 'milkshake', label = 'Milkshake', weight = 10, type = 'item', image = 'milkshake.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Drink' },
soda = { name = 'soda', label = 'Soda', weight = 10, type = 'item', image = 'soda.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Drink' },
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('tofu', 'Tofu', 10, 0, 1),
('rice', 'Rice', 10, 0, 1),
('seaweed', 'Sea Weed', 10, 0, 1),
('skewer', 'Skewer', 10, 0, 1),
('fish', 'Fish', 10, 0, 1),
('teriyaki', 'Teriyaki', 10, 0, 1),
('noodles', 'Noodles', 10, 0, 1),
('chickenraw', 'Raw Chicken Fillet', 10, 0, 1),
('ramenhot', 'Ramen Hot', 10, 0, 1),
('ramenchicken', 'Ramen Chicken', 10, 0, 1),
('ramenpork', 'Ramen Pork', 10, 0, 1),
('yakitori', 'Yakitori', 10, 0, 1),
('teriyakichicken', 'Teriyaki Chicken', 10, 0, 1),
('sushi', 'Sushi', 10, 0, 1),
('misosoup', 'Miso Soup', 10, 0, 1),
('onigiri', 'Onigiri', 10, 0, 1),
('milkshake', 'Milkshake', 10, 0, 1),
('soda', 'Soda', 10, 0, 1);
Open the [install]
folder and add the jobs
to your core resource
Are you on esx - Remember to add the .sql
to your database.
-- [Install into: qb-core/shared/jobs.lua] --
noodle = {
label = 'Noodle Exchange',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Helper', payment = 30 },
['1'] = { name = 'Cook', payment = 40 },
['2'] = { name = 'Bartender', payment = 50 },
['3'] = { name = 'Manager', payment = 60 },
['4'] = { name = 'Boss', isboss = true, payment = 70 },
},
},
-- [Install into: qbx_core/shared/jobs.lua] --
['noodle'] = {
label = 'Noodle Exchange',
defaultDuty = true,
offDutyPay = false,
grades = {
[0] = {
name = 'Helper',
payment = 30
},
[1] = {
name = 'Cook',
payment = 40
},
[2] = {
name = 'Bartender',
payment = 50
},
[3] = {
name = 'Manager',
payment = 60
},
[4] = {
name = 'Boss',
isboss = true,
bankAuth = true,
payment = 70
},
},
},
INSERT INTO `jobs` (name, label) VALUES
('noodle', 'Noodle Exchange');
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('noodle', 0, 'helper', 'Helper', 30, '{}', '{}'),
('noodle', 1, 'bartender', 'bartender', 40, '{}', '{}'),
('noodle', 2, 'cook', 'Cook', 50, '{}', '{}'),
('noodle', 3, 'manager', 'Manager', 60, '{}', '{}'),
('noodle', 4, 'boss', 'Boss', 70, '{}', '{}');
Upon completion, do not delete the [install]
folder or any .sql
files or you will experience errors.