diff --git a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_allowBuying.sqf b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_allowBuying.sqf index e4e3821c9..ec38dec15 100644 --- a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_allowBuying.sqf +++ b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_allowBuying.sqf @@ -50,7 +50,7 @@ if(_selection == 2) then{ //gear _allowedBackpacks = 1 - _currentBackpacks; - _allowedTools = 12; + _allowedTools = 14; // 12 toolbelt + 1 Binocular + 1 NVG { _parentClasses = [(configFile >> "CfgWeapons" >> _x ),true] call BIS_fnc_returnParents; diff --git a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_calculateFreeSpace.sqf b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_calculateFreeSpace.sqf index 9dbc95a6c..a1abb714f 100644 --- a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_calculateFreeSpace.sqf +++ b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_calculateFreeSpace.sqf @@ -7,7 +7,8 @@ _returnArray = [0,0,0]; if(_selection == 2) then{ //gear _actualMags = {!(_x in MeleeMagazines)} count (magazines player); _allowedMags = 20 - _actualMags; - _allowedWeapons = 14 - count(weapons player); + // 12 toolbelt + 1 Binoculars + 1 NVG + 1 Pistol + 1 Primary (onBack isn't counted in weapons player) + _allowedWeapons = 16 - count(weapons player); _pic = getText (configFile >> 'CfgVehicles' >> (typeOf player) >> 'picture');