fixed special splashes.

This commit is contained in:
Bitl 2021-06-01 14:11:49 -07:00
parent cd6b954f93
commit c35f3c01be

View File

@ -43,50 +43,138 @@ public static class SplashReader
DateTime today = DateTime.Now;
string splash = "";
switch (today)
switch (today.DayOfWeek)
{
case DateTime christmaseve when christmaseve.Month.Equals(12) && christmaseve.Day.Equals(24):
case DateTime christmasday when christmasday.Month.Equals(12) && christmasday.Day.Equals(25):
splash = "Merry Christmas!";
break;
case DateTime newyearseve when newyearseve.Month.Equals(12) && newyearseve.Day.Equals(31):
case DateTime newyearsday when newyearsday.Month.Equals(1) && newyearsday.Day.Equals(1):
splash = "Happy New Year!";
break;
case DateTime halloween when halloween.Month.Equals(10) && halloween.Day.Equals(31):
splash = "Happy Halloween!";
break;
case DateTime bitlbirthday when bitlbirthday.Month.Equals(6) && bitlbirthday.Day.Equals(10):
splash = "Happy Birthday, Bitl!";
break;
case DateTime robloxbirthday when robloxbirthday.Month.Equals(8) && robloxbirthday.Day.Equals(27):
splash = "Happy Birthday, ROBLOX!";
break;
case DateTime novetusbirthday when novetusbirthday.Month.Equals(10) && novetusbirthday.Day.Equals(27):
splash = "Happy Birthday, Novetus!";
break;
case DateTime leiferikson when leiferikson.Month.Equals(10) && leiferikson.Day.Equals(9):
splash = "Happy Leif Erikson Day! HINGA DINGA DURGEN!";
break;
case DateTime smokeweedeveryday when smokeweedeveryday.Month.Equals(4) && smokeweedeveryday.Day.Equals(20):
case DayOfWeek.Thursday:
CryptoRandom random = new CryptoRandom();
if (random.Next(0, 1) == 1)
int randnum = random.Next(0, 2);
if (randnum == 1)
{
splash = "smoke weed every day";
splash = "Happy Out-of-Touch Thursday!";
}
else if (randnum == 2)
{
splash = "You're out of touch, I'm out of time!";
}
else
{
splash = "4/20 lol";
splash = "But I'm out of my head when you're not around!";
}
goto End;
default:
break;
}
switch (today.Month)
{
case 1:
if (today.Day.Equals(1))
{
splash = "Happy New Year!";
}
else
{
goto default;
}
break;
case DateTime erikismyhero when erikismyhero.Month.Equals(2) && erikismyhero.Day.Equals(11):
splash = "RIP Erik Cassel";
case 2:
if (today.Day.Equals(11))
{
splash = "RIP Erik Cassel";
}
else
{
goto default;
}
break;
case 4:
if (today.Day.Equals(20))
{
CryptoRandom random = new CryptoRandom();
int randnum = random.Next(0, 1);
if (randnum == 1)
{
splash = "smoke weed every day";
}
else
{
splash = "4/20 lol";
}
}
else
{
goto default;
}
break;
case 6:
if (today.Day.Equals(10))
{
splash = "Happy Birthday, Bitl!";
break;
}
else
{
CryptoRandom random2 = new CryptoRandom();
int chance = (today.Day > 15) ? 1 : 2;
int randnum2 = (today.Day > 7) ? random2.Next(0, chance) : 1;
if (randnum2 > 0)
{
splash = "Happy Pride Month!";
break;
}
else
{
goto default;
}
}
case 9:
if (today.Day.Equals(1))
{
splash = "Happy Birthday, Roblox!";
}
else
{
goto default;
}
break;
case 10:
if (today.Day.Equals(9))
{
splash = "Happy Leif Erikson Day! HINGA DINGA DURGEN!";
}
else if (today.Day.Equals(27))
{
splash = "Happy Birthday, Novetus!";
}
else if (today.Day.Equals(31))
{
splash = "Happy Halloween!";
}
else
{
goto default;
}
break;
case 12:
if (today.Day.Equals(24) || today.Day.Equals(25))
{
splash = "Merry Christmas!";
}
else if (today.Day.Equals(31))
{
splash = "Happy New Year!";
}
else
{
goto default;
}
break;
default:
splash = RandomSplash();
break;
}
End:
return splash;
}
}