mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +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?)
33 lines
531 B
C++
33 lines
531 B
C++
class Makarov_DZ : Makarov
|
|
{
|
|
displayName = $STR_DZ_WPN_PM_NAME;
|
|
magazines[] =
|
|
{
|
|
8Rnd_9x18_Makarov,
|
|
8Rnd_9x18_MakarovSD
|
|
};
|
|
|
|
class Attachments
|
|
{
|
|
Attachment_SupMakarov = "Makarov_SD_DZ";
|
|
};
|
|
};
|
|
|
|
class Makarov_SD_DZ : MakarovSD
|
|
{
|
|
displayName = $STR_DZ_WPN_PM_SD_NAME;
|
|
magazines[] =
|
|
{
|
|
8Rnd_9x18_MakarovSD,
|
|
8Rnd_9x18_Makarov
|
|
};
|
|
|
|
class ItemActions
|
|
{
|
|
class RemoveSuppressor
|
|
{
|
|
text = $STR_DZ_ATT_SUP9PM_RMVE;
|
|
script = "; ['Attachment_SupMakarov',_id,'Makarov_DZ'] call player_removeAttachment";
|
|
};
|
|
};
|
|
}; |