added font, updated ui, fixed some code

This commit is contained in:
TAASONI3
2023-12-13 12:49:38 +01:00
parent 10ad860d3e
commit 17a0a22dd4
65 changed files with 1697 additions and 5019 deletions

View File

@@ -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)