Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
AdventureGame/luke.py
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
12 lines (11 sloc)
849 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def tavern(): | |
print("You walk into an old tavern and the inkeeper greets you") | |
answer = int(input("Greetings traveller! Say, there are a few people here who wish to meet you!\n1. 'Of course!'\n2. 'Oh I'm on a really tight schedule\ncan I just get a quick drink?")) | |
if answer == 1: | |
name = input("Traveller! What is your name?\n") | |
choice1 = input("Ah! Hello "+name+" Why dont you meet the rest of your party?") | |
if choice1 == "sure" or choice1 == "ok" or choice1 == "yeah" or choice1 == "y" or choice1 == "Okay" or choice1 == "Sure" or choice1 == "Yeah" or choice1 == "Yes": | |
print("Well, here we have Gwindolin the human paladin!") | |
print("'Aye Aye!' Gwindolin says quite loudly.") | |
print("\nHere, is our elf bard, Jeena! 'Howdy' she says.") | |
print("\nAnd of course, our gnome cleric Elaroth! 'G'day mate!'") | |