I need this code to ask if you finished the current quest, if your say YES you have, i must check your inventory to see if you have the necessary items to complete it.
What will check if inventory contains flour and eggs in this case?
Thanks, (code below)
#Tavern Class class tavern(): def taver_n(self): if currnt_quest=="Chef's Helper": done=raw_input("Bar Broski: You finish the quest yet? [yes/no] ") if done=="yes": #MUST CONFIRM FLOUR/EGGS IS IN INV print "Bar Broski: Great Job! Here's $500 for your troble..." print "Reward 100xp!" print "Trav MCcoy: Welcome to my tavern. Many of the locals here have odd jobs for people that you can do. Quests give you exp to level up so do as many as you can." finishquest=raw_input("Are Ya Looking for a ") quest_list=("1)Chef's Helper") quest=raw_input("Bar Browski:Hey, You intrested in a quest? [yes/no] ") if quest=="yes": #link to menu manu=menu() manu.main_menu() else: print "Bar Browski: Alright another time then." #link to menu manu=menu() manu.main_menu()