sorcery  Diff

Differences From Artifact [505457a3b8]:

To Artifact [4be66a79c1]:


140
141
142
143
144
145
146

147
148
149
150
151
152
153
		elseif list == 'bottle' then
			local alc = sorcery.itemclass.get(stack, 'alcohol')
			if not alc then return 0 end
			if alc.kind == 'pure' then return stack:get_count() end
		end
		return 0
	end;

	on_metadata_inventory_put = function(pos, list, idx, stack, who)
		local m = minetest.get_meta(pos)
		local timer = minetest.get_node_timer(pos)
		local inv = m:get_inventory()
		if inv:is_empty 'herb' then return end
		local herb = inv:get_stack('herb',1)








>







140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
		elseif list == 'bottle' then
			local alc = sorcery.itemclass.get(stack, 'alcohol')
			if not alc then return 0 end
			if alc.kind == 'pure' then return stack:get_count() end
		end
		return 0
	end;

	on_metadata_inventory_put = function(pos, list, idx, stack, who)
		local m = minetest.get_meta(pos)
		local timer = minetest.get_node_timer(pos)
		local inv = m:get_inventory()
		if inv:is_empty 'herb' then return end
		local herb = inv:get_stack('herb',1)