In a function like this how can you find out if a variable (inv) contains the necessary quest items and put that into an if statement. I've tried a few ideas but none work...
I need this to see if the player has meet the requirements to complete the quest.
Code:
#Tavern Class
class tavern():
def taver_n(self):
#if quest is in progress or finished
if currnt_quest=="Chef's Helper":
done=raw_input("Chef Bill: You finish the quest yet? [yes/no] ")
if done=="yes":
if inv #IF INV CONTAINS QUEST ITEMS
global gold
gold+=500
print "Chef Bill: Great Job! Here's $500 for your troble..."
print "Reward of 100xp!"
global exp
global level
exp+=100
if exp>=100:
print "Level up! \n You are now level"+level+"."
level=2