From 5f9a5d783528fe712ffe6ab96d95cbe893f37398 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Sun, 12 Apr 2015 18:56:52 -0700 Subject: Add default leaf sounds to all the crops. Only melon blocks have a different sound at this point. --- melon.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'melon.lua') diff --git a/melon.lua b/melon.lua index 1f719ce..3f01fe8 100644 --- a/melon.lua +++ b/melon.lua @@ -56,6 +56,7 @@ minetest.register_node("crops:melon_plant_" .. stage , { paramtype = "light", groups = { snappy=3, flammable=3, flora=1, attached_node=1, not_in_creative_inventory=1 }, drop = "crops:melon_seed", + sounds = default.node_sound_leaves_defaults(), selection_box = { type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, -0.5 + (((math.min(stage, 4)) + 1) / 5), 0.5} @@ -76,6 +77,7 @@ minetest.register_node("crops:melon_plant_5_attached", { paramtype = "light", groups = { snappy=3, flammable=3, flora=1, attached_node=1, not_in_creative_inventory=1 }, drop = "crops:melon_seed", + sounds = default.node_sound_leaves_defaults(), }) -- cgit v1.2.3