mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Merge pull request #811 from dayz10k/master
reset charID on downgrade doors, lower loot at hangars
This commit is contained in:
@@ -632,9 +632,9 @@ class CfgBuildingLoot {
|
|||||||
};
|
};
|
||||||
itemChance[] = {
|
itemChance[] = {
|
||||||
0.02,
|
0.02,
|
||||||
0.1,
|
0.05,
|
||||||
0.03,
|
0.03,
|
||||||
0.02,
|
0.01,
|
||||||
0.05,
|
0.05,
|
||||||
0.01,
|
0.01,
|
||||||
0.05,
|
0.05,
|
||||||
|
|||||||
@@ -132,6 +132,11 @@ if ((count _upgrade) > 0) then {
|
|||||||
// Set location
|
// Set location
|
||||||
_object setPosATL _location;
|
_object setPosATL _location;
|
||||||
|
|
||||||
|
// Reset the character ID (esp in the case of removing a lock)
|
||||||
|
if (_classname in DZE_DoorsLocked) then {
|
||||||
|
_object setVariable ["CharacterID",dayz_characterID,true];
|
||||||
|
};
|
||||||
|
|
||||||
cutText [format[(localize "str_epoch_player_142"),_text], "PLAIN DOWN", 5];
|
cutText [format[(localize "str_epoch_player_142"),_text], "PLAIN DOWN", 5];
|
||||||
|
|
||||||
PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,_objectID,_objectUID,(getPlayerUID player)];
|
PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,_objectID,_objectUID,(getPlayerUID player)];
|
||||||
|
|||||||
@@ -484,6 +484,7 @@ DZE_LockableStorage = ["VaultStorage","VaultStorageLocked","LockboxStorageLocked
|
|||||||
DZE_LockedStorage = ["VaultStorageLocked","LockboxStorageLocked"];
|
DZE_LockedStorage = ["VaultStorageLocked","LockboxStorageLocked"];
|
||||||
DZE_UnLockedStorage = ["VaultStorage","LockboxStorage"];
|
DZE_UnLockedStorage = ["VaultStorage","LockboxStorage"];
|
||||||
DZE_ExtraMaintain = ["LightPole_DZ"];
|
DZE_ExtraMaintain = ["LightPole_DZ"];
|
||||||
|
DZE_DoorsLocked = ["Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallDoorLocked_DZ","CinderWallDoorSmallLocked_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","FireBarrel_DZ"];
|
DZE_isRemovable = ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","Plastic_Pole_EP1_DZ","FireBarrel_DZ"];
|
||||||
|
|||||||
Reference in New Issue
Block a user