From 845b0607eb09602a0da871a22ff044069506c53a Mon Sep 17 00:00:00 2001 From: Maciej Kasatkin Date: Wed, 10 Oct 2012 21:13:20 +0200 Subject: [PATCH] Added mining drill sound --- mining_drill.lua | 1 + sonic_screwdriver.lua | 2 +- sounds/mining_drill.ogg | Bin 0 -> 14499 bytes 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 sounds/mining_drill.ogg diff --git a/mining_drill.lua b/mining_drill.lua index 99a7878..3f2a7c8 100644 --- a/mining_drill.lua +++ b/mining_drill.lua @@ -53,6 +53,7 @@ function drill_dig_it (pos, player) player:get_inventory():add_item("main", dropped_item) end end + minetest.sound_play("mining_drill", {pos = pos, gain = 1.0, max_hear_distance = 10,}) minetest.env:remove_node(pos) end diff --git a/sonic_screwdriver.lua b/sonic_screwdriver.lua index c6efc42..77b01e8 100644 --- a/sonic_screwdriver.lua +++ b/sonic_screwdriver.lua @@ -16,7 +16,7 @@ sonic_screwdriver_max_charge=15000 if charge ==0 then charge =65535 end charge=get_RE_item_load(charge,sonic_screwdriver_max_charge) if charge-100>0 then - minetest.sound_play("technic_sonic_screwdriver", {pos = pos, gain = 0.5, max_hear_distance = 10,}) + minetest.sound_play("technic_sonic_screwdriver", {pos = pos, gain = 0.3, max_hear_distance = 10,}) local n = node.param2 if minetest.registered_nodes[node_name].paramtype2 == "facedir" then n = n+1 diff --git a/sounds/mining_drill.ogg b/sounds/mining_drill.ogg new file mode 100644 index 0000000000000000000000000000000000000000..1493544ffad8165f69636a35d07f0c8145445483 GIT binary patch literal 14499 zcmeIZbyQwIvnaeD911N~+}(>8XmNLk;_gt26)RR;i@O(niWQ1$OL2H`w^Fn~(c<=P z=Sy}=MN$XiEe zQyZ6i0Gvb_0NjBA_yc+PZGb4>xBSm=-x30rdM<4rW4qsD{%d#%|Cba7h@oKe){=*t zjgya!gPj8&1dxG`iLsiDiJ62Jo4BI`g}S5LYjX-oOG^tgR~O=Y40}^I2SImt zceXbsX6A3%%p4t_x!fbUJiG6*#c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