fixed chest, improved ui, improved difficulty
This commit is contained in:
@@ -11,61 +11,29 @@ namespace Assets.Scripts
|
||||
{
|
||||
class EasterEggHandler
|
||||
{
|
||||
public static void applyEasterEgg(PlayerObject player)
|
||||
public static void applyEasterEgg(string playername)
|
||||
{
|
||||
if (player.getPlayerName().ToLower().Length > 0)
|
||||
if (playername.ToLower().Length > 0)
|
||||
{
|
||||
applyNameEasterEgg(player);
|
||||
applyNameEasterEgg(playername.ToLower());
|
||||
}
|
||||
}
|
||||
|
||||
private static void applyNameEasterEgg(PlayerObject player)
|
||||
private static void applyNameEasterEgg(string playername)
|
||||
{
|
||||
//maxHealth, maxSecondary, strength, dexterity, intelligence
|
||||
/*int[] result = new int[5];
|
||||
int[] stats = player.getStats();
|
||||
switch (player.getPlayerName().ToLower())
|
||||
//TODO: Create achievements fitting of their contribution... no game changing things, except godmode
|
||||
switch (playername)
|
||||
{
|
||||
case "threetimes8":
|
||||
result[0] = 240;
|
||||
result[1] = 240;
|
||||
result[2] = 24;
|
||||
result[3] = 24;
|
||||
result[4] = 24;
|
||||
break;
|
||||
case "finnchen123":
|
||||
result[0] = 1230;
|
||||
result[1] = 1230;
|
||||
result[2] = 123;
|
||||
result[3] = 123;
|
||||
result[4] = 123;
|
||||
break;
|
||||
case "thefluffeypanda":
|
||||
result[0] = 470;
|
||||
result[1] = 470;
|
||||
result[2] = 47;
|
||||
result[3] = 47;
|
||||
result[4] = 47;
|
||||
break;
|
||||
case "nicola":
|
||||
result[0] = stats[1];
|
||||
result[1] = stats[3];
|
||||
result[2] = stats[4];
|
||||
result[3] = stats[5];
|
||||
result[4] = stats[6];
|
||||
SteamWorksHandler.getGodModeAchievement();
|
||||
break;
|
||||
default:
|
||||
result[0] = stats[1];
|
||||
result[1] = stats[3];
|
||||
result[2] = stats[4];
|
||||
result[3] = stats[5];
|
||||
result[4] = stats[6];
|
||||
break;
|
||||
}
|
||||
player.setStats(result);*/
|
||||
|
||||
//TODO FIX whole Easteregg mechanic to go with the new player
|
||||
}
|
||||
|
||||
public static bool isGodMode(PlayerObject player)
|
||||
|
||||
Reference in New Issue
Block a user