mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-17 17:56:40 +03:00
New config variable dayz_toolBreaking
Tool breaking is disabled by default. Also made all scripts use Epoch sledge, which is a different model from vanilla sledge. PK_DZ was a duplicate of the new PKM_DZ.
This commit is contained in:
@@ -88,7 +88,7 @@ if (!isNull _findNearestRock) then {
|
||||
|
||||
if(_finished) then {
|
||||
_breaking = false;
|
||||
if ([0.04] call fn_chance) then {
|
||||
if (dayz_toolBreaking && {[0.04] call fn_chance}) then {
|
||||
_breaking = true;
|
||||
if ("MeleePickaxe" in weapons player) then {
|
||||
player removeWeapon "MeleePickaxe";
|
||||
|
||||
Reference in New Issue
Block a user