From f2eda0fef63ccb1aad541a5295a55db41ebad947 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Fri, 4 Jul 2025 15:17:56 +0100 Subject: [PATCH] Add indicator of ingredient items check location --- shared/crafting.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/shared/crafting.lua b/shared/crafting.lua index 7836363..0db5dfa 100644 --- a/shared/crafting.lua +++ b/shared/crafting.lua @@ -89,6 +89,14 @@ function craftingMenu(data) -- Check if the player can carry the required items (server callback). local canCarryTable = triggerCallback(getScript()..':server:canCarry', tempCarryTable) + local usingStash = data.stashName ~= nil + + Menu[#Menu+1] = { + icon = usingStash and "fas fa-boxes-stacked" or "fas fa-person", + header = "Material Source: "..(usingStash and "Job Stash" or "Player Inventory"), + disabled = true, + } + -- Process each recipe to create menu entries. for i = 1, #Recipes do if not Recipes[i]["amount"] then Recipes[i]["amount"] = 1 end