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!")
|
f"- {current.key} is already sitting there!")
|
||||||
return
|
return
|
||||||
self.db.sitting = sitter
|
self.db.sitting = sitter
|
||||||
sitter.db.is_sitting = self.obj
|
sitter.db.is_sitting = self
|
||||||
sitter.msg(f"You sit on {self.key}")
|
sitter.msg(f"You sit on {self.key}")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -165,7 +165,7 @@ class Sittable(DefaultObject):
|
||||||
f"- {current.key} is already sitting there!")
|
f"- {current.key} is already sitting there!")
|
||||||
return
|
return
|
||||||
self.db.sitting = sitter
|
self.db.sitting = sitter
|
||||||
sitter.db.is_sitting = self.obj
|
sitter.db.is_sitting = self
|
||||||
sitter.msg(f"You sit {adjective} {self.key}")
|
sitter.msg(f"You sit {adjective} {self.key}")
|
||||||
|
|
||||||
def do_stand(self, stander):
|
def do_stand(self, stander):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue