mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3063 from 0bviouSquirre1/patch-3
Update Beginner-Tutorial-Making-A-Sittable-Object.md
This commit is contained in:
commit
6e82067d87
1 changed files with 3 additions and 3 deletions
|
|
@ -72,7 +72,7 @@ class Sittable(Object):
|
|||
f"- {current.key} is already sitting there!")
|
||||
return
|
||||
self.db.sitting = sitter
|
||||
sitter.db.is_sitting = self.obj
|
||||
sitter.db.is_sitting = self
|
||||
sitter.msg(f"You sit on {self.key}")
|
||||
```
|
||||
|
||||
|
|
@ -165,7 +165,7 @@ class Sittable(DefaultObject):
|
|||
f"- {current.key} is already sitting there!")
|
||||
return
|
||||
self.db.sitting = sitter
|
||||
sitter.db.is_sitting = self.obj
|
||||
sitter.db.is_sitting = self
|
||||
sitter.msg(f"You sit {adjective} {self.key}")
|
||||
|
||||
def do_stand(self, stander):
|
||||
|
|
@ -663,4 +663,4 @@ In this lesson we built ourselves a chair and even a sofa!
|
|||
|
||||
Eagle-eyed readers will notice that the `stand` command sitting "on" the chair (variant 1) would work just fine together with the `sit` command sitting "on" the Character (variant 2). There is nothing stopping you from mixing them, or even try a third solution that better fits what you have in mind.
|
||||
|
||||
This concludes the first part of the Beginner tutorial!
|
||||
This concludes the first part of the Beginner tutorial!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue