Gligarman2
2013-08-03, 09:02 AM
I have no idea why this is using invalid syntax. Any gitp coders why know why?
print("Welcome to the world of Lastreach. You are the great hero Edridian Dualscar. You are trapped in the lair of an angry dragon, which sleeps on a pile of gold. You have your cloth ROBES, a SWORD, and a STICK. You can ABSCOND, MOVE, ATTACK, say YES or NO, or USE one item on another")
print("What do you do?")
input()
if input is ("KILL DRAGON") print("Attack LEGS, CHEST or HEAD")
if input is ("TAKE GOLD") print("The dragon kills you for stealing its gold.") quit
if input is not ("TAKE GOLD") or ("KILL DRAGON") or ("USE ROBES on DRAGON") or ("USE ROBES on SWORD") or ("USE STICK on SWORD") or ("Use SWORD on ROBES") or ("ABSCOND") or ("USE SWORD on STICK")
if input is ("USE robes on DRAGON") print(" The dragon declines the offering. It kills you") quit
if input is ("USE ROBES on SWORD") print("You cut your robes. Dumbass. The dragon eats you for being such a moron") quit
if input is ("USE STICK ON SWORD") print("You now have a longer sword While you were working on that, the dragon sneaks up on you. You die.") quit
if input is ("USE SWORD on STICK") print("You cut a stick. Dumbass.") quit
input
if input is not("KILL LEGS") print("The dragon stomps you flat.It pinches you all over.") quit
if input is("KILL LEGS") print("The dragon is crippled.Attack the CHEST or HEAD?")
input()
if input ("KILL HEAD") print("You stab the dragon through the eye.viciously. You can now take gold from the dragon's hoard.")
input()
if input ("TAKE GOLD") print("You now have 100 gold") print("You leave the dragon's lair")
print("You are on a dusty road. A Highwayman appears.)"
input()
if input() = ("KILL highwayman") print("He's dead, would you like to go on?") else print("You get stabbed.")quit
input() if input() = ("MOVE") print"(You go forward") else print("You sit there like a moron. <") quit
if input()= ("MOVE") print ("You go forward") else print("You sat there like a moron for years. You grow a long beard, and eventually die of old age.")quit
print("Welcome to the world of Lastreach. You are the great hero Edridian Dualscar. You are trapped in the lair of an angry dragon, which sleeps on a pile of gold. You have your cloth ROBES, a SWORD, and a STICK. You can ABSCOND, MOVE, ATTACK, say YES or NO, or USE one item on another")
print("What do you do?")
input()
if input is ("KILL DRAGON") print("Attack LEGS, CHEST or HEAD")
if input is ("TAKE GOLD") print("The dragon kills you for stealing its gold.") quit
if input is not ("TAKE GOLD") or ("KILL DRAGON") or ("USE ROBES on DRAGON") or ("USE ROBES on SWORD") or ("USE STICK on SWORD") or ("Use SWORD on ROBES") or ("ABSCOND") or ("USE SWORD on STICK")
if input is ("USE robes on DRAGON") print(" The dragon declines the offering. It kills you") quit
if input is ("USE ROBES on SWORD") print("You cut your robes. Dumbass. The dragon eats you for being such a moron") quit
if input is ("USE STICK ON SWORD") print("You now have a longer sword While you were working on that, the dragon sneaks up on you. You die.") quit
if input is ("USE SWORD on STICK") print("You cut a stick. Dumbass.") quit
input
if input is not("KILL LEGS") print("The dragon stomps you flat.It pinches you all over.") quit
if input is("KILL LEGS") print("The dragon is crippled.Attack the CHEST or HEAD?")
input()
if input ("KILL HEAD") print("You stab the dragon through the eye.viciously. You can now take gold from the dragon's hoard.")
input()
if input ("TAKE GOLD") print("You now have 100 gold") print("You leave the dragon's lair")
print("You are on a dusty road. A Highwayman appears.)"
input()
if input() = ("KILL highwayman") print("He's dead, would you like to go on?") else print("You get stabbed.")quit
input() if input() = ("MOVE") print"(You go forward") else print("You sit there like a moron. <") quit
if input()= ("MOVE") print ("You go forward") else print("You sat there like a moron for years. You grow a long beard, and eventually die of old age.")quit