From 259420dcf5a5b43b66f97f8176ff60172aca77fb Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Thu, 17 Sep 2020 17:27:45 +0000 Subject: [PATCH] enchanting.lua: Allow to pay with industrial mese (#132) --- src/enchanting.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/enchanting.lua b/src/enchanting.lua index 34f6077..2abb07b 100644 --- a/src/enchanting.lua +++ b/src/enchanting.lua @@ -142,7 +142,8 @@ end function enchanting.put(_, listname, _, stack) local stackname = stack:get_name() - if listname == "mese" and stackname == "default:mese_crystal" then + if listname == "mese" and (stackname == "default:mese_crystal" or + stackname == "imese:industrial_mese_crystal") then return stack:get_count() elseif listname == "tool" and allowed(stackname:match("[^:]+$")) then return 1