mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 13:07:16 +02:00
Quick fixes
This commit is contained in:
parent
0577553112
commit
a6221d6d6f
3 changed files with 3 additions and 3 deletions
|
|
@ -635,7 +635,7 @@ class CmdOption(COMMAND_DEFAULT_CLASS):
|
|||
)
|
||||
row.append("%s%s" % (saved, changed))
|
||||
table.add_row(*row)
|
||||
self.msg(f"|wClient settings ({self.session.protocal_key}):|n\n{table}|n")
|
||||
self.msg(f"|wClient settings ({self.session.protocol_key}):|n\n{table}|n")
|
||||
|
||||
return
|
||||
|
||||
|
|
|
|||
|
|
@ -1269,7 +1269,7 @@ class CmdSetHome(CmdLink):
|
|||
old_home = obj.home
|
||||
obj.home = new_home
|
||||
if old_home:
|
||||
string = f"Home location of {home} was changed from {old_home}({old_home.dbref} to {new_home}({new_home.dbref})."
|
||||
string = f"Home location of {obj} was changed from {old_home}({old_home.dbref} to {new_home}({new_home.dbref})."
|
||||
else:
|
||||
string = f"Home location of {obj} was set to {new_home}({new_home.dbref})."
|
||||
self.caller.msg(string)
|
||||
|
|
|
|||
|
|
@ -426,7 +426,7 @@ class CmdGet(COMMAND_DEFAULT_CLASS):
|
|||
caller.msg("This can't be picked up.")
|
||||
else:
|
||||
caller.msg(f"You pick up {obj.name}.")
|
||||
caller.location.msg_contents(f"{caller.name} picks up {obj,name}.", exclude=caller)
|
||||
caller.location.msg_contents(f"{caller.name} picks up {obj.name}.", exclude=caller)
|
||||
# calling at_get hook method
|
||||
obj.at_get(caller)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue