mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Fix disappearing weapons from backpack
The normal intention to have a bag with this small size is, that not a weapon can be carried. Having 5 slots or more in a backpack is normally the signal that at least a secondary weapon can be carried inside this backpack. If a weapon will be put inside a bag without any free weapon slot, the weapon just disappears. To have a better and more intuitive playstyle every backpack with more as 5 slots should be able to carry at least 1 weapon.
This commit is contained in:
@@ -62,7 +62,7 @@ class DZ_Czech_Vest_Pouch: Bag_Base_EP1
|
||||
picture = "\ca\weapons_e\data\icons\backpack_ACR_small_CA.paa";
|
||||
scope = 2;
|
||||
transportmaxmagazines = 12;
|
||||
transportmaxweapons = 0;
|
||||
transportmaxweapons = 1;
|
||||
class eventHandlers
|
||||
{
|
||||
init="[(_this select 0),'CfgVehicles','DZ_Czech_Vest_Pouch'] execVM '\z\addons\dayz_code\init\object_BackpackAction.sqf';";
|
||||
|
||||
Reference in New Issue
Block a user