diff options
-rw-r--r-- | melon.lua | 4 | ||||
-rw-r--r-- | textures/crops_melon_plant_4.png | bin | 721 -> 820 bytes | |||
-rw-r--r-- | textures/crops_melon_plant_5_attached.png | bin | 820 -> 0 bytes |
3 files changed, 2 insertions, 2 deletions
@@ -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 Binary files differindex f4f234c..b9866cc 100644 --- a/textures/crops_melon_plant_4.png +++ b/textures/crops_melon_plant_4.png diff --git a/textures/crops_melon_plant_5_attached.png b/textures/crops_melon_plant_5_attached.png Binary files differdeleted file mode 100644 index bfbaa02..0000000 --- a/textures/crops_melon_plant_5_attached.png +++ /dev/null |