mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Merge pull request #917 from dayz10k/master
#894 tweaks after (remove hedgehog from allowed on roads)
This commit is contained in:
@@ -1475,7 +1475,6 @@ class CfgVehicles {
|
|||||||
vehicleClass = "Fortifications";
|
vehicleClass = "Fortifications";
|
||||||
constructioncount = 1;
|
constructioncount = 1;
|
||||||
removeoutput[] = {{"ItemTankTrap",1}};
|
removeoutput[] = {{"ItemTankTrap",1}};
|
||||||
requireplot = 0;
|
|
||||||
nounderground = 0;
|
nounderground = 0;
|
||||||
};
|
};
|
||||||
// WorkBench_DZ
|
// WorkBench_DZ
|
||||||
|
|||||||
@@ -372,9 +372,9 @@ if (_hasrequireditem) then {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
// No building on roads for most items
|
//No building on roads unless toggled
|
||||||
if (!DZE_BuildOnRoads) then {
|
if (!DZE_BuildOnRoads) then {
|
||||||
if ((isOnRoad _position) and (_classname!="Hedgehog_DZ")) then { _cancel = true; _reason = "Cannot build on a road."; };
|
if (isOnRoad _position) then { _cancel = true; _reason = "Cannot build on a road."; };
|
||||||
};
|
};
|
||||||
|
|
||||||
// No building in trader zones
|
// No building in trader zones
|
||||||
|
|||||||
Reference in New Issue
Block a user