Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return_appearance( self, looker ):
- # set description to self.desc to start
- desc = self.desc
- # loop over contents, only look at poseable items
- for item in self.contents:
- # check if they're poseable
- if inherits_from( item, "typeclasses.objects.Poseable" ):
- # Add the description to our desc
- desc += item.return_appearance(looker)
- desc += "\nExits:\n"
- for exit in room.exits:
- desc += exit.return_appearance(looker)
- return desc
Advertisement
Add Comment
Please, Sign In to add comment