Skip to content

SetCraftCheck

Decide before a crafting station starts.

Names a crafting station whose start waits for the mode: "alchemy" (the alchemy table), "smithing" (the anvil), "sharpening" (the grindstone) or every station ("*"). When a player starts one, their game holds it and asks, and OnPlayerCraft decides - false keeps the station from starting (nothing is used). on = false takes a name back.

SetCraftCheck(station [, on])
Parameter Type
station string "alchemy", "smithing", "sharpening" or "*"
on boolean true (the default) to decide first, false to take it back (optional)

boolean - false for a station of another name

SetCraftCheck("*", true) -- every station asks OnPlayerCraft first

OnPlayerCraft · IsCraftChecked · the Items and inventory group of the index