Skip to content
Snippets Groups Projects
Commit 52db2cc9 authored by y's avatar y Committed by Jean-Patrick Guerrero
Browse files

allow farming bowl to be used on the cauldron to get soup

parent f85c4091
No related branches found
No related tags found
No related merge requests found
......@@ -119,8 +119,9 @@ end
function cauldron.take_soup(pos, node, clicker, itemstack)
local inv = clicker:get_inventory()
local wield_item = clicker:get_wielded_item()
local item_name = wield_item:get_name()
if wield_item:get_name() == "xdecor:bowl" then
if item_name == "xdecor:bowl" or item_name == "farming:bowl" then
if wield_item:get_count() > 1 then
if inv:room_for_item("main", "xdecor:bowl_soup 1") then
itemstack:take_item()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment