diff --git a/etc/travelnet_bell.mmpz b/etc/travelnet_bell.mmpz
new file mode 100644
index 0000000..161be57
Binary files /dev/null and b/etc/travelnet_bell.mmpz differ
diff --git a/etc/travelnet_bell.xml b/etc/travelnet_bell.xml
new file mode 100644
index 0000000..e62bc89
--- /dev/null
+++ b/etc/travelnet_bell.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/etc/travelnet_travel.mmpz b/etc/travelnet_travel.mmpz
new file mode 100644
index 0000000..a67a7df
Binary files /dev/null and b/etc/travelnet_travel.mmpz differ
diff --git a/etc/travelnet_travel.xml b/etc/travelnet_travel.xml
new file mode 100644
index 0000000..d9ebb6e
--- /dev/null
+++ b/etc/travelnet_travel.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/init.lua b/init.lua
index fc2b349..6296e5e 100644
--- a/init.lua
+++ b/init.lua
@@ -803,7 +803,11 @@ travelnet.on_receive_fields = function(pos, formname, fields, player)
if( travelnet.travelnet_sound_enabled ) then
- minetest.sound_play("128590_7037-lq.mp3", {pos = pos, gain = 1.0, max_hear_distance = 10,})
+ if ( this_node.name == 'travelnet:elevator' ) then
+ minetest.sound_play("travelnet_bell", {pos = pos, gain = 0.75, max_hear_distance = 10,});
+ else
+ minetest.sound_play("travelnet_travel", {pos = pos, gain = 0.75, max_hear_distance = 10,});
+ end
end
if( travelnet.travelnet_effect_enabled ) then
minetest.add_entity( {x=pos.x,y=pos.y+0.5,z=pos.z}, "travelnet:effect"); -- it self-destructs after 20 turns
@@ -817,7 +821,11 @@ travelnet.on_receive_fields = function(pos, formname, fields, player)
player:moveto( target_pos, false);
if( travelnet.travelnet_sound_enabled ) then
- minetest.sound_play("travelnet_travel.wav", {pos = target_pos, gain = 1.0, max_hear_distance = 10,})
+ if ( this_node.name == 'travelnet:elevator' ) then
+ minetest.sound_play("travelnet_bell", {pos = pos, gain = 0.75, max_hear_distance = 10,});
+ else
+ minetest.sound_play("travelnet_travel", {pos = target_pos, gain = 0.75, max_hear_distance = 10,})
+ end
end
if( travelnet.travelnet_effect_enabled ) then
minetest.add_entity( {x=target_pos.x,y=target_pos.y+0.5,z=target_pos.z}, "travelnet:effect"); -- it self-destructs after 20 turns
diff --git a/sounds/travelnet_bell.ogg b/sounds/travelnet_bell.ogg
new file mode 100644
index 0000000..994f649
Binary files /dev/null and b/sounds/travelnet_bell.ogg differ
diff --git a/sounds/travelnet_travel.ogg b/sounds/travelnet_travel.ogg
new file mode 100644
index 0000000..b39be8f
Binary files /dev/null and b/sounds/travelnet_travel.ogg differ