Add changeable DZE_debrisRefundParts array to configVariables

This commit is contained in:
A Man
2022-03-24 13:15:31 +01:00
parent f179d037dc
commit 6189bed044
2 changed files with 2 additions and 1 deletions

View File

@@ -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]];
};

View File

@@ -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.