Skip to content

Commit

Permalink
Message player if inbox is full
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed Jan 6, 2025
1 parent f7d5164 commit b95cde3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions homedecor_inbox/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ homedecor.register("inbox", {
if inv:room_for_item("main", stack) then
return -1
else
core.chat_send_player(player:get_player_name(), S("The mailbox is full."))
return 0
end
end
Expand Down
1 change: 1 addition & 0 deletions homedecor_inbox/locale/template.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# textdomain: homedecor_inbox
Mailbox=
@1's Mailbox=
The mailbox is full.=

0 comments on commit b95cde3

Please sign in to comment.