hey ive been working on a txt game... btw im using python 2.3. i am trying to have a requirement for each 'room' or function, i want it so the user has to pick up an object into their inventory before they can go on to the next room. here is my game http://www.privatepaste.com/ce0kCf6Bz5 ive tried a good amount of stuff i think what i do have so far would work but i cant actually make call it or w/e figure out how to use it. this is the part ive been working on
require = ("Running Shoes", "Special Water")
has_all_needed = True
for item in require:
if item not in inventory:
has_all_needed = False
if not has_all_needed:
track()
else:
weight_room()