summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2015-04-08 14:01:42 -0700
committerAuke Kok <auke-jan.h.kok@intel.com>2015-04-08 14:01:42 -0700
commitca0126dd7c3d69c52c96eda47145479c77dac513 (patch)
tree60da80a73224722323d13d9eee6db977436bfa80
parent11d5c23240c0fba0d71229bd3cd4911a12f5f177 (diff)
Remove the flower from the melon plant if it's attached.
This is more realistic: The melon flower turns into a melon once it's ready, so while a melon is attached, the flower is gone signifying that it's not ready to grow another melon. The flower pops back immediately once you remove the melon block.
-rw-r--r--melon.lua2
-rw-r--r--textures/crops_melon_plant_5_attached.pngbin0 -> 820 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/melon.lua b/melon.lua
index ec3a40a..2107507 100644
--- a/melon.lua
+++ b/melon.lua
@@ -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.png" },
+ tiles = { "crops_melon_stem.png", "crops_melon_plant_5_attached.png" },
drawtype = "mesh",
paramtype2 = "facedir",
sunlight_propagates = true,
diff --git a/textures/crops_melon_plant_5_attached.png b/textures/crops_melon_plant_5_attached.png
new file mode 100644
index 0000000..bfbaa02
--- /dev/null
+++ b/textures/crops_melon_plant_5_attached.png
Binary files differ