Skip to content

Commit

Permalink
Add new weapons from mp2023_02
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCoding25 committed Dec 12, 2023
1 parent 0d7fc00 commit 225594b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SharedClasses/PermissionsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,12 @@ public enum Permission
WPCandyCane,
WPRailgunXM3,
WPAcidPackage,
// MP2023_01 DLC (V 2944)
WPTecPistol,
// MP2023_02 DLC (V 3095)
WPBattleRifle,
WPSnowLauncher,
WPHackingDevice,
#endregion

// Weapon Loadouts Menu
Expand Down
17 changes: 17 additions & 0 deletions vMenu/data/ValidWeapon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ private static void CreateWeaponsList()
{ "weapon_railgunxm3", GetLabelText("WTD_RAILGUNXM3") },
// MP2023_01 DLC (V 2944)
{ "weapon_tecpistol", GetLabelText("WTD_TECPISTOL") },
// MP2023_02 DLC (V 3095)
{ "weapon_battlerifle", GetLabelText("WTD_BATTLERIFLE") },
{ "weapon_snowlauncher", GetLabelText("WTD_SNOWLNCHR") },
};

public static readonly Dictionary<string, string> weaponNames = new()
Expand Down Expand Up @@ -376,6 +379,10 @@ private static void CreateWeaponsList()
{ "weapon_acidpackage", GetLabelText("WT_ACIDPACKAGE") },
// MP2023_01 DLC (V 2944)
{ "weapon_tecpistol", GetLabelText("WT_TECPISTOL") },
// MP2023_02 DLC (V 3095)
{ "weapon_battlerifle", GetLabelText("WT_BATTLERIFLE") },
{ "weapon_snowlauncher", GetLabelText("WT_SNOWLNCHR") },
{ "weapon_hackingdevice", GetLabelText("WT_HACKDEVICE") },
};
#endregion

Expand Down Expand Up @@ -495,6 +502,10 @@ private static void CreateWeaponsList()
["weapon_acidpackage"] = Permission.WPAcidPackage,
// MP2023_01 DLC (V 2944)
["weapon_tecpistol"] = Permission.WPTecPistol,
// MP2023_02 DLC (V 3095)
["weapon_battlerifle"] = Permission.WPBattleRifle,
["weapon_snowlauncher"] = Permission.WPSnowLauncher,
["weapon_hackingdevice"] = Permission.WPHackingDevice,
};
#endregion

Expand Down Expand Up @@ -912,6 +923,12 @@ private static void CreateWeaponsList()
["COMPONENT_MICROSMG_VARMOD_FRN"] = GetLabelText("WCT_MSMGFRN_VAR"),
["COMPONENT_CARBINERIFLE_VARMOD_MICH"] = GetLabelText("WCT_CRBNMIC_VAR"),
["COMPONENT_RPG_VARMOD_TVR"] = GetLabelText("WCT_RPGTVR_VAR"),
// MP2023_02 DLC (V 3095)
["COMPONENT_BATTLERIFLE_CLIP_01"] = GetLabelText("WCT_CLIP1"),
["COMPONENT_BATTLERIFLE_CLIP_02"] = GetLabelText("WCT_CLIP2"),
["COMPONENT_COMBATPISTOL_VARMOD_XMAS23"] = GetLabelText("WCT_COMPIST_XM"),
["COMPONENT_SPECIALCARBINE_VARMOD_XMAS23"] = GetLabelText("WCT_SPCR_XM"),
["COMPONENT_HEAVYSNIPER_VARMOD_XMAS23"] = GetLabelText("WCT_HVSP_XM"),
};
#endregion

Expand Down

0 comments on commit 225594b

Please sign in to comment.