Add Copy for paths, update npc names

This commit is contained in:
Ottermandias 2024-12-09 21:22:21 +01:00
parent e9014fe4c3
commit 01db37cbd4
2 changed files with 16 additions and 1 deletions

@ -1 +1 @@
Subproject commit 2b0c7f3bee0bc2eb466540d2fac265804354493d Subproject commit da74a4be9c9728c6c52134c42603cd8a7040c568

View file

@ -210,6 +210,21 @@ public partial class ModEditWindow
if (!context) if (!context)
return; return;
using (ImRaii.Disabled(registry.CurrentUsage == 0))
{
if (ImUtf8.Selectable("Copy Game Paths"u8))
{
_cutPaths.Clear();
for (var j = 0; j < registry.SubModUsage.Count; ++j)
{
if (registry.SubModUsage[j].Item1 != _editor.Option)
continue;
_cutPaths.Add(registry.SubModUsage[j].Item2);
}
}
}
using (ImRaii.Disabled(registry.CurrentUsage == 0)) using (ImRaii.Disabled(registry.CurrentUsage == 0))
{ {
if (ImUtf8.Selectable("Cut Game Paths"u8)) if (ImUtf8.Selectable("Cut Game Paths"u8))