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:
vbawol
2013-07-07 09:24:58 -05:00
parent 3a15a66200
commit 293e7b9990
5 changed files with 69 additions and 10 deletions

View File

@@ -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"];