Fix message when buying multiple backpacks into empty gear

This commit is contained in:
ebaydayz
2016-08-04 16:16:13 -04:00
parent c47adbbdb0
commit c52187220c
2 changed files with 8 additions and 1 deletions

View File

@@ -95,7 +95,11 @@ if (_selection == 2) then { //gear
if (_allowedBackpacks >= _toBuyBags) then { if (_allowedBackpacks >= _toBuyBags) then {
_check3 = true; _check3 = true;
} else { } else {
systemChat localize "STR_EPOCH_TRADE_HAVE_BACKPACK"; if (_allowedBackpacks == 0) then {
systemChat localize "STR_EPOCH_TRADE_HAVE_BACKPACK";
} else {
systemChat localize "STR_EPOCH_TRADE_ONE_BACKPACK";
};
}; };
if (_allowedBinocular > -1) then { if (_allowedBinocular > -1) then {
_check4 = true; _check4 = true;

View File

@@ -16158,6 +16158,9 @@
<Key ID="STR_EPOCH_TRADE_HAVE_BACKPACK"> <Key ID="STR_EPOCH_TRADE_HAVE_BACKPACK">
<English>You already have a backpack.</English> <English>You already have a backpack.</English>
</Key> </Key>
<Key ID="STR_EPOCH_TRADE_ONE_BACKPACK">
<English>You can only buy one backpack into your gear.</English>
</Key>
<Key ID="STR_EPOCH_TRADE_OFFER"> <Key ID="STR_EPOCH_TRADE_OFFER">
<English>I would offer %1 %2.</English> <English>I would offer %1 %2.</English>
<German>Ich biete %1 %2.</German> <German>Ich biete %1 %2.</German>