Étape 6
Ajouts crafting Inventaire
Ajouts crafting Inventaire
Pour que le scripts fonctionne correctement vous devez ajouter les crafting dans le fichier de configuration de votre inventaire.
ox_inventory
Copier et coller les items ce-dessous dans votre fichier de configuration qui se trouve dans : ox_inventory/data/crafting.lua
En cours...
qs_inventory
[22] = {
name = 'Viande',
isjob = false,
grades = 'all',
text = '[E] - Viande',
blip = {
enabled = true,
title = 'Viande',
scale = 1.0,
display = 4,
colour = 0,
id = 365
},
location = vec3(283.6283, -218.1871, 53.9943),
items = {
[1] = {
name = 'viande_kebab',
amount = 1,
info = {},
costs = {
-- ['item'] = 5,
},
type = 'item',
slot = 1,
rep = '',
points = 1,
threshold = 0,
time = 5000,
chance = 90
},
[2] = {
name = 'viande_hachee',
amount = 1,
info = {},
costs = {
-- ['item'] = 5,
},
type = 'item',
slot = 1,
rep = '',
points = 1,
threshold = 0,
time = 5000,
chance = 90
},
[3] = {
name = 'escalope',
amount = 1,
info = {},
costs = {
-- ['item'] = 5,
},
type = 'item',
slot = 1,
rep = '',
points = 1,
threshold = 0,
time = 5000,
chance = 90
},
[4] = {
name = 'merguez',
amount = 1,
info = {},
costs = {
-- ['item'] = 5,
},
type = 'item',
slot = 1,
rep = '',
points = 1,
threshold = 0,
time = 5000,
chance = 90
},
}
},
[23] = {
name = 'Frite',
isjob = false,
grades = 'all',
text = '[E] - Frite',
blip = {
enabled = true,
title = 'Frite',
scale = 1.0,
display = 4,
colour = 0,
id = 365
},
location = vec3(284.1347, -216.9436, 53.9943),
items = {
[1] = {
name = 'frite',
amount = 1,
info = {},
costs = {
['patate'] = 1,
},
type = 'item',
slot = 1,
rep = '',
points = 1,
threshold = 0,
time = 5000,
chance = 90
}
}
},
Last updated