fix return_appearance typo

This commit is contained in:
nate2s 2023-09-23 19:28:18 -04:00 committed by holl0wstar
parent e89ae5b090
commit d57a3550bc

View file

@ -212,7 +212,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
objects = ObjectManager() objects = ObjectManager()
# populated by `return_apperance` # populated by `return_appearance`
appearance_template = """ appearance_template = """
{header} {header}
|c{name}|n |c{name}|n
@ -1201,7 +1201,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
self.at_access(result, accessing_obj, access_type, **kwargs) self.at_access(result, accessing_obj, access_type, **kwargs)
return result return result
# name and return_apperance hooks # name and return_appearance hooks
def get_display_name(self, looker=None, **kwargs): def get_display_name(self, looker=None, **kwargs):
""" """
@ -2111,7 +2111,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
Notes: Notes:
This method shouldn't add extra coloring to the names beyond what is This method shouldn't add extra coloring to the names beyond what is
already given by the .get_display_name() (and the .name field) already. already given by the .get_display_name() (and the .name field) already.
Per-type coloring can be applied in `return_apperance`. Per-type coloring can be applied in `return_appearance`.
""" """
# a mapping {'exits': [...], 'characters': [...], 'things': [...]} # a mapping {'exits': [...], 'characters': [...], 'things': [...]}