From 5903e561a99787865c265c23fa84fbb5e889fbed Mon Sep 17 00:00:00 2001
From: johnb432 <58661205+johnb432@users.noreply.github.com>
Date: Mon, 15 Jan 2024 23:40:36 +0100
Subject: [PATCH] Arsenal - Add thermal vision support to scopes vision mode
stat (#9736)
---
.../functions/fnc_statTextStatement_scopeVisionMode.sqf | 4 +++-
addons/arsenal/stringtable.xml | 8 +++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/addons/arsenal/functions/fnc_statTextStatement_scopeVisionMode.sqf b/addons/arsenal/functions/fnc_statTextStatement_scopeVisionMode.sqf
index dca83cb3818..b4de06e7721 100644
--- a/addons/arsenal/functions/fnc_statTextStatement_scopeVisionMode.sqf
+++ b/addons/arsenal/functions/fnc_statTextStatement_scopeVisionMode.sqf
@@ -67,7 +67,9 @@ if (!_primaryNVGSupported && {(_opticsModes select {_x select 1}) isEqualTo _opt
_primaryNVGSupported = true;
};
-if (_primaryNVGIntegrated) exitWith {LLSTRING(statVisionMode_IntPrim)};
+if (_primaryTiIntegrated && _primaryNVGIntegrated) exitWith {LLSTRING(statVisionMode_intPrimTi)};
+if (_primaryTiIntegrated) exitWith {LLSTRING(statVisionMode_ti)};
+if (_primaryNVGIntegrated) exitWith {LLSTRING(statVisionMode_intPrim)};
if (_primaryNVGSupported) exitWith {LLSTRING(statVisionMode_supPrim)};
if (_secondaryNVGSupported) exitWith {LLSTRING(statVisionMode_supSec)};
diff --git a/addons/arsenal/stringtable.xml b/addons/arsenal/stringtable.xml
index 7f6947d9130..230795609f0 100644
--- a/addons/arsenal/stringtable.xml
+++ b/addons/arsenal/stringtable.xml
@@ -1223,7 +1223,7 @@
Vedlejší část hledí podporuje
보조무기 지원여부
-
+
Primary integrated
Primaria integrada
Primär Integriert
@@ -1238,6 +1238,12 @@
Integrováno do hlavní části hledí
주무기 내장여부
+
+ Thermal integrated
+
+
+ Thermal & Primary integrated
+
Not Supported
No soportada