mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
1.0.1.5 RC2
+ [CHANGED] Removing any base building items or wrecks will now require toolbox and a crowbar. + [CHANGED] Base building items now have a 10% chance * (de-constuction count) to break tools. + [ADDED] New base building item Metal Panel http://dayzepoch.com/wiki/index.php/Metal_panel_kit + [CHANGED] Helicrashes now use epoch events scheduler with a 50% chance every 30 minutes. + [CHANGED] All crafting that creates a supply crate now requires an empty supply crate. http://dayzepoch.com/wiki/index.php/Bulk_empty
This commit is contained in:
@@ -128,10 +128,10 @@ while {_isOk} do {
|
||||
};
|
||||
|
||||
if(_brokenTool){
|
||||
if(_isRemovable) then {
|
||||
_removeTool = ["ItemCrowbar","ItemToolbox"] call BIS_fnc_selectRandom;
|
||||
} else {
|
||||
if(_isWreck) then {
|
||||
_removeTool = "ItemToolbox";
|
||||
} else {
|
||||
_removeTool = ["ItemCrowbar","ItemToolbox"] call BIS_fnc_selectRandom;
|
||||
};
|
||||
if([player,_removeTool,1] call BIS_fnc_invRemove) then {
|
||||
cutText [format["Tool (%1) broke cannot remove %2.",_removeTool,_objType], "PLAIN DOWN"];
|
||||
|
||||
Reference in New Issue
Block a user