mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
@@ -24,12 +24,11 @@ Z_ChangeOverflow = false;
|
||||
if (_combine) then {
|
||||
_trade_total = 0;
|
||||
_total_currency = 0;
|
||||
_inventoryMoney = [];
|
||||
_combineOk = 1;
|
||||
{
|
||||
_part = (configFile >> "CfgMagazines" >> _x);
|
||||
_worth = (_part >> "worth");
|
||||
if isNumber (_worth) then {
|
||||
_part = configFile >> "CfgMagazines" >> _x;
|
||||
_worth = (_part >> "worth");
|
||||
if (isNumber _worth) then {
|
||||
_combineOk = [player,_part,1] call BIS_fnc_invRemove;
|
||||
_total_currency = _total_currency + getNumber(_worth);
|
||||
} else {
|
||||
|
||||
@@ -36,14 +36,13 @@ if (_canAfford) then {
|
||||
// total currency
|
||||
_total_currency = 0;
|
||||
{
|
||||
_part = (configFile >> "CfgMagazines" >> _x);
|
||||
_worth = (_part >> "worth");
|
||||
if isNumber (_worth) then {
|
||||
_part = configFile >> "CfgMagazines" >> _x;
|
||||
_worth = (_part >> "worth");
|
||||
if (isNumber _worth) then {
|
||||
if (([player,_part,1] call BIS_fnc_invRemove) == 1) then {
|
||||
_total_currency = _total_currency + getNumber(_worth);
|
||||
};
|
||||
};
|
||||
|
||||
} count (magazines player);
|
||||
|
||||
//diag_log format["DEBUG TRADER INPUT CURRENCY TOTAL: %1", _total_currency];
|
||||
|
||||
@@ -2737,7 +2737,6 @@
|
||||
<Spanish>M9 Silenciada</Spanish>
|
||||
<French>M9 Silencieux</French>
|
||||
<Czech>M9 s tlumičem</Czech>
|
||||
<German>M9 SD</German>
|
||||
</Key>
|
||||
<Key ID="STR_CRAFT_DESC_M9SD">
|
||||
<English>Blueprint to create a M9SD. Required - 1 M9, 1 Attachment_Silencer. - ToolBox</English>
|
||||
|
||||
Reference in New Issue
Block a user