diff --git a/SQF/dayz_code/actions/remove.sqf b/SQF/dayz_code/actions/remove.sqf index cf5122fee..d232d3276 100644 --- a/SQF/dayz_code/actions/remove.sqf +++ b/SQF/dayz_code/actions/remove.sqf @@ -194,7 +194,7 @@ while {_isOk} do { if (dayz_toolBreaking) then { if ((_isDestructable || _isRemovable) && !_isOwnerOfObj) then { - if ([0.04] call fn_chance) then { // 4% chance to break a required tool each pass + if ([DZE_toolBreakChance] call fn_chance) then { _brokenTool = true; }; }; diff --git a/SQF/dayz_code/configVariables.sqf b/SQF/dayz_code/configVariables.sqf index e50f9a605..3c574eae7 100644 --- a/SQF/dayz_code/configVariables.sqf +++ b/SQF/dayz_code/configVariables.sqf @@ -403,6 +403,7 @@ if (!isDedicated) then { dayz_knifeDulling = false; // Enable knife dulling. Knives need to be sharpened after so many uses. dayz_matchboxCount = false; // Enable match stick count. After five uses matches run out and must be replaced. dayz_waterBottleBreaking = false; // Water bottles have a chance to break when boiling and require duct tape to fix + DZE_toolBreakChance = 0.04; // Tool break chance when removing a building, valid values from 0.01 - 1, 0.04 = 4% Chance // Bury and Butcher Bodies if (DZE_Bury_Body) then {