diff --git a/mods/ITEMS/mcl_farming/beetroot.lua b/mods/ITEMS/mcl_farming/beetroot.lua index 1fa3d68ee6..7927942efa 100644 --- a/mods/ITEMS/mcl_farming/beetroot.lua +++ b/mods/ITEMS/mcl_farming/beetroot.lua @@ -22,13 +22,15 @@ minetest.register_node("mcl_farming:beetroot_0", { drawtype = "plantlike", drop = "mcl_farming:beetroot_seeds", tiles = {"mcl_farming_beetroot_0.png"}, + inventory_image = "mcl_farming_beetroot_0.png", + wield_image = "mcl_farming_beetroot_0.png", selection_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, -0.125, 0.5} + {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5} }, }, - groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1,dig_by_piston=1}, + groups = {dig_immediate=3, not_in_creative_inventory=1,attached_node=1,dig_by_water=1,dig_by_piston=1}, sounds = mcl_sounds.node_sound_leaves_defaults(), _mcl_blast_resistance = 0, }) @@ -44,13 +46,15 @@ minetest.register_node("mcl_farming:beetroot_1", { drawtype = "plantlike", drop = "mcl_farming:beetroot_seeds", tiles = {"mcl_farming_beetroot_1.png"}, + inventory_image = "mcl_farming_beetroot_1.png", + wield_image = "mcl_farming_beetroot_1.png", selection_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, -0.125, 0.5} + {-0.5, -0.5, -0.5, 0.5, -3/16, 0.5} }, }, - groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1,dig_by_piston=1}, + groups = {dig_immediate=3, not_in_creative_inventory=1,attached_node=1,dig_by_water=1,dig_by_piston=1}, sounds = mcl_sounds.node_sound_leaves_defaults(), _mcl_blast_resistance = 0, }) @@ -65,14 +69,16 @@ minetest.register_node("mcl_farming:beetroot_2", { walkable = false, drawtype = "plantlike", drop = "mcl_farming:beetroot_seeds", - tiles = {"farming_carrot_2.png"}, + tiles = {"mcl_farming_beetroot_2.png"}, + inventory_image = "mcl_farming_beetroot_2.png", + wield_image = "mcl_farming_beetroot_2.png", selection_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, -0.125, 0.5} + {-0.5, -0.5, -0.5, 0.5, 2/16, 0.5} }, }, - groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1,dig_by_piston=1}, + groups = {dig_immediate=3, not_in_creative_inventory=1,attached_node=1,dig_by_water=1,dig_by_piston=1}, sounds = mcl_sounds.node_sound_leaves_defaults(), _mcl_blast_resistance = 0, }) @@ -97,13 +103,15 @@ minetest.register_node("mcl_farming:beetroot", { }, }, tiles = {"mcl_farming_beetroot_3.png"}, + inventory_image = "mcl_farming_beetroot_3.png", + wield_image = "mcl_farming_beetroot_3.png", selection_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, -0.125, 0.5} + {-0.5, -0.5, -0.5, 0.5, 3/16, 0.5} }, }, - groups = {dig_immediate=3, not_in_creative_inventory=1,dig_by_water=1,dig_by_piston=1,beetroot=4}, + groups = {dig_immediate=3, not_in_creative_inventory=1,attached_node=1,dig_by_water=1,dig_by_piston=1,beetroot=4}, sounds = mcl_sounds.node_sound_leaves_defaults(), _mcl_blast_resistance = 0, })