internal static void Loop() { if (Hungry >= 2.0f && hinted) { hinted = false; } if (Hungry <= 2.0f && !hinted) { hinted = true; GameUI.DisplayHelp(Strings.Hungry); } if (Hungry <= 1.5f && (Hungry > 0.5f)) { Game.Player.Character.Health -= 1; } if (Hungry <= 0.5f) { Game.Player.Character.Health -= 10; } if (Hungry != 0f) { if (Game.Player.Character.Health >= 100 && !Game.Player.Character.IsSprinting) { MenuScript.ChangeHungryBarColor(Color.White); Hungry -= 0.01f; } else { MenuScript.ChangeHungryBarColor(Color.Red); Hungry -= 0.05f; } } }