Update Crafting.md
Fixed an example.
This commit is contained in:
parent
481bce2ca8
commit
e8e4bcbcad
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue