
-- New Vines for Xen

local function vine_selectionbox()
	return {
		type = "fixed",
		fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3},
	}
end

minetest.register_node('vines:luminoustreevine', {
	drawtype = "plantlike",
	inventory_image = "dvd_luminousvine.png",
	weild_image = "dvd_luminousvine.png",
	description = 'Twilight Tendrils',
	tiles = {'dvd_luminousvine.png'},
	paramtype = "light",
	light_source = 6,
	groups = utility.dig_groups("plant", {
		hanging_node = 1, flammable = 3,
	}),
	is_ground_content = false,
	walkable = false,
	climbable = true,
	drop = "",
	shears_drop = true,
	movement_speed_multiplier = default.SLOW_SPEED_PLANTS,
	sounds = default.node_sound_leaves_defaults(),
	selection_box = vine_selectionbox(),
})

minetest.register_node('vines:luminoustreevineend', {
	drawtype = "plantlike",
	inventory_image = "dvd_luminousvineend.png",
	weild_image = "dvd_luminousvineend.png",
	description = 'Twilight Bulb',
	tiles = {'dvd_luminousvineend.png'},
	paramtype = "light",
	light_source = 6,
	groups = utility.dig_groups("plant", {
		hanging_node = 1, flammable = 3,
	}),
	is_ground_content = false,
	walkable = false,
	climbable = true,
	drop = "",
	shears_drop = true,
	movement_speed_multiplier = default.SLOW_SPEED_PLANTS,
	sounds = default.node_sound_leaves_defaults(),
	selection_box = vine_selectionbox(),
})
