summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--melon.lua4
-rw-r--r--textures/crops_melon_plant_4.pngbin721 -> 820 bytes
-rw-r--r--textures/crops_melon_plant_5_attached.pngbin820 -> 0 bytes
3 files changed, 2 insertions, 2 deletions
diff --git a/melon.lua b/melon.lua
index 40cccc4..22b7196 100644
--- a/melon.lua
+++ b/melon.lua
@@ -52,7 +52,7 @@ minetest.register_node("crops:melon_plant_" .. stage , {
drop = "crops:melon_seed",
selection_box = {
type = "fixed",
- fixed = {-0.5, -0.5, -0.5, 0.5, -0.5 + (((3 * stage) + 1) / 16), 0.5}
+ fixed = {-0.5, -0.5, -0.5, 0.5, -0.5 + (((math.min(stage, 4)) + 1) / 5), 0.5}
}
})
end
@@ -61,7 +61,7 @@ minetest.register_node("crops:melon_plant_5_attached", {
visual = "mesh",
mesh = "crops_plant_extra_face.obj",
description = "melon plant",
- tiles = { "crops_melon_stem.png", "crops_melon_plant_5_attached.png" },
+ tiles = { "crops_melon_stem.png", "crops_melon_plant_4.png" },
drawtype = "mesh",
paramtype2 = "facedir",
sunlight_propagates = true,
diff --git a/textures/crops_melon_plant_4.png b/textures/crops_melon_plant_4.png
index f4f234c..b9866cc 100644
--- a/textures/crops_melon_plant_4.png
+++ b/textures/crops_melon_plant_4.png
Binary files differ
diff --git a/textures/crops_melon_plant_5_attached.png b/textures/crops_melon_plant_5_attached.png
deleted file mode 100644
index bfbaa02..0000000
--- a/textures/crops_melon_plant_5_attached.png
+++ /dev/null
Binary files differ