Example #1
0
 def stock( self, hoard_rank=3, item_types=items.PREMIUM_TYPES ):
     self.gold,hoard = items.generate_hoard(hoard_rank,self.HOARD_AMOUNT,item_types)
     self.contents += hoard
     if random.randint(1,500) < self.HOARD_AMOUNT:
         self.trap = traps.choose_trap( hoard_rank )
Example #2
0
 def stock( self, hoard_rank=3, item_types=items.PREMIUM_TYPES ):
     self.gold,hoard = items.generate_hoard(hoard_rank,self.HOARD_AMOUNT,item_types)
     self.contents += hoard
Example #3
0
 def stock( self, hoard_rank=3 ):
     self.gold,hoard = items.generate_hoard(hoard_rank,self.HOARD_AMOUNT)
     self.contents += hoard
     if random.randint(1,500) < self.HOARD_AMOUNT:
         self.trap = traps.choose_trap( hoard_rank )