From 9117362f032c95005c0e843634af70edc28c1016 Mon Sep 17 00:00:00 2001 From: davud Date: Fri, 21 Aug 2026 22:19:13 +0200 Subject: [PATCH] feat: save daily quests #2 --- IngameReveries/IngameReveries.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/IngameReveries/IngameReveries.cs b/IngameReveries/IngameReveries.cs index 96c68e5..bc316c3 100644 --- a/IngameReveries/IngameReveries.cs +++ b/IngameReveries/IngameReveries.cs @@ -1,6 +1,7 @@ using System; using System.Collections; using System.Collections.Generic; +using System.Linq; using UnityEngine; using HarmonyLib; @@ -19,6 +20,16 @@ namespace IngameReveries // If you need to patch with Harmony, you can use this.harmony to access the Harmony instance for your mod. // It will be created with your mod's id automatically, the first time you access the property. harmony.PatchAll(); + + // This is legit where all game data is saved (aka there are the reveries saved) + DewProfile mainProfile = DewSave.profileMain; + Debug.Log("profile main: " + mainProfile.name + " with " + mainProfile.stardust + " stadust"); + + List reveries = mainProfile.reverieSlots; + foreach (var revery in reveries) + { + Debug.Log("revery: "+revery.currentProgress+" with "+revery.grantedStardust); + } } private void OnDestroy()