mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add changeable DZE_debrisRefundParts array to configVariables
This commit is contained in:
@@ -271,7 +271,7 @@ if (_proceed && _success) then {
|
||||
if (_isWreck) exitWith {
|
||||
|
||||
// Find one random part to refund
|
||||
local _refundpart = ["PartEngine","PartGeneric","PartFueltank","PartWheel","PartGlass","ItemJerrycan"] call BIS_fnc_selectRandom;
|
||||
local _refundpart = DZE_debrisRefundParts call BIS_fnc_selectRandom;
|
||||
|
||||
_selectedRemoveOutput = [[_refundpart, 1]];
|
||||
};
|
||||
|
||||
@@ -149,6 +149,7 @@ if (!isDedicated) then {
|
||||
dayz_temperature_override = true; // Set to true to disable all temperature changes.
|
||||
dayz_nutritionValuesSystem = false; //true, Enables nutrition system, false, disables nutrition system.
|
||||
DZE_DisableVehicleUpgrade = []; // List of vehicles that cannot be upgraded with manuals E.g.: ["ArmoredSUV_PMC_DZE","LandRover_CZ_EP1_DZE"]
|
||||
DZE_debrisRefundParts = ["PartEngine","PartGeneric","PartFueltank","PartWheel","PartGlass","ItemJerrycan"]; // Dynamic debris wrecks refund
|
||||
|
||||
// Build restrictions
|
||||
DZE_NoBuildNear = []; //Array of object class names that are blacklisted to build near. i.e ["Land_Mil_ControlTower","Land_SS_hangar"] etc.
|
||||
|
||||
Reference in New Issue
Block a user