Workbench
Config New Workbench
burgershotKitchen = { -- Workbench name
coords = vector4(-1201.03, -898.73, 14.0, 126.02), -- Crafting station coordinates
blip = { -- Optional blips
sprite = 384,
color = 26,
name = "burgershot Kitchen",
},
jobs = {'burgershot'}, -- Accessible jobs or empty for everyone
jobsXP = {'burgershot'}, -- Jobs that grant XP to the job instead of the player, exclusive to this workbench
recipes = {'burgershot_bleeder', 'burgershot_patatos'}, -- Crafting recipes available to this workbench
gif = "img/food.gif", -- Central image or GIF
FailedRecipeResult = { --Result if crafting fails on this workbench and the quantity
name = 'dubious_food',
qty = 1,
},
},
Copy the code above and make the following modifications:
Change
burgershotKitchen
to a unique name.Change the
coords
to the vector4 position where you want the crafting table.Modify,/Comment/Remove the
blip
according to your preferences.Add in
jobs
, the jobs that will have access to this crafting table, or nothing if everyone has access.Add in
jobsXP
, the jobs that will receive XP on this crafting table when their employees craft on it. Must be present in thejobs
list above.Add in
recipes
, the recipes you want to be craftable on this crafting table.Add in gif, the image or GIF in the center of the crafting menu (png or gif).
Change in
FailedRecipeResult
thename
andqty
the player will received when the craft does not exist.
Last updated