From 3292d84b857f307571af9233dcfffe9d59a0b5e9 Mon Sep 17 00:00:00 2001 From: icomrade Date: Wed, 27 Jul 2016 11:02:06 -0400 Subject: [PATCH] Allow salvage any part < 100% damage thanks for pointing this out @LunaCB --- SQF/dayz_code/actions/salvage_vehicle.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/salvage_vehicle.sqf b/SQF/dayz_code/actions/salvage_vehicle.sqf index f2f07e4e7..c78d89853 100644 --- a/SQF/dayz_code/actions/salvage_vehicle.sqf +++ b/SQF/dayz_code/actions/salvage_vehicle.sqf @@ -57,7 +57,7 @@ if (_is6WheelType) then { //get every damaged part no matter how tiny damage is! _damagePercent = str(round(_damage * 100))+"% Damage"; - if (_damage < 0.10) then { + if (_damage < 1) then { if ((_damage >= 0) and (_damage <= 0.25)) then {_color = "color='#00ff00'";}; //green if ((_damage >= 0.26) and (_damage <= 0.50)) then {_color = "color='#ffff00'";}; //yellow if ((_damage >= 0.51) and (_damage <= 0.75)) then {_color = "color='#ff8800'";}; //orange