From 3792b692aafed0ce6b0092b34278ad391b9eaf27 Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Wed, 6 Mar 2013 20:51:57 -0500 Subject: Digging and footstep sounds for everything that needs them! Plus, pushing buttons, punching switches, and flipping levers all make sounds. --- mesecons_solarpanel/init.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesecons_solarpanel') diff --git a/mesecons_solarpanel/init.lua b/mesecons_solarpanel/init.lua index b8f3ac0..5a5d6f3 100644 --- a/mesecons_solarpanel/init.lua +++ b/mesecons_solarpanel/init.lua @@ -22,6 +22,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", { }, drop = "mesecons_solarpanel:solar_panel_off", groups = {dig_immediate=3, not_in_creative_inventory = 1}, + sounds = default.node_sound_glass_defaults(), mesecons = {receptor = { state = mesecon.state.on }} @@ -51,6 +52,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", { }, groups = {dig_immediate=3}, description="Solar Panel", + sounds = default.node_sound_glass_defaults(), mesecons = {receptor = { state = mesecon.state.off }} -- cgit v1.2.3