Ability to register custom crafts dynamically

This commit is contained in:
Jean-Patrick Guerrero
2019-09-06 14:48:44 +02:00
parent 83151cb394
commit 3d77ec58b4
2 changed files with 45 additions and 42 deletions

4
API.md
View File

@ -73,10 +73,6 @@ end)
Removes the recipe filter with the given name.
#### `craftguide.set_recipe_filter(name, function(recipe, player))`
Removes all recipe filters and adds a new one.
#### `craftguide.get_recipe_filters()`
Returns a map of recipe filters, indexed by name.