From 44b0756428f8451391d05f244f1df637c6a65ebc Mon Sep 17 00:00:00 2001 From: someone <98275381+someone005@users.noreply.github.com> Date: Sat, 24 Feb 2024 16:19:16 +0100 Subject: [PATCH] Custom Stash Label --- server/main.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/main.lua b/server/main.lua index 3050efe54..67b0e61ec 100644 --- a/server/main.lua +++ b/server/main.lua @@ -1089,12 +1089,14 @@ local function OpenInventory(name, id, other, origin) end local maxweight = 1000000 local slots = 50 + local label = 'Stash-' .. id if other then maxweight = other.maxweight or 1000000 slots = other.slots or 50 + label = other.label or label end secondInv.name = 'stash-' .. id - secondInv.label = 'Stash-' .. id + secondInv.label = label secondInv.maxweight = maxweight secondInv.inventory = {} secondInv.slots = slots