Fix py example in sittable object tutorial. Resolve #3401

This commit is contained in:
Griatch 2024-01-14 17:03:09 +01:00
parent 7eea74b614
commit 7084f7a021
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,9 @@
# Changelog
## main branch
- Doc tutorial fixes
## Evennia 3.1.0
Jan 8, 2024

View file

@ -127,8 +127,8 @@ We let the typeclass handle the logic, and also let it do all the return messagi
It's fine to sit 'on' a chair. But what if our Sittable is an armchair?
```
> py armchair = evennia.create_object("typeclasses.sittables.Sittable", key="armchair", location=here)
> py armchair.do_sit(me)
> py evennia.create_object("typeclasses.sittables.Sittable", key="armchair", location=here)
> py self.search("armchair").do_sit(me)
You sit on armchair.
```