mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add new attachments
made by @seelenapparat and @DeVloek
This commit is contained in:
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/TWS.hpp
Normal file
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/TWS.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
class Attachment_Tws : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
model = "\z\addons\dayz_communityweapons\attachments\acog\acog.p3d";
|
||||
picture = "\dayz_epoch_c\icons\attachments\attachment_tws.paa";
|
||||
displayName = $STR_DZE_ATTACHMENT_TWS_NAME;
|
||||
descriptionShort = $STR_DZE_ATTACHMENT_TWS_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user