mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
1.0.1.5 RC5
+ [CHANGED] Default construction count lowered from 5 to 3. + [FIXED] fixed tag friendly system and epoch aura. + [CHANGED] some recipes input and construction counts reduced.
This commit is contained in:
@@ -23,7 +23,7 @@ _isDestructable = _obj isKindOf "BuiltItems";
|
||||
_isWreck = _objType in DZE_isWreck;
|
||||
_isRemovable = _objType in DZE_isRemovable;
|
||||
|
||||
_limit = 5;
|
||||
_limit = 3;
|
||||
if(isNumber (configFile >> "CfgVehicles" >> _objType >> "constructioncount")) then {
|
||||
_limit = getNumber(configFile >> "CfgVehicles" >> _objType >> "constructioncount");
|
||||
};
|
||||
@@ -133,7 +133,7 @@ if(_brokenTool) then {
|
||||
} else {
|
||||
_removeTool = ["ItemCrowbar","ItemToolbox"] call BIS_fnc_selectRandom;
|
||||
};
|
||||
if([player,_removeTool,1] call BIS_fnc_invRemove) then {
|
||||
if(([player,_removeTool,1] call BIS_fnc_invRemove) > 0) then {
|
||||
cutText [format["Tool (%1) broke cannot remove %2.",_removeTool,_objType], "PLAIN DOWN"];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user