镜像自地址
https://github.com/luanti-org/luanti.git
已同步 2025-11-06 02:05:30 +01:00
Tool break: Reduce gain of break sounds
这个提交包含在:
@@ -475,7 +475,7 @@ function core.node_dig(pos, node, digger)
|
||||
if not core.setting_getbool("creative_mode") then
|
||||
wielded:add_wear(dp.wear)
|
||||
if wielded:get_count() == 0 and wdef.sound and wdef.sound.breaks then
|
||||
core.sound_play(wdef.sound.breaks, {pos = pos, gain = 1.0})
|
||||
core.sound_play(wdef.sound.breaks, {pos = pos, gain = 0.5})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
在新工单中引用
屏蔽一个用户