From e2f286403198f61faf550651f388d2ff6446d546 Mon Sep 17 00:00:00 2001 From: MaxDorob Date: Sat, 30 Nov 2024 20:49:23 +0600 Subject: [PATCH] CIWS text --- Languages/English/Keyed/Keys.xml | 6 ++++++ Languages/Russian/Keyed/Keys.xml | 6 ++++++ .../CombatExtended/Things/Building_CIWS_CE.cs | 1 + 3 files changed, 13 insertions(+) diff --git a/Languages/English/Keyed/Keys.xml b/Languages/English/Keyed/Keys.xml index c622630e75..ebac2fe8fd 100644 --- a/Languages/English/Keyed/Keys.xml +++ b/Languages/English/Keyed/Keys.xml @@ -182,5 +182,11 @@ Paste Available targets Ignored targets + Hold fire - projectiles + Ignore incoming projectiles + Hold fire - skyfallers + Ignore landing skyfallers and drop pods + Configure CIWS + Change available and ignored targets for selected CIWS \ No newline at end of file diff --git a/Languages/Russian/Keyed/Keys.xml b/Languages/Russian/Keyed/Keys.xml index 1dcabe3754..452e27bb7f 100644 --- a/Languages/Russian/Keyed/Keys.xml +++ b/Languages/Russian/Keyed/Keys.xml @@ -140,5 +140,11 @@ Вставить Доступные цели Игнорировать + Остановить огонь - снаряды + Игнорировать летящие снаряды + Остановить огонь - транспорт + Игнорировать транспорт и другие летящие объекты + Настройка ПВО + Настроить доступные и игнорируемые цели \ No newline at end of file diff --git a/Source/CombatExtended/CombatExtended/Things/Building_CIWS_CE.cs b/Source/CombatExtended/CombatExtended/Things/Building_CIWS_CE.cs index d6c9cfffc2..5697ee00f4 100644 --- a/Source/CombatExtended/CombatExtended/Things/Building_CIWS_CE.cs +++ b/Source/CombatExtended/CombatExtended/Things/Building_CIWS_CE.cs @@ -52,6 +52,7 @@ public override IEnumerable GetGizmos() action = () => Find.WindowStack.Add(new Dialog_ManageCIWSTargets(GunCompEq.AllVerbs.OfType().SelectMany(x => x.Props.AllTargets).Distinct().ToList(), ignoredDefs)), icon = Building_CIWS_CE.icon ??= ContentFinder.Get("UI/Commands/LaunchReport"), defaultLabel = "Dialog_ManageCIWS".Translate(), + defaultDesc = "Dialog_ManageCIWSDesc".Translate() }; }