RemovePlayerRecipe
Takes a recipe from the player’s character - the book forgets it.
The book leaves it out the next time the player opens it (a book open at the moment keeps the list it opened with).
Syntax
Section titled “Syntax”RemovePlayerRecipe(pid, recipe)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
recipe |
string | a recipe’s key, name or document |
Returns
Section titled “Returns”boolean - false for no such recipe or a player not connected; a recipe the character does not know is fine
Example
Section titled “Example”RemovePlayerRecipe(pid, "alchemy:13")See also
Section titled “See also”GivePlayerRecipe · SetPlayerRecipes · the Recipes group of the index
