mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-26 01:31:51 +03:00
Use number instead of string for weapon slot type in configs
This is consistent with the rest of the weapon configs. It also avoids issues with using isNumber or getNumber to check slot type in scripts.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class M60A4_EP1;
|
||||
class M60A4_EP1_DZE : M60A4_EP1 {
|
||||
type = "1";
|
||||
type = WeaponSlotPrimary;
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
class BAF_AS50_scoped;
|
||||
class BAF_AS50_scoped_DZ : BAF_AS50_scoped {
|
||||
displayname = "AS50_DZ";
|
||||
type = "1";
|
||||
type = WeaponSlotPrimary;
|
||||
canlock = 0;
|
||||
//cursor = "RifleCursor";
|
||||
//cursoraim = "Foresight";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Anzio_20;
|
||||
class Anzio_20_DZ : Anzio_20 {
|
||||
type = 1;
|
||||
type = WeaponSlotPrimary;
|
||||
};
|
||||
@@ -1,4 +1,4 @@
|
||||
class ksvk;
|
||||
class KSVK_DZE:ksvk {
|
||||
type = "1";
|
||||
type = WeaponSlotPrimary;
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
class m107: Rifle
|
||||
{
|
||||
scope = public;
|
||||
type = 1;
|
||||
type = WeaponSlotPrimary;
|
||||
canlock = 0;
|
||||
picture = "\CA\weapons\data\Equip\W_m107_CA.paa";
|
||||
UiPicture = "\CA\weapons\data\Ico\i_sniper_CA.paa";
|
||||
|
||||
Reference in New Issue
Block a user