mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-14 12:12:56 +03:00
Allow removal of RIS from SA58_RIS_DZ
Note RIS can not be removed from higher variants due to other attachments depending on the RIS being attached first. Closes #1940
This commit is contained in:
@@ -53,6 +53,15 @@ class SA58_RIS_DZ : SA58_DZ
|
||||
Attachment_FL = "SA58_RIS_FL_DZ";
|
||||
Attachment_MFL = "SA58_RIS_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveRIS
|
||||
{
|
||||
text = $STR_DZ_ATT_RIS_RMVE;
|
||||
script = "; ['Attachment_SA58RIS',_id,'SA58_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_RIS_FL_DZ : SA58_RIS_DZ
|
||||
|
||||
@@ -11213,6 +11213,11 @@
|
||||
<Russian>Комплект рельсовой системы интеграции разработанной для SA-58</Russian>
|
||||
<German>Ein Rail Integration System Kit designt für das SA-58 Sturmgewehr.</German>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_ATT_RIS_RMVE">
|
||||
<English>Remove RIS</English>
|
||||
<Russian>Снять RIS</Russian>
|
||||
<German>Entferne RIS</German>
|
||||
</Key>
|
||||
</Package>
|
||||
<Package name="dayz_epoch">
|
||||
<Key ID="STR_EPOCH_REMOVE">
|
||||
|
||||
Reference in New Issue
Block a user