mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update objects.py
missing quotation in doc string, and at_access() keyword args formatted oddly because 'game' was on a new line, and (Not).
This commit is contained in:
parent
5423ee238c
commit
db2336aa4b
1 changed files with 2 additions and 3 deletions
|
|
@ -739,7 +739,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
|
||||
char.location.msg_contents(
|
||||
"{attacker} attacks {defender}.",
|
||||
mapping={"attacker:player1, "defender":player2})
|
||||
mapping={"attacker":player1, "defender":player2})
|
||||
|
||||
- player1 will see: 'Player1 attacks The Second girl.'
|
||||
- player2 will see: 'The First girl attacks Player2'
|
||||
|
|
@ -1691,8 +1691,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
access_type (str): The type of access that was requested.
|
||||
|
||||
Keyword Args:
|
||||
Not used by default, added for possible expandability in a
|
||||
game.
|
||||
Unused by default, added for possible expandability in a game.
|
||||
|
||||
"""
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue