mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Vanilla development commit:
af9e009bae
- renamed magazines for better sorting
- renamed attachments for better sorting ([A] prefix added) some fixes,
some strings moved to proper section
- Remington 870 added to new attachment system (weapon flashlight)
- Double-barrel shotgun will now spawns with pellets and has Doubleshot
option (maybe this will make it more popular?)
21 lines
487 B
C++
21 lines
487 B
C++
class Attachment_SupBizon : CA_Magazine
|
|
{
|
|
scope = public;
|
|
count = 1;
|
|
type = WeaponSlotItem;
|
|
|
|
model = "z\addons\dayz_communityassets\models\surpressor.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\attachment_silencer.paa";
|
|
|
|
displayName = $STR_DZ_ATT_SUP9BIZON_NAME;
|
|
descriptionShort = $STR_DZ_ATT_SUP9BIZON_DESC;
|
|
|
|
class ItemActions
|
|
{
|
|
class AttachToPrimary
|
|
{
|
|
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
|
script = "; [_id,1] call player_attachAttachment";
|
|
};
|
|
};
|
|
}; |