summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 74bef82b5..eb4dfae4e 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -844,6 +844,14 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, const int amount,
// TRANSLATORS: pickup error message
msg = N_("Item belongs to someone else.");
break;
+ case Pickup::MAX_AMOUNT:
+ // TRANSLATORS: pickup error message
+ msg = N_("You cant pickup this amount of items.");
+ break;
+ case Pickup::STACK_AMOUNT:
+ // TRANSLATORS: pickup error message
+ msg = N_("Your item stack has max amount.");
+ break;
default:
// TRANSLATORS: pickup error message
msg = N_("Unknown problem picking up item.");