added font, updated ui, fixed some code
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Steamworks;
|
||||
using Assets.Scripts.Player;
|
||||
using Steamworks;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -10,7 +11,7 @@ namespace Assets.Scripts
|
||||
{
|
||||
class EasterEggHandler
|
||||
{
|
||||
public static void applyEasterEgg(Player player)
|
||||
public static void applyEasterEgg(PlayerObject player)
|
||||
{
|
||||
if (player.getPlayerName().ToLower().Length > 0)
|
||||
{
|
||||
@@ -18,10 +19,10 @@ namespace Assets.Scripts
|
||||
}
|
||||
}
|
||||
|
||||
private static void applyNameEasterEgg(Player player)
|
||||
private static void applyNameEasterEgg(PlayerObject player)
|
||||
{
|
||||
//maxHealth, maxSecondary, strength, dexterity, intelligence
|
||||
int[] result = new int[5];
|
||||
/*int[] result = new int[5];
|
||||
int[] stats = player.getStats();
|
||||
switch (player.getPlayerName().ToLower())
|
||||
{
|
||||
@@ -62,10 +63,12 @@ namespace Assets.Scripts
|
||||
result[4] = stats[6];
|
||||
break;
|
||||
}
|
||||
player.setStats(result);
|
||||
player.setStats(result);*/
|
||||
|
||||
//TODO FIX whole Easteregg mechanic to go with the new player
|
||||
}
|
||||
|
||||
public static bool isGodMode(Player player)
|
||||
public static bool isGodMode(PlayerObject player)
|
||||
{
|
||||
bool result = false;
|
||||
if (player != null)
|
||||
|
||||
Reference in New Issue
Block a user