mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Update player_craftItem.sqf (#1830)
Adding the ability to craft with all Dayz_Ignators when dayz_matchboxCount = true; For example crafting a Firebarrel
This commit is contained in:
@@ -100,6 +100,9 @@ if (_canDo) then {
|
|||||||
if (_x == "ItemKnife") then {
|
if (_x == "ItemKnife") then {
|
||||||
{if (_x in Dayz_Gutting) exitWith {_hastoolweapon = true};} forEach (items player);
|
{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; };
|
if (!_hastoolweapon) exitWith { _craft_doLoop = false; _missingTools = true; _missing = _x; };
|
||||||
} forEach _selectedRecipeTools;
|
} forEach _selectedRecipeTools;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user