More + optimization

This commit is contained in:
Jim Shield committed 2025-08-14 20:08:09 +01:00
1 parent 0bcf1b7ed4
commit bfca698457
13 files changed
+997 -835

No files matched your search

+4 -2
View File
@@ -124,10 +124,12 @@ function craftingMenu(data)
itemTable[l] = b
end
while not canCarryTable do Wait(0) end
while not canCarryTable do
Wait(10)
end
disable = not checkStashItem(data.stashName, itemTable)
setheader = ((metadata and metadata.label) or (Items[tostring(k)] and Items[tostring(k)].label) or "error - "..tostring(k))
..(Recipes[i]["amount"] > 1 and " x"..Recipes[i]["amount"] or "")
..(Recipes[i]["amount"] > 1 and " x"..Recipes[i]["amount"] or "")
local statusEmoji = disable and " " or not canCarryTable[k] and " 📦" or " ✔️"
local isNew = (Recipes[i]["hasCrafted"] ~= nil and craftedItems[k] == nil) and "✨ " or ""