Apply low pass filter to sonic screwdriver sound (#377)

This commit is contained in:
OgelGames 2024-09-06 15:20:30 +10:00 committed by GitHub
parent a68a3a06e4
commit bb70986b2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ local function screwdriver_handler(itemstack, user, pointed_thing, mode)
return return
end end
minetest.sound_play("technic_sonic_screwdriver", {pos = pos, gain = 0.3, max_hear_distance = 10}, true) minetest.sound_play("technic_sonic_screwdriver", {pos = pos, gain = 0.5, max_hear_distance = 10}, true)
-- Set param2 -- Set param2
local rotationPart = node.param2 % 32 -- get first 4 bits local rotationPart = node.param2 % 32 -- get first 4 bits