-
Notifications
You must be signed in to change notification settings - Fork 3
Recipes Module
STBrian edited this page Nov 5, 2025
·
4 revisions
As the name says, here you'll find functions related to the crafting system of the game. Have you ever wanted to add a crafting recipe to the game? This is the module you need to use. For now you can only register crafting recipes, but, hopefully, in the future, other types of recipes will be added
| Game.Recipes.OnRegisterRecipes | Triggered when the game is adding recipes |
| RecipesTable | Represents an access to game recipes list |
| Game.Recipes.registerShapedRecipe | Allows to register a shaped crafting recipe |
This event will be triggered when the game is registering recipes. It also passes one argument to the listener
Game.Recipes.OnRegisterRecipes:Connect(function (arg1)
end)RecipesTable arg1: Allows access to the game recipes list
This functions allows to add to the game a shaped crafting recipe, the size of the recipe will determine if it will be a 2x2 or a 3x3 recipe, this impacts whether the recipe needs a crafting table or not
Game.Recipes.registerShapedRecipe(recipesTable, resultItem, categoryId, position, line1, line2, line3, components)RecipesTable recipesTable: Provided by Game.Recipes.OnRegisterRecipes event