From 3839250b383121a842ef03a125090a8767d84500 Mon Sep 17 00:00:00 2001 From: SmokeyDope Date: Fri, 17 Mar 2023 23:50:02 +0000 Subject: [PATCH 1/5] Fix potatoes stage 2 hitbox --- mods/ITEMS/mcl_farming/potatoes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_farming/potatoes.lua b/mods/ITEMS/mcl_farming/potatoes.lua index 50bb66a3b..c3ac90836 100644 --- a/mods/ITEMS/mcl_farming/potatoes.lua +++ b/mods/ITEMS/mcl_farming/potatoes.lua @@ -12,7 +12,7 @@ for i=1, 7 do selbox = { -0.5, -0.5, -0.5, 0.5, -2/16, 0.5 } else texture = "mcl_farming_potatoes_stage_2.png" - selbox = { -0.5, -0.5, -0.5, 0.5, 2/16, 0.5 } + selbox = { -0.5, -0.5, -0.5, 0.5, -2/16, 0.5 } end local create, name, longdesc From 44711369d920526853dd85d816de01b47b1e37e4 Mon Sep 17 00:00:00 2001 From: SmokeyDope Date: Sat, 18 Mar 2023 00:00:37 +0000 Subject: [PATCH 2/5] Further adjust potato hitbox heights --- mods/ITEMS/mcl_farming/potatoes.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/ITEMS/mcl_farming/potatoes.lua b/mods/ITEMS/mcl_farming/potatoes.lua index c3ac90836..e29219fd8 100644 --- a/mods/ITEMS/mcl_farming/potatoes.lua +++ b/mods/ITEMS/mcl_farming/potatoes.lua @@ -9,10 +9,10 @@ for i=1, 7 do selbox = { -0.5, -0.5, -0.5, 0.5, -5/16, 0.5 } elseif i < 5 then texture = "mcl_farming_potatoes_stage_1.png" - selbox = { -0.5, -0.5, -0.5, 0.5, -2/16, 0.5 } + selbox = { -0.5, -0.5, -0.5, 0.5, -4/16, 0.5 } else texture = "mcl_farming_potatoes_stage_2.png" - selbox = { -0.5, -0.5, -0.5, 0.5, -2/16, 0.5 } + selbox = { -0.5, -0.5, -0.5, 0.5, -3/16, 0.5 } end local create, name, longdesc @@ -77,7 +77,7 @@ minetest.register_node("mcl_farming:potato", { selection_box = { type = "fixed", fixed = { - { -0.5, -0.5, -0.5, 0.5, 1/16, 0.5 } + { -0.5, -0.5, -0.5, 0.5, -1/16, 0.5 } } }, groups = {dig_immediate=3, not_in_creative_inventory=1,plant=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1}, From ced3b4dff15a73ae8606d8a16ba496c41e301cfb Mon Sep 17 00:00:00 2001 From: SmokeyDope Date: Sat, 18 Mar 2023 00:11:50 +0000 Subject: [PATCH 3/5] Adjust carrot hitbox heights --- mods/ITEMS/mcl_farming/carrots.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/ITEMS/mcl_farming/carrots.lua b/mods/ITEMS/mcl_farming/carrots.lua index b76606be2..51a9b0c19 100644 --- a/mods/ITEMS/mcl_farming/carrots.lua +++ b/mods/ITEMS/mcl_farming/carrots.lua @@ -6,10 +6,10 @@ for i=1, 7 do sel_height = -5/16 texture = "farming_carrot_1.png" elseif i < 5 then - sel_height = -3/16 + sel_height = -4/16 texture = "farming_carrot_2.png" else - sel_height = 2/16 + sel_height = -3/16 texture = "farming_carrot_3.png" end @@ -72,7 +72,7 @@ minetest.register_node("mcl_farming:carrot", { selection_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, 4/16, 0.5} + {-0.5, -0.5, -0.5, 0.5, 0/16, 0.5} }, }, groups = {dig_immediate=3, not_in_creative_inventory=1,plant=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1}, From 68a44d78245d8e775a271209c19bfc256028c2ca Mon Sep 17 00:00:00 2001 From: SmokeyDope Date: Sat, 18 Mar 2023 00:13:53 +0000 Subject: [PATCH 4/5] one more carrot adjust --- mods/ITEMS/mcl_farming/carrots.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_farming/carrots.lua b/mods/ITEMS/mcl_farming/carrots.lua index 51a9b0c19..f21285445 100644 --- a/mods/ITEMS/mcl_farming/carrots.lua +++ b/mods/ITEMS/mcl_farming/carrots.lua @@ -72,7 +72,7 @@ minetest.register_node("mcl_farming:carrot", { selection_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, 0/16, 0.5} + {-0.5, -0.5, -0.5, 0.5, -1/16, 0.5} }, }, groups = {dig_immediate=3, not_in_creative_inventory=1,plant=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1}, From 3f80cc8f26cbf457a5a65ff386157d3a59bddf52 Mon Sep 17 00:00:00 2001 From: SmokeyDope Date: Sat, 18 Mar 2023 00:21:59 +0000 Subject: [PATCH 5/5] Adjust beetroot hitbox heights --- mods/ITEMS/mcl_farming/beetroot.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/ITEMS/mcl_farming/beetroot.lua b/mods/ITEMS/mcl_farming/beetroot.lua index 042af9e59..3785db111 100644 --- a/mods/ITEMS/mcl_farming/beetroot.lua +++ b/mods/ITEMS/mcl_farming/beetroot.lua @@ -54,7 +54,7 @@ minetest.register_node("mcl_farming:beetroot_1", { selection_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, -3/16, 0.5} + {-0.5, -0.5, -0.5, 0.5, -4/16, 0.5} }, }, groups = {dig_immediate=3, not_in_creative_inventory=1,plant=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1}, @@ -78,7 +78,7 @@ minetest.register_node("mcl_farming:beetroot_2", { selection_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, 2/16, 0.5} + {-0.5, -0.5, -0.5, 0.5, -3/16, 0.5} }, }, groups = {dig_immediate=3, not_in_creative_inventory=1,plant=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1}, @@ -129,7 +129,7 @@ minetest.register_node("mcl_farming:beetroot", { selection_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, 3 / 16, 0.5} + {-0.5, -0.5, -0.5, 0.5, -1/16, 0.5} }, }, groups = {dig_immediate=3, not_in_creative_inventory=1,plant=1,attached_node=1,dig_by_water=1,destroy_by_lava_flow=1,dig_by_piston=1,beetroot=4},