Guest User

Untitled

a guest
Mar 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. def isPrime():
  2. defense=10
  3. strength=10
  4. Health= 10
  5. items={"shepards crow":strength+2 and defense+2}
  6. equipedItems=[]
  7. print("You're quietly herding the village's sheep when you suddenly hear a huge roar. Goblns have invaded the village and are coming towards you. Do you A.Runaway B.Fight C.Herd the sheep away")
  8. answer=rawinput("Type your option A,B, or C and press enter")
  9.  
  10. def pickItem():
  11. itemPick=raw_input("Type in your item and press enter")
  12. for x in items:
  13. if itemPick == x:
  14. equipedItems=[x]
  15. print("% equiped" %itemPick)
  16. fightMode()
  17. *else:
  18. print("Item unavailable. Try again")
  19. pickItem()*
  20.  
  21. def Print():
  22. print("Health= %" %Health)
  23. #this is enacted when you get into a fight
Add Comment
Please, Sign In to add comment