-- First tile = inner node Second tile = outer node
minetest.register_node("binb:water_core", {
	description ="Irrigation core.\nActs as a water block for farming plots.",
	drawtype = "mesh",
	mesh = "block_in_block.obj",
	tiles =
	{
		{
			name = "default_river_water_flowing_animated.png",
			animation = { type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 1, }
		},
		"darkage_glass.png",
	},
	-- inventory_image = "default_river_water_flowing_animated.png^darkage_glass.png",
	paramtype = "light",
	sunlight_propagates = true,
	use_texture_alpha = "clip",
	is_ground_content = false,
	light_source = 1,
	groups = {cracky = 3, protected=1, furniture=1, water=1},
	sounds = default.node_sound_glass_defaults(),
	selection_box = {
		type = "fixed",
		fixed = {
			{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
		}
	}
})

minetest.register_craft {
	type="shapeless",
	output="binb:water_core",
	recipe={"mf_decor:glass", "more_mese:mese_crystal_cyan", "default:river_water_source", "default:skeleton_key"}
}
