This isn't for every inventory if you're not using qb-inventory or lj-inventory you'll have to find the equivalent.
Explanation of preset locations
{ name = "Lumberjack Crafting", -- Name that appears on the target
requiredResource = "jim-lumberjack", -- required resource, to stop it causing errors trying to load uninstalled scripts
coords = {
vector4(-468.93, 5352.4, 80.72, 62.41), -- table of vector4 locations of the crafting benches
},
blip = { -- Blip info, set to nil or delete if you dont want a blip
sprite = 521,
col = 0,
scale = 0.7,
disp = 6,
},
prop = `gr_prop_gr_speeddrill_01b`, -- the prop to be used for the target
craftingTable = {
["Other"] = { -- Category
["Tools"] = { -- Sub-Category
{ ["walkstick"] = { ["wood"] = 2 }, amount = 1 },
},
["Hardware"] = { -- Category
["Cardboard"] = { -- Sub-Category
{ ["cardhat"] = { -- Item to be crafted
["paper"] = 20, -- Ingredients
},
amount = 1 }, -- Amount to be given when crafted
job = { ["jobname"] = grade, ["jobname"] = grade, }, -- Table of jobs and their lowest grades that can see this specific recipe
anim = { "animDict", "animName" }
-- or Scenario Support
anim = { "Scenario" },
time = math.random(4000,6000),
},
},
},
},