Advertisement
johnpentyrch

OO3part9

May 4th, 2020
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. from character import Character
  2. from item import Item
  3. dave = Character("Dave", "A smelly zombie")
  4. dave.describe()
  5. dave.set_conversation('Hi I\'m a nice guy really and only a bit dead')
  6. sword=Item('Sword')
  7.  
  8. dave.talk()
  9. dave.fight(sword)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement