Untitled part

12 2 0
                                    

clear

CharacterSelect(1);

#Character Select

function CharacterSelect{

Write-Host ("Choose your class, keep in mind this choice has an effect on your stats.")

Write-Host ("1: Human")

Write-Host ("2: Elf")

Write-Host ("3: Dwarf")

Write-Host ("4: Urgal")

Write-Host ("5: Asriel")

$characterChoice = Read-Host ("Enter a number 1-5")

#clear

if ($characterChoice -eq 1){

raceHuman(1)

}

if ($characterChoice -eq 2){

raceElf(2)

}

if ($characterChoice -eq 3){

raceDwarf(3)

}

if ($characterChoice -eq 4){

raceUrgal(4)

}

if ($characterChoice -eq 5){

raceAsriel(5)

}

if ($characterChoice -gt 5){

Write-Host "Invalid Character, try again!"

CharacterSelect

}

$dec = Read-Host ("You chose $characterChoice, was this correct?")

solver

if ($check -eq "1"){

intro

else {

CharcterSelect

}

}

}

#Intro

#clear

function intro{

Write-Host("You happen upon a small inn on the side of the road. The smell of roast pork and stew pours out the open window. Looking up at the sky you notice how late it has become, and play with the 'nidea of stopping for a spell to rest. 'n'nShall you rest for the night?")

$dec = Read-Host

solver

if ($check -eq "1"){

inn1st

}

else{

forest1

}

}

#Inn Entrance, First Time

function Inn1st{

Write-Host("'Welcome Traveler'")

Write-Host("'You Must Be Tired'")

Write-Host("'Enjoy a Nice Piping Hot Cup of Coffee!'");

Write-Host("The Man offers you a mug and you see the steam rising off the top, you have to admit the smell is tempting...")

You've reached the end of published parts.

⏰ Last updated: Jul 24, 2018 ⏰

Add this story to your Library to get notified about new parts!

Adventure StoryWhere stories live. Discover now