Code: Select all
menu:
"Throw what's in the fridge." if "blood" in items:
jump bad
"Throw the knife down." if "knife" in items:
jump bad1
"Throw the rope down." if "rope" in items:
jump bad2
"Yell down at them.":
jump bad3
But it's possible you wouldn't have collected them all, thus the "if" statements with the item inventory.
While playing, collecting the items seems to be working just fine, the problem I'm seeing is this:
The 'throw the rope down' bit always shows as a menu option, but then even if I collect every other collectible item, only the one I collected most recently shows as an option.
If you need to see more of my code to understand better where the problem is, please let me know and I'll provide more.
Hopefully this makes sense, thank you for your time and help.