Skip to content

Commit

Permalink
Update vMenu mp2023_01 weapons
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCoding25 committed Jun 14, 2023
1 parent 87df533 commit cdfc2c3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions SharedClasses/PermissionsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ public enum Permission
WPCandyCane,
WPRailgunXM3,
WPAcidPackage,
WPTecPistol,
#endregion

// Weapon Loadouts Menu
Expand Down
12 changes: 12 additions & 0 deletions vMenu/data/ValidWeapon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ private static void CreateWeaponsList()
{ "weapon_pistolxm3", GetLabelText("WTD_PISTOLXM3") },
{ "weapon_candycane", GetLabelText("WTD_CANDYCANE") },
{ "weapon_railgunxm3", GetLabelText("WTD_RAILGUNXM3") },
// MP2023_01 DLC (V 2944)
{ "weapon_tecpistol", GetLabelText("WTD_TECPISTOL") },
};

public static readonly Dictionary<string, string> weaponNames = new Dictionary<string, string>()
Expand Down Expand Up @@ -345,6 +347,8 @@ private static void CreateWeaponsList()
{ "weapon_candycane", GetLabelText("WT_CANDYCANE") },
{ "weapon_railgunxm3", GetLabelText("WT_RAILGUNXM3") },
{ "weapon_acidpackage", GetLabelText("WT_ACIDPACKAGE") },
// MP2023_01 DLC (V 2944)
{ "weapon_tecpistol", GetLabelText("WT_TECPISTOL") },
};
#endregion

Expand Down Expand Up @@ -462,6 +466,8 @@ private static void CreateWeaponsList()
["weapon_candycane"] = Permission.WPCandyCane,
["weapon_railgunxm3"] = Permission.WPRailgunXM3,
["weapon_acidpackage"] = Permission.WPAcidPackage,
// MP2023_01 DLC (V 2944)
["weapon_tecpistol"] = Permission.WPTecPistol,
};
#endregion

Expand Down Expand Up @@ -873,6 +879,12 @@ private static void CreateWeaponsList()
["COMPONENT_KNIFE_VARMOD_XM3_07"] = GetLabelText("WCT_KNIFE_XM307"),
["COMPONENT_KNIFE_VARMOD_XM3_08"] = GetLabelText("WCT_KNIFE_XM308"),
["COMPONENT_KNIFE_VARMOD_XM3_09"] = GetLabelText("WCT_KNIFE_XM309"),
// MP2023_01 DLC (V 2944)
["COMPONENT_TECPISTOL_CLIP_01"] = GetLabelText("WCT_CLIP1"),
["COMPONENT_TECPISTOL_CLIP_02"] = GetLabelText("WCT_CLIP2"),
["COMPONENT_MICROSMG_VARMOD_FRN"] = GetLabelText("WCT_MSMGFRN_VAR"),
["COMPONENT_CARBINERIFLE_VARMOD_MICH"] = GetLabelText("WCT_CRBNMIC_VAR"),
["COMPONENT_RPG_VARMOD_TVR"] = GetLabelText("WCT_RPGTVR_VAR"),
};
#endregion

Expand Down
1 change: 1 addition & 0 deletions vMenuServer/config/permissions.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ add_ace builtin.everyone "vMenu.WeaponOptions.All" allow
# add_ace builtin.everyone "vMenu.WeaponOptions.CandyCane" allow # mpchristmas3 dlc (2802)
# add_ace builtin.everyone "vMenu.WeaponOptions.RailgunXM3" allow # mpchristmas3 dlc (2802)
# add_ace builtin.everyone "vMenu.WeaponOptions.AcidPackage" allow # mpchristmas3 dlc (2802)
# add_ace builtin.everyone "vMenu.WeaponOptions.TecPistol" allow # mp2023_01 dlc (2944)

####################################
# WEAPON LOADOUTS MENU #
Expand Down

0 comments on commit cdfc2c3

Please sign in to comment.