def boldrow(self, row): if row > -1: try: for i in range(len(self.currentdata[row]) - 1): self.currentdata[row][i + 1] = misc.bold(self.currentdata[row][i + 1]) except: pass
def get_description (self, ignore_visited=False): # Returns a string to describe the room. The first time you # see a room we also include the long description str = misc.bold (self.short_name) if True or ignore_visited or not self.visited: str += '\n' + self.description return str
def get_description(self, ignore_visited=False): # Returns a string to describe the room. The first time you # see a room we also include the long description str = misc.bold(self.short_name) if True or ignore_visited or not self.visited: str += '\n' + self.description return str
def boldrow(self, row): if row > -1: try: for i in range(len(self.currentdata[row]) - 1): self.currentdata[row][i + 1] = misc.bold( self.currentdata[row][i + 1]) except: pass