sorcery  Diff

Differences From Artifact [8ffba5fe57]:

To Artifact [12fce408ba]:


   687    687   			-- meta:set_string('formspec',wandwork_form(false))
   688    688   		end;
   689    689   		on_timer = function(...)
   690    690   			if water then return wandwork_soak(...);
   691    691   			         else return false end
   692    692   		end;
   693    693   		on_rightclick = wandwork_rightclick;
          694  +		after_dig_node = sorcery.lib.node.purge_container;
   694    695   		allow_metadata_inventory_put = function(pos, list, index, stack, user)
   695    696   			local meta = minetest.get_meta(pos)
   696    697   			local wwi = meta:get_inventory()
   697    698   			if list == 'preview' then return 0
   698    699   			elseif list == 'wandparts' then
   699    700   				if (not wwi:is_empty('preview')) and
   700    701   					find_core(stack) then return 1