# sssssh. these aren't "real" test

from character_class import Character
from character_class import Hero
from character_class import Monster
from character_class import MinorHero


# Characters can be instantiated with name and avatar

Gandalf = Character("Gandalf the Grey", "Gandalf.png")
Frodo = Character("Frodo Baggins", "Keep_secrets.png")

print(Gandalf.name, Gandalf.avatar)
print(Frodo.name, Frodo.avatar)


# After adding 2 items to inventroy
# length of inventory should == 2


Gandalf.inventory.append('sword')
Gandalf.inventory.append('staff')


print(len(Gandalf.inventory))
print(Gandalf.inventory)


# Gandalf should have a 'greet' method
# and when I call it, it should return "FLY YOU FOOLS."
# when i call it 'Gandalf.greet(Frodo)' it should return
#Hello, Frodo Baggins, you must take the ring!
print(Gandalf.greet(Frodo))


#another greet method for greeting others or not at all
print(Gandalf.greet())



#i should be able to creat a Hero instance
Gimli = Hero('Gimli son of Gloin', 'Gimli.png')

# hero should be able to greet Character
print(Gimli.greet(Gandalf))
print(Gandalf.greet(Gimli))

# Monster should be able to greet someone

Orc = Monster()

print(Orc.greet())

# Orc = Monster('A Filty Orc', 'Orcy1.png')

# print(Orc.greet2())
# print(Orc.greet2(Gandalf))

# hero needs to greet monster
print(Gimli.greet(Orc))


Ralph = MinorHero

print(Ralph.greet(Orc))