Fix transformation bug
When someone transforms into something, it blends better.
This commit is contained in:
parent
e1958ed3dd
commit
e322c2129e
3 changed files with 10 additions and 4 deletions
|
|
@ -403,9 +403,6 @@ class Character(Object, GenderCharacter, ContribRPCharacter):
|
|||
'|S has') +
|
||||
post_desc)
|
||||
|
||||
def at_look(self, target, **kwargs):
|
||||
return "Whacka whacka!"
|
||||
|
||||
def at_pre_move(self, destination, *args, **kwargs):
|
||||
"""
|
||||
Called by self.move_to when trying to move somewhere. If this returns
|
||||
|
|
|
|||
|
|
@ -33,6 +33,14 @@ class ObjectParent:
|
|||
take precedence.
|
||||
|
||||
"""
|
||||
appearance_template = """
|
||||
{desc}
|
||||
{exits}
|
||||
{characters}
|
||||
{things}
|
||||
{footer}
|
||||
"""
|
||||
|
||||
def get_display_footer(self, _, **kwargs):
|
||||
return "\n"
|
||||
|
||||
|
|
|
|||
|
|
@ -106,7 +106,8 @@ class Room(ObjectParent, ExtendedRoom, ContribRPRoom, Listener):
|
|||
vchars = self.filter_visible(chars, looker, **kwargs)
|
||||
num_chars = len(vchars)
|
||||
|
||||
char_list = super().get_display_characters(looker, pose=True)
|
||||
char_list = iter_to_str(
|
||||
char.get_display_name(looker, **kwargs) for char in vchars)
|
||||
|
||||
# We add the word 'also' in case we showed there were objects:
|
||||
objs = self.contents_get(content_type="object")
|
||||
|
|
|
|||
Loading…
Reference in a new issue