mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
docs(Sittable-Object): 📝 add terminal punctuation to do_stand code
This commit is contained in:
parent
78221f8ac3
commit
2bd7117fbc
1 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ Let's continue:
|
|||
else:
|
||||
self.db.sitter = None
|
||||
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.
|
||||
|
|
@ -182,7 +182,7 @@ class Sittable(DefaultObject):
|
|||
else:
|
||||
self.db.sitter = None
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue