Merge pull request #3304 from iLPdev/patch-3
docs(Sittable-Object): 📝 add terminal punctuation to do_stand code
This commit is contained in:
commit
3fa13815c4
1 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ Let's continue:
|
||||||
else:
|
else:
|
||||||
self.db.sitter = None
|
self.db.sitter = None
|
||||||
del stander.db.is_sitting
|
del stander.db.is_sitting
|
||||||
stander.msg(f"You stand up from {self.key}")
|
stander.msg(f"You stand up from {self.key}.")
|
||||||
```
|
```
|
||||||
|
|
||||||
This is the inverse of sitting down; we need to do some cleanup.
|
This is the inverse of sitting down; we need to do some cleanup.
|
||||||
|
|
@ -182,7 +182,7 @@ class Sittable(DefaultObject):
|
||||||
else:
|
else:
|
||||||
self.db.sitter = None
|
self.db.sitter = None
|
||||||
del stander.db.is_sitting
|
del stander.db.is_sitting
|
||||||
stander.msg(f"You stand up from {self.key}")
|
stander.msg(f"You stand up from {self.key}.")
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Line 15**: We grab the `adjective` Attribute. Using `self.db.adjective or "on"` here means that if the Attribute is not set (is `None`/falsy) the default "on" string will be assumed.
|
- **Line 15**: We grab the `adjective` Attribute. Using `self.db.adjective or "on"` here means that if the Attribute is not set (is `None`/falsy) the default "on" string will be assumed.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue