mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Merge pull request #857 from Ignatz-HeMan/experimental
Block BarrelBombs from FavBar + Sort/Pricing adds
This commit is contained in:
commit
649bb5d942
@ -61,7 +61,7 @@ switch _action do {
|
||||
if (rmx_var_favBar_Item in rmx_var_favBar_current) exitWith {"Item already exists in favorites!" call epoch_message; false}; //if duplicate
|
||||
|
||||
_type = (rmx_var_favBar_Item call BIS_fnc_itemType) select 1;
|
||||
_isBanned = _type in ["BombLauncher", "Cannon", "GrenadeLauncher", "Launcher", "MissileLauncher", "RocketLauncher", "Magazine", "Mortar", "Shotgun","Rocket"];
|
||||
_isBanned = _type in ["BombLauncher", "Cannon", "GrenadeLauncher", "Launcher", "MissileLauncher", "RocketLauncher", "Magazine", "Mortar", "Shotgun","Rocket", "BarrelBomb2_EPOCH_Remote_Mag","BarrelBomb_EPOCH_Remote_Mag"];
|
||||
_isAmmo = _type == "Bullet" && !(rmx_var_favBar_Item in ["EnergyPack","EnergyPackLg"]);
|
||||
|
||||
//if (_type in ["AccessoryMuzzle","AccessoryPointer","AccessorySights","AccessoryBipod"]) exitWith {"Attachments are not supported at the moment!" call epoch_message; false};
|
||||
|
@ -710,7 +710,9 @@ class CfgItemSort
|
||||
"APERSMine_Range_Mag",
|
||||
"APERSBoundingMine_Range_Mag",
|
||||
"SLAMDirectionalMine_Wire_Mag",
|
||||
"APERSTripMine_Wire_Mag"
|
||||
"APERSTripMine_Wire_Mag",
|
||||
"BarrelBomb_EPOCH_Remote_Mag",
|
||||
"BarrelBomb2_EPOCH_Remote_Mag"
|
||||
};
|
||||
Hand[] = {
|
||||
"SmokeShell",
|
||||
@ -731,14 +733,14 @@ class CfgItemSort
|
||||
"FAK",
|
||||
"Towelette",
|
||||
"HeatPack",
|
||||
"ColdPack"
|
||||
"ColdPack",
|
||||
"ItemVitamins"
|
||||
};
|
||||
|
||||
Food[] = {
|
||||
"ItemPowderMilk",
|
||||
"ItemRicebox",
|
||||
"ItemCereals",
|
||||
"ItemVitamins",
|
||||
"Pumpkin",
|
||||
"FoodBioMeat",
|
||||
"FoodMeeps",
|
||||
@ -772,7 +774,7 @@ class CfgItemSort
|
||||
"ItemSodaMocha",
|
||||
"ItemSodaBurst",
|
||||
"ItemSodaRbull",
|
||||
"ItemSodaAlpinedude"
|
||||
"ItemSodaAlpineDude"
|
||||
};
|
||||
Basebuilding[] = {
|
||||
"CircuitParts",
|
||||
@ -857,6 +859,12 @@ class CfgItemSort
|
||||
"ItemVehDoc4",
|
||||
|
||||
// KryptoItems
|
||||
"ItemTinBar10oz",
|
||||
"ItemAluminumBar10oz",
|
||||
"ItemCopperBar10oz",
|
||||
"ItemSilverBar10oz",
|
||||
"ItemBriefcaseSilver100oz",
|
||||
|
||||
"PartOreGold",
|
||||
"PartOreSilver",
|
||||
"PartOre",
|
||||
|
@ -3078,6 +3078,14 @@ class CfgPricing
|
||||
{
|
||||
price = 30;
|
||||
};
|
||||
class BarrelBomb_EPOCH_Remote_Mag
|
||||
{
|
||||
price = 80;
|
||||
};
|
||||
class BarrelBomb2_EPOCH_Remote_Mag
|
||||
{
|
||||
price = 80;
|
||||
};
|
||||
class B_AssaultPack_cbr
|
||||
{
|
||||
price = 10;
|
||||
|
Loading…
Reference in New Issue
Block a user