예제 #1
0
 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
예제 #2
0
파일: room.py 프로젝트: blandford/nilya
 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
예제 #3
0
파일: room.py 프로젝트: blandford/nilya
 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
예제 #4
0
 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