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:
2026-07-21 18:02:28 -04:00
parent 3512b46235
commit 7de76fa45d
4 changed files with 9 additions and 4 deletions
+5 -1
View File
@@ -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");