Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- room1 = [knife, gasoline, hammer, engine, small-wheels, wooden-slab, pipe, ham]
- room2 = [black-powder, train-tracks, four-wheeled-wheelbarrow, pipe, beer, lighter]
- print("Do you want to enter room one or room two?")
- room_enter = input()
- if room_enter == "room 1" or "Room 1" or "room one" or "Room one" or "Room One" or "room One":
- print("You enter room one")
- print("There are many objects, there is a" +room1)
- print("What do you interact with")
- interact = input()
- if interact == "Knife" or "knife":
- print("You pick up the knife, it is good for defense and as a tool")
- if interact == "Gasoline" or "gasoline":
- print("You fill up the engine with gasoline")
- if interact == "Hammer" or "hammer":
- print("You pick up the hammer, it is good for defense and as a tool")
- if interact == "Engine" or "engine":
- print("You turn on the engine")
- if interact == "Small-Wheels" or "Small-wheels" or "small-Wheels" or "small-wheels":
- print("You put the wheels on the wooden slab")
- if interact == "Wooden-Slab" or "Wooden-slab" or "wooden-Slab" or "wooden-slab":
- print("You get on the wooden slab")
- if interact == "Pipe" or "pipe":
- print("You connect the pipe to the engine")
- if interact == "Ham" or "ham":
- print("You eat the ham")
- if room_enter == "room 2" or "Room 2" or "room two" or "Room two" or "Room Two" or "room Two":
- print("You enter room two")
- print("There are few objects, there is some" +room2)
- print("What do you interact with")
- interact2 = input()
- if interact2 == "Black-powder" or "black-powder" or "Black-Powder" or "black-Powder":
- print("This is very explosive and can be used for many purposes")
- if interact2 == "Train-tracks" or "train-tracks" or "Train-Tracks" or "train-Tracks":
- print("These seem to lead to something")
- if interact2 == "Four-Wheeled-Wheelbarrow" or "Four-wheeled-wheelbarrow" or "four-wheeled-wheelbarrow":
- print("This could be part of a train")
- if interact2 == "Pipe" or "pipe":
- print("This is likely part of an engine for a train")
- if interact2 == "Beer" or "beer":
- print("You're now drunk, don't go driving")
- if interact2 == "Lighter" or "lighter":
- print("This could be used with the black-powder")
- #i'll probably extend this some time
- #by the way i have really got into python so i'll just focus on this for a while but every now and then there may be some other scripts so watch out for them
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement