mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
maintain lightpole pt3
This commit is contained in:
@@ -2950,7 +2950,7 @@ class CfgVehicles {
|
|||||||
offset[] = {0,2.5,0};
|
offset[] = {0,2.5,0};
|
||||||
displayName = "Light Pole";
|
displayName = "Light Pole";
|
||||||
vehicleClass = "Fortifications";
|
vehicleClass = "Fortifications";
|
||||||
maintainBuilding[] = {{"ItemPole",1}};
|
maintainBuilding[] = {{"ItemLightBulb",1}};
|
||||||
};
|
};
|
||||||
class WoodGate_DZ: BuiltItems
|
class WoodGate_DZ: BuiltItems
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -569,7 +569,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
|||||||
};
|
};
|
||||||
|
|
||||||
// inplace maintenance tool
|
// inplace maintenance tool
|
||||||
if((_cursorTarget isKindOf "ModularItems" or _cursorTarget isKindOf "DZE_Housebase") and (damage _cursorTarget >= 0.1)) then {
|
if((_cursorTarget isKindOf "ModularItems" or _cursorTarget isKindOf "DZE_Housebase" or _typeOfCursorTarget in DZE_ExtraMaintain) and (damage _cursorTarget >= 0.1)) then {
|
||||||
if ((s_player_lastTarget select 2) != _cursorTarget) then {
|
if ((s_player_lastTarget select 2) != _cursorTarget) then {
|
||||||
if (s_player_maint_build > 0) then {
|
if (s_player_maint_build > 0) then {
|
||||||
player removeAction s_player_maint_build;
|
player removeAction s_player_maint_build;
|
||||||
|
|||||||
@@ -483,6 +483,7 @@ dayz_allowedObjects = ["TentStorage","TentStorageDomed","TentStorageDomed2", "Va
|
|||||||
DZE_LockableStorage = ["VaultStorage","VaultStorageLocked","LockboxStorageLocked","LockboxStorage"];
|
DZE_LockableStorage = ["VaultStorage","VaultStorageLocked","LockboxStorageLocked","LockboxStorage"];
|
||||||
DZE_LockedStorage = ["VaultStorageLocked","LockboxStorageLocked"];
|
DZE_LockedStorage = ["VaultStorageLocked","LockboxStorageLocked"];
|
||||||
DZE_UnLockedStorage = ["VaultStorage","LockboxStorage"];
|
DZE_UnLockedStorage = ["VaultStorage","LockboxStorage"];
|
||||||
|
DZE_ExtraMaintain = ["LightPole_DZ"];
|
||||||
|
|
||||||
// List of removable items that require crowbar
|
// List of removable items that require crowbar
|
||||||
DZE_isRemovable = ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","Plastic_Pole_EP1_DZ"];
|
DZE_isRemovable = ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","Plastic_Pole_EP1_DZ"];
|
||||||
|
|||||||
Reference in New Issue
Block a user