Workbench
Returns the crafting categories and the recipes in each categories
Crafting Categories
Our built in crafting system has a category system to easily craft the required items.
Each category will have:
label
(string) — the title of the categorydescription
(string) — the description of the categoryicon
(string) — an icon for the categoryrecipe
(table) — the items to craft as index and recipe as the value.
Recipes
The setup of a recipe is indexed by the item name you want to craft:
icon
(string) — the icon of the item to craftmaterials
(table) — the materials required to craft the itemindex
is the item namenumber
is the required amount of materials
You can add whatever items you like and require whatever materials and amount that fits your server.
How to integrate my own crafting script?
To integrate your own crafting resource follow these steps.
Last updated