From 3151c0df84a97405bb8bd724411320a4dd9cbc05 Mon Sep 17 00:00:00 2001 From: A Man Date: Mon, 26 Dec 2016 20:11:22 +0100 Subject: [PATCH] Update player_craftItem.sqf (#1830) Adding the ability to craft with all Dayz_Ignators when dayz_matchboxCount = true; For example crafting a Firebarrel --- SQF/dayz_code/actions/player_craftItem.sqf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/player_craftItem.sqf b/SQF/dayz_code/actions/player_craftItem.sqf index 63587bad1..8ef0aabd9 100644 --- a/SQF/dayz_code/actions/player_craftItem.sqf +++ b/SQF/dayz_code/actions/player_craftItem.sqf @@ -100,6 +100,9 @@ if (_canDo) then { if (_x == "ItemKnife") then { {if (_x in Dayz_Gutting) exitWith {_hastoolweapon = true};} forEach (items player); }; + if (_x == "ItemMatchbox") then { + {if (_x in Dayz_Ignators) exitWith {_hastoolweapon = true};} forEach (items player); + }; if (!_hastoolweapon) exitWith { _craft_doLoop = false; _missingTools = true; _missing = _x; }; } forEach _selectedRecipeTools; @@ -280,4 +283,4 @@ if (_canDo) then { } else { localize "str_epoch_player_64" call dayz_rollingMessages; }; -dayz_actionInProgress = false; \ No newline at end of file +dayz_actionInProgress = false;