sorcery  Diff

Differences From Artifact [505457a3b8]:

To Artifact [4be66a79c1]:


   140    140   		elseif list == 'bottle' then
   141    141   			local alc = sorcery.itemclass.get(stack, 'alcohol')
   142    142   			if not alc then return 0 end
   143    143   			if alc.kind == 'pure' then return stack:get_count() end
   144    144   		end
   145    145   		return 0
   146    146   	end;
          147  +
   147    148   	on_metadata_inventory_put = function(pos, list, idx, stack, who)
   148    149   		local m = minetest.get_meta(pos)
   149    150   		local timer = minetest.get_node_timer(pos)
   150    151   		local inv = m:get_inventory()
   151    152   		if inv:is_empty 'herb' then return end
   152    153   		local herb = inv:get_stack('herb',1)
   153    154