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