+ added "each" to the sell menu for mags.
+ fixed sell message to display actual in out counts traded in bulk.
+made pack vault text red.
+ reduced zombie alert when attempting to crack vault.
+ potential fix for vehicle damage spam at server start.
This commit is contained in:
vbawol
2013-02-03 12:42:17 -06:00
parent ad3ad6e642
commit 1b68d0399d
6 changed files with 16 additions and 16 deletions

View File

@@ -90,7 +90,7 @@ diag_log format["DEBUG Buy: %1", dayzTraderMenuResult];
_in = 1;
// trade_items.sqf | [part_out, part_in, qty_out, qty_in,_textPart,_textCurrency];
_Display = format["Sell %1 for %2 %3", _textPart, _sqty, _textCurrency];
_Display = format["Sell %1 for %2 %3 each", _textPart, _sqty, _textCurrency];
_part = player addAction [_Display, _File,[_sname,_name,_out,_in,"sell",_textPart,_textCurrency,_header], _order, true, true, "",""];
diag_log format["DEBUG TRADER: %1", _part];

View File

@@ -132,7 +132,7 @@ if (_bulkqty >= 1) then {
};
// [player,"repair",0,false] call dayz_zombieSpeak;
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
cutText [format[("Traded %1 %2 for %3 %4"),(_qty_in*_qty),_textPartIn,(_qty_out*_qty),_textPartOut], "PLAIN DOWN"];
} else {
cutText [format[("Insufficient Stock %1"),_textPartOut] , "PLAIN DOWN"];
};