mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Initialize CurrencyName in configVariables.sqf
https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-242927452
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
// Moved to dayz_code/configVariables.sqf
|
||||
/*
|
||||
Z_AT_FolderLocation = '\z\addons\dayz_code\actions\AdvancedTrading';
|
||||
Z_VehicleDistance = 30; // Distance that a vehicle needs to be to see it's content or to sell it.
|
||||
Z_SingleCurrency = false; // Does your server use a single currency system.
|
||||
Z_AllowTakingMoneyFromBackpack = true; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your backpack.
|
||||
Z_AllowTakingMoneyFromVehicle = true; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your vehicle.
|
||||
Z_MoneyVariable = "cashMoney"; // If using a Single currency system, change this to whatever currency you are using.
|
||||
*/
|
||||
@@ -44,13 +44,6 @@ if (isNil "Z_AdvancedTradingInit") then {
|
||||
Z_BuyableArray = [];
|
||||
Z_BuyingArray = [];
|
||||
|
||||
if (isNil 'CurrencyName' && Z_SingleCurrency) then {
|
||||
CurrencyName = 'Coins'; // fallback
|
||||
};
|
||||
if (!Z_SingleCurrency) then {
|
||||
CurrencyName = '';
|
||||
};
|
||||
|
||||
/* end script config */
|
||||
|
||||
ZUPA_fnc_removeWeaponsAndMagazinesCargo = compile preprocessFileLineNumbers (Z_AT_FolderLocation + "\functions\zupa_fnc_removeWeaponsAndMagazinesCargo.sqf");
|
||||
|
||||
@@ -57,8 +57,9 @@ Z_VehicleDistance = 40; // Distance that a vehicle needs to be to see it's conte
|
||||
Z_AllowTakingMoneyFromBackpack = true; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your backpack.
|
||||
Z_AllowTakingMoneyFromVehicle = true; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your vehicle.
|
||||
Z_SingleCurrency = false; // Does your server use a single currency system?
|
||||
Z_MoneyVariable = "cashMoney"; // If using a Single currency system (Z_SingleCurrency = true;), change this to whatever currency you are using.
|
||||
DZE_MoneyStorageClasses = []; // If using a Single currency system (Z_SingleCurrency = true;), this is an array of object classes players can store coins in
|
||||
CurrencyName = "Coins"; // If using single currency this is the currency display name.
|
||||
Z_MoneyVariable = "cashMoney"; // If using single currency this is the variable name used to store player wealth.
|
||||
DZE_MoneyStorageClasses = []; // If using single currency this is an array of object classes players can store coins in.
|
||||
|
||||
// Plot Management and Plot for Life
|
||||
DZE_permanentPlot = true; // Plot ownership saves after death. Enables Plot for Life by @RimBlock and Plot Management by @DevZupa.
|
||||
|
||||
Reference in New Issue
Block a user