minetest.register_node('plants:pumpkin', {
   description = 'Pumpkin',
   tiles = {'plants_pumpkin_top.png', 'plants_pumpkin_top.png', 'plants_pumpkin_side.png'},
   groups = {breakable=1},
   paramtype2 = 'facedir',
   on_place = minetest.rotate_and_place,
})

minetest.register_node('plants:jackolantern_off', {
   description = 'Jack-O-Lantern (off)',
   tiles = {'plants_pumpkin_top.png', 'plants_pumpkin_top.png', 'plants_pumpkin_side.png', 'plants_pumpkin_side.png', 'plants_pumpkin_side.png', 'plants_pumpkin_face_off.png'},
   groups = {breakable=1},
   paramtype2 = 'facedir',
   on_place = minetest.rotate_and_place,
})

minetest.register_node('plants:jackolantern_on', {
   description = 'Jack-O-Lantern (on)',
   tiles = {'plants_pumpkin_top.png', 'plants_pumpkin_top.png', 'plants_pumpkin_side.png', 'plants_pumpkin_side.png', 'plants_pumpkin_side.png', 'plants_pumpkin_face_on.png'},
   groups = {breakable=1},
   paramtype2 = 'facedir',
   light_source = 10,
   paramtype = 'light',
   on_place = minetest.rotate_and_place,
})

minetest.register_node('plants:melon', {
   description = 'Watermelon',
   tiles = {'plants_melon_top.png', 'plants_melon_top.png', 'plants_melon_side.png'},
   groups = {breakable=1},
   paramtype2 = 'facedir',
   on_place = minetest.rotate_and_place,
})
