- on_place = function(itemstack, placer, pointed_thing)
- --do the sucking water out of farmland thing first
- if pointed_thing.under and minetest.get_node(pointed_thing.under).name == "farming:farmland_wet" then
- minetest.set_node(pointed_thing.under,{name="farming:farmland_dry"})
- itemstack:replace(ItemStack("main:bucket_water"))
- return(itemstack)
- end
-
-