void CheckPassword(string input)
{
if (level == 1)
{
if (input == "pot")
{
Terminal.WriteLine("calling the kettle black, eh?");
currentScreen = Screen.Win;
Winscreen();
}
else
{
Terminal.WriteLine("Incorrect, please try again.");
}
}
else if (level == 2)
{
if (input == "shield")
{
Terminal.WriteLine("only good at protecting against weapons, apparently...");
Terminal.WriteLine("Not so great at protecting as a password.");
currentScreen = Screen.Win;
Winscreen();
}
else
{
Terminal.WriteLine("Incorrect, please try again.");
}
}
}
void Winscreen()
{
if(level == 1)
{
Terminal.WriteLine("You've been granted access to the Stone Age Vault");
}
else if(level == 2)
{
Terminal.WriteLine("You've been granted access to the Middle Ages Vault");
}
}