Installation

DEPENDENCIES

REQUIRED DEPENDENCIES

OPTIONAL DEPENDENCIES

ResourceDownload

Mapping

PF Mods Recommend / Whatever you want

RESOURCE INSTALLATION GUIDE

1) RESOURCE DOWNLOAD

Download your resource from FiveM's Keymaster.

2) RESOURCE POSITIONING

ensure qb-core
ensure ox_lib
ensure apex_lib
ensure [apex] -- or ensure apex_noodleexchange

3) ASSET ADDING

  1. Open apex_koi > assets > inventory_images

  2. Copy files from the folder and add them into your inventory image folder

4) ITEM ADDING (QBCORE & ESX)

-- 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
ramen_hot 		= { name = 'ramen_hot', 		label = 'Ramen Hot', 		weight = 10, type = 'item', image = 'ramen_hot.png', 	unique = false, useable = true, shouldClose = true, combinable = nil,   description = 'Food'},
ramen_chicken 	= { name = 'ramen_chicken', 		label = 'Ramen Chicken', 		weight = 10, type = 'item', image = 'ramen_chicken.png', 	unique = false, useable = true, shouldClose = true, combinable = nil,   description = 'Food'},
ramen_pork 		= { name = 'ramen_pork', 		label = 'Ramen Pork', 		weight = 10, type = 'item', image = 'ramen_pork.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'},
teriyaki_chicken 	= { name = 'teriyaki_chicken', 	label = 'Teriyaki Chicken', 	weight = 10, type = 'item', image = 'teriyaki_chicken.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'},

5) JOB ADDING

noodle = {
	label = 'Noodle Exchange',
	defaultDuty = true,
	offDutyPay = false,
	grades = {
		['0'] = { name = 'Helper', payment = 30 },
		['1'] = { name = 'Delivery', payment = 40 },
		['2'] = { name = 'Cook', payment = 50 },
		['3'] = { name = 'Manager', isboss = true, payment = 60 },
	},
},

6) CONSUMABLES

The first 2 blocks i'll show how to add the items into both qb-smallresources and jim-consumables for qbcore

qb-smallresources/config.lua
Config.ConsumablesDrink = {
    ["milkshake"] = math.random(40, 80),
    ["soda"] = math.random(40, 80),
}

Config.ConsumablesEat = {
    ["ramen_hot"] = math.random(80, 100),
    ["ramen_chicken"] = math.random(80, 100),
    ["ramen_pork"] = math.random(80, 100),
    ["yakitori"] = math.random(80, 100),
    ["teriyaki_chicken"] = math.random(80, 100),
    ["sushi"] = math.random(80, 100),
    ["misosoup"] = math.random(80, 100),
    ["onigiri"] = math.random(80, 100),
}

Last updated