Quick fixes

This commit is contained in:
homeofpoe 2022-10-26 05:05:29 -07:00
parent 0577553112
commit a6221d6d6f
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

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