class Attachment_ACOG : CA_Magazine { scope = public; count = 1; type = WeaponSlotItem; model = "\z\addons\dayz_communityweapons\attachments\acog\acog.p3d"; picture = "\z\addons\dayz_communityweapons\attachments\acog\data\m_acog_ca.paa"; displayName = $STR_DZ_ATT_ACOG_NAME; descriptionShort = $STR_DZ_ATT_ACOG_DESC; class ItemActions { class AttachToPrimary { text = $STR_DZ_ATT_ACT_TO_PRIMARY; script = "; [_id,1] call player_attachAttachment"; }; }; };