From b5586a0109569413b5c12a386f0e6c2a9c7a6e33 Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Mon, 26 Mar 2018 20:44:08 +0200 Subject: [PATCH] Fix elevator sound assignment --- elevator.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/elevator.lua b/elevator.lua index c7eeadd..f5fc3e3 100644 --- a/elevator.lua +++ b/elevator.lua @@ -199,7 +199,10 @@ minetest.register_craftitem("technology:elevator", { end, }) - +local metal_footstep = { + footstep = {name="metal_footstep", gain=0.8}, + dig = {name="metal_footstep", gain = 0.8}, +} local ec = 0.05 -- size of electric cables local sc = 0.1 -- size of support cables @@ -231,7 +234,7 @@ minetest.register_node("technology:elevator_rail", { }, walkable = true, groups = {mechanic=1, oddly_breakable_by_hand=1}, - on_punch = metal_punch, + --on_punch = metal_punch, sounds = metal_footstep, })