mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 17:56:32 +01:00
Fix look of default command.py example in search beginner tutorial. Resolve #3555
This commit is contained in:
parent
d6de25f4ca
commit
a49b61a509
2 changed files with 7 additions and 5 deletions
|
|
@ -3,8 +3,7 @@
|
|||
In this lesson we'll learn how to create our own Evennia [Commands](../../../Components/Commands.md) If you are new to Python you'll also learn some more basics about how to manipulate strings and get information out of Evennia.
|
||||
|
||||
A Command is something that handles the input from a user and causes a result to happen.
|
||||
An example is `look`, which examines your current location and tells you what it looks like and
|
||||
what is in it.
|
||||
An example is `look`, which examines your current location and tells you what it looks like and what is in it.
|
||||
|
||||
```{sidebar} Commands are not typeclassed
|
||||
|
||||
|
|
@ -20,7 +19,7 @@ Command-Sets are then associated with objects, for example with your Character.
|
|||
|
||||
## Creating a custom command
|
||||
|
||||
Open `mygame/commands/command.py`:
|
||||
Open `mygame/commands/command.py`. This file already has stuff filled in for you.
|
||||
|
||||
```python
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue