diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp
index 1cede12a8..53e442c45 100644
--- a/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp
+++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp
@@ -43,6 +43,7 @@ AttachmentsEU[] =
{Loot_MAGAZINE, 1, Attachment_CCO},
{Loot_MAGAZINE, 1, Attachment_Holo},
{Loot_MAGAZINE, 1, Attachment_ACOG},
+ {Loot_MAGAZINE, 1, Attachment_ANPVS4},
{Loot_MAGAZINE, 1, Attachment_Sup556},
{Loot_MAGAZINE, 1, Attachment_Sup9},
{Loot_MAGAZINE, 1, Attachment_Sup10},
diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp
index 798470979..7305270ea 100644
--- a/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp
+++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp
@@ -119,7 +119,7 @@ weaponsEU[] =
{Loot_WEAPON, 4, SCAR_H_LNG_Sniper},
{Loot_WEAPON, 1, RSASS_DZ},
{Loot_WEAPON, 4, FNFAL_DZ},
- {Loot_WEAPON, 3, FN_FAL_ANPVS4_DZE}, //FNFAL_ANPVS4_DZ is NV only _DZE is toggleable
+ {Loot_WEAPON, 3, FN_FAL_ANPVS4_DZE}, //FNFAL_ANPVS4_DZ is NV only _DZE is toggleable with attachment support
{Loot_WEAPON, 1, BAF_AS50_scoped_DZ}, // High value weapon, low spawn chance.
// Submachine Guns
diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp
index 7a66aa5d0..48e066643 100644
--- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp
+++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp
@@ -13,6 +13,7 @@ class Category_12 {
class Attachment_Kobra {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class Attachment_SCOPED {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class Attachment_ACOG {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
+ class Attachment_ANPVS4 {type = "trade_items";buy[] = {1,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};};
class Attachment_Tws {type = "trade_items";buy[] = {-8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_PSO1 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_NSPU {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/FNFAL.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/FNFAL.hpp
index 921a42175..6f3dc414f 100644
--- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/FNFAL.hpp
+++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/FNFAL.hpp
@@ -15,6 +15,7 @@ class FNFAL_DZ : FN_FAL
{
Attachment_CCO = "FNFAL_CCO_DZ";
Attachment_Holo = "FNFAL_Holo_DZ";
+ Attachment_ANPVS4 = "FN_FAL_ANPVS4_DZE";
};
};
@@ -57,6 +58,16 @@ class FNFAL_ANPVS4_DZ : FN_FAL_ANPVS4
modes[] = {Single};
};
-class FN_FAL_ANPVS4_DZE:FN_FAL_ANPVS4 {
+class FN_FAL_ANPVS4_DZE: FN_FAL_ANPVS4 {
visionMode[] = {"Normal", "NVG"};
+ modes[] = {Single};
+
+ class ItemActions
+ {
+ class RemoveANPVS
+ {
+ text = $STR_DZ_ATT_ANPVS4_RMVE;
+ script = "; ['Attachment_ANPVS4',_id,'FNFAL_DZ'] call player_removeAttachment";
+ };
+ };
};
diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml
index 5f20d83af..8a55c2719 100644
--- a/SQF/dayz_code/stringtable.xml
+++ b/SQF/dayz_code/stringtable.xml
@@ -13610,9 +13610,13 @@
[E] ANPVS4 Visier
- An ANPVS4 scope.
+ ANPVS4 scope
Zielfernrohr vom Typ ANPVS4.
+
+ Remove ANPVS4 scope
+ ANPVS4 entfernen
+
[A] Small camo net. (desert)
[E] Kl. Tarnnetz (Wüstentarn)
@@ -13642,7 +13646,7 @@
Zielfernrohr vom Typ NSPU.
- Remove NSPU
+ Remove NSPU scope
NSPU entfernen
@@ -13670,8 +13674,8 @@
[E] .45cal Schalldämpfer
- A silencer that can be attached to .45 caliber pistols.
- Ein Schalldämpfer, der an Kaliber .45 Pistolen angebracht werden kann.
+ A silencer that can be attached to .45 caliber weapons.
+ Ein Schalldämpfer, der an Kaliber .45 Waffen angebracht werden kann.
[A] 7.62mm Suppressor