Update Beginner-Tutorial-Making-A-Sittable-Object.md

references to `self.obj` should be just `self`. Changed to reflect such
This commit is contained in:
0bviouSquirre1 2023-01-04 14:29:52 -05:00 committed by GitHub
parent 0bde1a034b
commit 1a8b17256e

View file

@ -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):