from random import *

class HealthPotion():
    #Constructs a name, the amount in the potion, and if it is large or small
    def __init__(self, contain, category):
        self.contain = contain
        self.category = category
        
    #Gets what kind of potion it is
    def get_potion_type(self):
        if self.category > 50:
            print("Congrats! This heals for 50 health.")
        elif self.category < 50 and self.category > 0:
            print("This heals for 25 helat+h.")
        else:
            print("Not your lucky day... there is no health potion...")

    #Gets the amount of the potion inside
    def get_amount(self):
        if self.contain == 0 and self.category == 0:
            print("Stopping turning over the box... THERE IS NOTHING HERE!!!")
        elif self.contain > 0 and self.contain <=4:
            print("You have found " + self.contain + " amount of potions, Pick some up")
        else:
            print("You have found many potions! You can take up to 7")

    #Gets the name of the potion
    def get_name(self):
        if self.category > 50:
            print("BIG POTION")
        elif self.category < 50:
            print("SMALL POTION")
        else:
            print("NONE HAHAHA")

    def set_contained(self):
        self.contain = randrange(0,6)

    def set_types(self):
        self.category = randrange(0,85)
                  

        
        
        
        
            
            
        
