Add sounds for slime block

This commit is contained in:
Wuzzy 2017-05-26 01:33:26 +02:00
parent 316ee94c2d
commit a6a28e752d
9 changed files with 13 additions and 6 deletions

View file

@ -1,5 +1,6 @@
Minetest 0.4 mod: default (with lot's of custom ...) MineClone 2 core mod
========================== ====================
Originally forked from Minetest Game's default mod in the distant past
License of source code: License of source code:
----------------------- -----------------------
@ -12,8 +13,8 @@ the Free Software Foundation; either version 2.1 of the License, or
http://www.gnu.org/licenses/lgpl-2.1.html http://www.gnu.org/licenses/lgpl-2.1.html
License of textures License of all textures and sounds
=================== ==================================
MIT License. MIT License.
The textures are taken from the Minecraft resource pack “Faithful 1.11” by Vattic and The textures are taken from the Minecraft resource pack “Faithful 1.11” by Vattic and
@ -21,5 +22,5 @@ xMrVizzy and contributers.
Sounds Sounds
====== ======
All sounds included in this mod are under the MIT License.
The sounds can be found in the mod `mcl_sounds`. The other sounds used in this mod can be found in CORE/mcl_sounds.

View file

@ -1332,6 +1332,12 @@ minetest.register_node("mcl_core:slimeblock", {
-- According to Minecraft Wiki, bouncing off a slime block from a height off 255 blocks should result in a bounce height of 50 blocks -- According to Minecraft Wiki, bouncing off a slime block from a height off 255 blocks should result in a bounce height of 50 blocks
-- bouncy=44 makes the player bounce up to 49.6. This value was chosen by experiment. -- bouncy=44 makes the player bounce up to 49.6. This value was chosen by experiment.
groups = {dig_immediate=3, bouncy=44,fall_damage_add_percent=-100,deco_block=1}, groups = {dig_immediate=3, bouncy=44,fall_damage_add_percent=-100,deco_block=1},
sounds = {
dig = {name="slimenodes_dig", gain=0.3},
dug = {name="slimenodes_dug", gain=0.6},
place = {name="slimenodes_place", gain=0.6},
footstep = {name="slimenodes_step", gain=0.3},
},
_mcl_blast_resistance = 0, _mcl_blast_resistance = 0,
_mcl_hardness = 0, _mcl_hardness = 0,
}) })

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.