From f32beb38e69a0c725a1420d822d42dabf3134954 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 30 Jun 2023 10:15:46 +0200 Subject: [PATCH] Play 'place' sound when placing painting --- src/nodes.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nodes.lua b/src/nodes.lua index 4f9b2e5..279aa1c 100644 --- a/src/nodes.lua +++ b/src/nodes.lua @@ -538,6 +538,9 @@ xdecor.register("painting_1", { itemstack:take_item() end + -- Play 'place' sound manually + minetest.sound_play(default.node_sound_wood_defaults().place, {pos=pointed_thing.above}, true) + return itemstack end, sounds = default.node_sound_wood_defaults(),