This commit is contained in:
2025-12-17 15:48:23 +08:00
parent 25a9bbbfee
commit 0566b774da
49 changed files with 1157 additions and 150 deletions

View File

@@ -3,6 +3,7 @@ using System.Reflection;
using HarmonyLib;
using UnityEngine;
using Verse;
using WulaFallenEmpire.Utils;
namespace WulaFallenEmpire
{
@@ -48,6 +49,14 @@ namespace WulaFallenEmpire
listingStandard.GapLine();
listingStandard.CheckboxLabeled("Wula_EnableDebugLogs".Translate(), ref settings.enableDebugLogs, "Wula_EnableDebugLogsDesc".Translate());
listingStandard.GapLine();
listingStandard.Label("Translation tools");
Rect exportRect = listingStandard.GetRect(30f);
if (Widgets.ButtonText(exportRect, "Export DefInjected template (CN source)"))
{
DefInjectedExportUtility.ExportDefInjectedTemplateFromDefs(Content);
}
listingStandard.End();
base.DoSettingsWindowContents(inRect);
}