From ec3369763ffaf70be91d0cbfcbf7a6b6106ce720 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 30 Jun 2023 08:47:41 +0200 Subject: [PATCH] Use multiplication sign in mailbox donor list --- src/mailbox.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mailbox.lua b/src/mailbox.lua index fbb9e41..2f30c41 100644 --- a/src/mailbox.lua +++ b/src/mailbox.lua @@ -55,8 +55,11 @@ function mailbox:formspec(pos, owner, is_owner) local stack_name = stack:match("[%w_:]+") local stack_count = stack:match("%s(%d+)") or 1 + -- List of donors. A line looks like this: + -- × giver = giver .. "#FFFF00," .. giver_name .. "," .. i .. - ",#FFFFFF,x " .. stack_count .. "," + -- Times a certain item count; used for the mailbox donor list + ",#FFFFFF," .. FS("× @1", stack_count) .. "," img = img .. i .. "=" .. img_col(stack_name) .. "^\\[resize:16x16,"