Initial commit

This commit is contained in:
Ferdinando 2026-07-30 19:00:13 +02:00
commit c4a24c9fdf
142 changed files with 15491 additions and 0 deletions

View file

@ -0,0 +1,28 @@
using HarmonyLib;
using UnityEngine;
using UnityEngine.UI;
namespace RacesOfValheim
{
[HarmonyPatch]
public static class TMPDebug
{
[HarmonyPatch(typeof(Hud), "Awake")]
[HarmonyPostfix]
public static void Awake_Postfix(Hud __instance)
{
Transform food2 = __instance.transform.Find("hudroot/healthpanel/food2");
if (food2 != null)
{
Transform time = food2.Find("time");
if (time != null)
{
Component[] comps = time.GetComponents<Component>();
foreach(var c in comps) {
Jotunn.Logger.LogInfo("Time component: " + c.GetType().Name);
}
}
}
}
}
}