print("Welcome! This text adventure game is inspired by a short Bulgarian story, 'The Most Precious Fruit'. Which one is it, tho? Let's find out. Have fun!\n\n")
print("Welcome! This text adventure game is inspired by a short Bulgarian story, 'The Most Precious Fruit'. Which one is it, tho? Let's find out. Have fun!\n\n")
print("Once upon a time, there was a father and his son. The father, nearing the end of his life, wanted to pass on his entire inheritance to his son. However, he was unsure if his son was worthy of it. So, he devised one final test for him. He summoned his son and announced, 'I will give you a bag of gold. Travel the world and find the most valuable fruit. Then, you will receive my entire fortune.'")
print("Once upon a time, there was a father and his son. The father, nearing the end of his life, wanted to pass on his entire inheritance to his son. However, he was unsure if his son was worthy of it. So, he devised one final test for him. He summoned his son and announced, 'I will give you a bag of gold. Travel the world and find the most valuable fruit. Then, you will receive my entire fortune.'")
deferrormessage(text):
print(text)
# Start the game
# Start the game
answer=input("And so, the boy took the money and went out to look for the fruit. He spent two days and three and a half nights walking. He walked and walked. Finally, he reached a beautiful meadow.\n\nIn the distance, he noticed something exciting, a dark and mysterious 'temple'!\n\nHe decided to enter the temple and explore it.\n\nHe finds himself inside and sees two doors: one to the left and one to the right. Which door will he choose? (left/right)")
answer=input("And so, the boy took the money and went out to look for the fruit. He spent two days and three and a half nights walking. He walked and walked. Finally, he reached a beautiful meadow.\n\nIn the distance, he noticed something exciting, a dark and mysterious 'temple'!\n\nHe decided to enter the temple and explore it.\n\nHe finds himself inside and sees two doors: one to the left and one to the right. Which door will he choose? (left/right)")
# LEFT DOOR - FRUITS VS ORIGINAL ENDING
# LEFT DOOR - FRUITS VS ORIGINAL ENDING
@ -35,6 +39,8 @@ if answer == "left":
#-----elif stopped showing both endings, but now "bring" is not working. Shows only the "eat" answer.
#-----elif stopped showing both endings, but now "bring" is not working. Shows only the "eat" answer.
elifanswer=="bring"or"bring home":
elifanswer=="bring"or"bring home":
print("He brought the Ackee fruit to his father and said, 'I believe the most precious fruit is the one that is hardest to find. So, I travelled beyond our lands and brought this Ackee fruit for you.'\n\nThe father praised his son's efforts and eagerly began to eat it. Unfortunately, the shiny black seeds, although alluring, are highly toxic and the father got poisoned and died.")
print("He brought the Ackee fruit to his father and said, 'I believe the most precious fruit is the one that is hardest to find. So, I travelled beyond our lands and brought this Ackee fruit for you.'\n\nThe father praised his son's efforts and eagerly began to eat it. Unfortunately, the shiny black seeds, although alluring, are highly toxic and the father got poisoned and died.")
else:
errormessage("He ignores the altar and continues exploring the temple. He eventually become hopelessly lost.")
else:
else:
print("He ignores the fruits and continues exploring the temple. He eventually becomes hopelessly lost.")
print("He ignores the fruits and continues exploring the temple. He eventually becomes hopelessly lost.")