Fix elevator sound assignment
This commit is contained in:
parent
5b67f8556f
commit
b5586a0109
|
@ -199,7 +199,10 @@ minetest.register_craftitem("technology:elevator", {
|
||||||
end,
|
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 ec = 0.05 -- size of electric cables
|
||||||
local sc = 0.1 -- size of support cables
|
local sc = 0.1 -- size of support cables
|
||||||
|
@ -231,7 +234,7 @@ minetest.register_node("technology:elevator_rail", {
|
||||||
},
|
},
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = {mechanic=1, oddly_breakable_by_hand=1},
|
groups = {mechanic=1, oddly_breakable_by_hand=1},
|
||||||
on_punch = metal_punch,
|
--on_punch = metal_punch,
|
||||||
sounds = metal_footstep,
|
sounds = metal_footstep,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user