Ejemplo n.º 1
0
 def selectgender(self, screen):
     """Allows the player to select a gender for their character."""
     bg = pygame.image.load(self.display.BG_FULL).convert()
     screen.blit(bg, (0, 0))
     menu = Menu()
     gender = ["Female", "Male"]
     self.chardata["Gender"] = menu.singlelist(gender, 2, 2,screen)
Ejemplo n.º 2
0
 def selectmoralcode(self, screen):
     """Checks ability scores and allows player to select from
     available archetype based on primary ability.
     
     --Page 14--
     
     """
     bg = pygame.image.load(self.display.BG_FULL).convert()
     screen.blit(bg, (0, 0))
     menu = Menu()
     self.chardata["Moral Code"] = menu.singlelist(self.gamedata.MORAL_CODES,
                                                   2, 2, screen)
Ejemplo n.º 3
0
 def selectspecies(self, screen):
     """Allows the player to select a species for their character.
     This deviates somewhat from the rule set, as this would be
     selected as a 'specialty'.  As it is here, this will 'cost' the
     player their specialty, thus only humans will get to select a
     specialty to begin with.
     
     """
     bg = pygame.image.load(self.display.BG_FULL).convert()
     screen.blit(bg, (0, 0))
     menu = Menu()
     self.chardata["Species"] = menu.singlelist(self.gamedata.SPECIES_NAMES,
                                                2, 2, screen)
Ejemplo n.º 4
0
 def selectarchetype(self, screen):
     """Checks ability scores and allows player to select from
     available archetype based on primary ability.
     
     --Page 14--
     
     """
     bg = pygame.image.load(self.display.BG_FULL).convert()
     screen.blit(bg, (0, 0))
     choices = []
     # Checks character ability scores against archetype prime
     # ability and appends to the available list if prime is 9 or
     # greater for that archetype
     for archetype in self.gamedata.ARCH:
         prime = self.gamedata.ARCH_ATTRIBUTES[archetype][0]
         if self.chardata[prime][0] > 8:
             choices.append(archetype)
     menu = Menu()
     self.chardata["Archetype"] = menu.singlelist(choices, 2, 2, screen)
     if self.chardata["Archetype"] == "Thief":
         self.chardata["Thief Skill Points"] = 12