Update Crafting.md

Fixed an example.
This commit is contained in:
Griatch 2021-02-15 17:26:45 +01:00 committed by GitHub
parent 481bce2ca8
commit e8e4bcbcad

View file

@ -41,7 +41,7 @@ In code, you can craft using the `evennia.contrib.crafting.crafting.craft` funct
```python ```python
from evennia.contrib.crafting.crafting import craft from evennia.contrib.crafting.crafting import craft
result = craft(caller, *inputs) result = craft(caller, "recipename", *inputs)
``` ```
Here, `caller` is the one doing the crafting and `*inputs` is any combination of consumables and/or tool Here, `caller` is the one doing the crafting and `*inputs` is any combination of consumables and/or tool