summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC1ff <c1ff@alandmoore.com>2015-02-03 12:48:12 -0600
committerJeija <norrepli@gmail.com>2015-02-04 19:45:17 +0100
commit11cf727bfbe71874a5f5c77aa83ae4145754f98c (patch)
tree8b2cb3f55af473bc74aecacbe1af51ed312c8a2a
parent30468b09cf35b3122e05f1e2867923fdcad5a5d2 (diff)
downloadmesecons-11cf727bfbe71874a5f5c77aa83ae4145754f98c.tar
mesecons-11cf727bfbe71874a5f5c77aa83ae4145754f98c.tar.gz
mesecons-11cf727bfbe71874a5f5c77aa83ae4145754f98c.tar.bz2
mesecons-11cf727bfbe71874a5f5c77aa83ae4145754f98c.tar.xz
mesecons-11cf727bfbe71874a5f5c77aa83ae4145754f98c.zip
Added more sounds to noteblocks, see the documentation on http://mesecons.net for more information
-rw-r--r--mesecons_noteblock/init.lua9
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_a2.oggbin0 -> 17855 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_asharp2.oggbin0 -> 16522 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_b2.oggbin0 -> 14834 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_c2.oggbin0 -> 27910 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_csharp2.oggbin0 -> 27427 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_d2.oggbin0 -> 26664 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_dsharp2.oggbin0 -> 25870 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_e2.oggbin0 -> 24258 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_f2.oggbin0 -> 23477 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_fsharp2.oggbin0 -> 22038 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_g2.oggbin0 -> 20640 bytes
-rw-r--r--mesecons_noteblock/sounds/mesecons_noteblock_gsharp2.oggbin0 -> 19215 bytes
13 files changed, 9 insertions, 0 deletions
diff --git a/mesecons_noteblock/init.lua b/mesecons_noteblock/init.lua
index d63b93e..6321882 100644
--- a/mesecons_noteblock/init.lua
+++ b/mesecons_noteblock/init.lua
@@ -61,9 +61,15 @@ mesecon.noteblock_play = function (pos, param2)
if block_below_name == "default:glass" then
soundname="mesecons_noteblock_hihat"
end
+ if block_below_name == "default:steelblock" then
+ soundname=soundname.."2" -- Go up an octave.
+ end
if block_below_name == "default:stone" then
soundname="mesecons_noteblock_kick"
end
+ if block_below_name == "default:lava_source" then
+ soundname="fire_large"
+ end
if block_below_name == "default:chest" then
soundname="mesecons_noteblock_snare"
end
@@ -73,6 +79,9 @@ mesecon.noteblock_play = function (pos, param2)
if block_below_name == "default:wood" then
soundname="mesecons_noteblock_litecrash"
end
+ if block_below_name == "default:coalblock" then
+ soundname="tnt_explode"
+ end
minetest.sound_play(soundname,
{pos = pos, gain = 1.0, max_hear_distance = 32,})
end
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_a2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_a2.ogg
new file mode 100644
index 0000000..1113500
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_a2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_asharp2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_asharp2.ogg
new file mode 100644
index 0000000..fda84eb
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_asharp2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_b2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_b2.ogg
new file mode 100644
index 0000000..35a742f
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_b2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_c2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_c2.ogg
new file mode 100644
index 0000000..8468541
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_c2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_csharp2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_csharp2.ogg
new file mode 100644
index 0000000..8d76cda
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_csharp2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_d2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_d2.ogg
new file mode 100644
index 0000000..f1ded77
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_d2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_dsharp2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_dsharp2.ogg
new file mode 100644
index 0000000..45f199c
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_dsharp2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_e2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_e2.ogg
new file mode 100644
index 0000000..0dd495c
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_e2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_f2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_f2.ogg
new file mode 100644
index 0000000..3d5931b
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_f2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_fsharp2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_fsharp2.ogg
new file mode 100644
index 0000000..edc06d6
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_fsharp2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_g2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_g2.ogg
new file mode 100644
index 0000000..a798206
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_g2.ogg
Binary files differ
diff --git a/mesecons_noteblock/sounds/mesecons_noteblock_gsharp2.ogg b/mesecons_noteblock/sounds/mesecons_noteblock_gsharp2.ogg
new file mode 100644
index 0000000..94ccdfe
--- /dev/null
+++ b/mesecons_noteblock/sounds/mesecons_noteblock_gsharp2.ogg
Binary files differ