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:
ebayShopper
2017-04-12 13:42:33 -04:00
parent bf6a980d4c
commit 1065e722a6
3 changed files with 15 additions and 0 deletions

View File

@@ -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