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 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;
|
||||
dayz_actionInProgress = false;
|
||||
|
||||
Reference in New Issue
Block a user