forked from mtcontrib/homedecor_modpack
Add adequate sound for faucet/tap
This commit is contained in:
parent
bcf9269235
commit
3c891aa24e
|
@ -127,7 +127,7 @@ local function taps_on_rightclick(pos, node, clicker)
|
|||
velocity_z = { min = -0.1, max = 0 },
|
||||
spread = 0
|
||||
}
|
||||
homedecor.start_particle_spawner(pos, node, particledef, "homedecor_shower")
|
||||
homedecor.start_particle_spawner(pos, node, particledef, "homedecor_faucet")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -3189,6 +3189,15 @@ minetest.register_craft({
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:spiral_staircase",
|
||||
recipe = {
|
||||
{ "default:steelblock", "homedecor:pole_wrought_iron", "" },
|
||||
{ "", "homedecor:pole_wrought_iron", "default:steelblock" },
|
||||
{ "default:steelblock", "homedecor:pole_wrought_iron", "" }
|
||||
},
|
||||
})
|
||||
|
||||
for i in ipairs(homedecor.banister_materials) do
|
||||
|
||||
local name = homedecor.banister_materials[i][1]
|
||||
|
|
|
@ -125,7 +125,7 @@ homedecor.register("kitchen_faucet", {
|
|||
velocity_z = { min = -0.1, max = 0 },
|
||||
spread = 0
|
||||
}
|
||||
homedecor.start_particle_spawner(pos, node, particledef, "homedecor_shower")
|
||||
homedecor.start_particle_spawner(pos, node, particledef, "homedecor_faucet")
|
||||
end
|
||||
end
|
||||
})
|
||||
|
|
BIN
homedecor/sounds/homedecor_faucet.ogg
Normal file
BIN
homedecor/sounds/homedecor_faucet.ogg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user