Move soak output to soak/ folder with .gdignore
CSVs now write to soak/ instead of the project root. A .gdignore there stops the Godot editor from importing CSV columns as translation files - which had been silently generating 50+ .translation and .import files per run. Only the .gdignore is tracked; the CSVs stay ignored. Root is clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,11 @@ public static class StatsLogger
|
||||
|
||||
public static void Init()
|
||||
{
|
||||
string dir = ProjectSettings.GlobalizePath("res://");
|
||||
// Write into soak/ — a plain folder Godot doesn't import as assets
|
||||
// (a .gdignore there stops the editor from turning CSV columns into
|
||||
// translation files). Keeps generated debug output out of the way.
|
||||
string dir = Path.Combine(ProjectSettings.GlobalizePath("res://"), "soak");
|
||||
Directory.CreateDirectory(dir);
|
||||
_path = Path.Combine(dir, "soak_stats.csv");
|
||||
_npcPath = Path.Combine(dir, "soak_npc_days.csv");
|
||||
_giftPath = Path.Combine(dir, "soak_gifts.csv");
|
||||
|
||||
Reference in New Issue
Block a user