mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +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?)
43 lines
849 B
C++
43 lines
849 B
C++
class 7Rnd_45ACP_1911: CA_Magazine
|
|
{
|
|
model = "\dayz_equip\models\ammo_1911.p3d";
|
|
//picture = "\dayz_equip\textures\equip_1911_ca.paa";
|
|
displayName = $STR_DZ_MAG_7RND_45ACP_1911_NAME;
|
|
|
|
cartridgeName = "45ACP";
|
|
|
|
class ItemActions
|
|
{
|
|
COMBINE_MAG
|
|
|
|
class ReloadMag
|
|
{
|
|
text = $STR_MAG_CONV_45ACP_Revolver;
|
|
script = "spawn player_reloadMag;";
|
|
use[] = {"7Rnd_45ACP_1911"};
|
|
output[] = {"6Rnd_45ACP"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class 6Rnd_45ACP: CA_Magazine
|
|
{
|
|
model = "\dayz_equip\models\ammo_acp45.p3d";
|
|
//picture = "\dayz_equip\textures\equip_45acp_ca.paa";
|
|
displayName = $STR_DZ_MAG_6RND_45ACP_NAME;
|
|
|
|
cartridgeName = "45ACP";
|
|
|
|
class ItemActions
|
|
{
|
|
COMBINE_MAG
|
|
|
|
class ReloadMag
|
|
{
|
|
text = $STR_MAG_CONV_45ACP_M1911;
|
|
script = "spawn player_reloadMag;";
|
|
use[] = {"6Rnd_45ACP"};
|
|
output[] = {"7Rnd_45ACP_1911"};
|
|
};
|
|
};
|
|
}; |