1
0
Fork 0

Add magma cube sounds

This commit is contained in:
Wuzzy 2019-02-01 08:13:45 +01:00
parent e789801662
commit 29040f9352
5 changed files with 17 additions and 4 deletions

View File

@ -172,5 +172,15 @@ Origin of those models:
* `mobs_mc_silverfish_death.ogg` (CC BY-SA 4.0) * `mobs_mc_silverfish_death.ogg` (CC BY-SA 4.0)
* `mobs_mc_silverfish_idle.ogg` (CC BY-SA 4.0) * `mobs_mc_silverfish_idle.ogg` (CC BY-SA 4.0)
* Source: <https://forum.minetest.net/viewtopic.php?f=17&t=10013> * Source: <https://forum.minetest.net/viewtopic.php?f=17&t=10013>
* [LukeIRL](https://freesound.org/people/LukeIRL/)
* `mobs_mc_magma_cube_small.ogg` (CC BY 4.0)
* Derived from: <https://freesound.org/people/LukeIRL/sounds/176123/>
* `mobs_mc_magma_cube_big.ogg` (CC BY 4.0)
* Derived from: <https://freesound.org/people/LukeIRL/sounds/176123/>
* [kbnevel](https://freesound.org/people/kbnevel/)
* `mobs_mc_magma_cube_attack.ogg` (CC0)
* Derived from: <https://freesound.org/people/kbnevel/sounds/119863/>
Note: Many of these sounds have been more or less modified to fit the game. Note: Many of these sounds have been more or less modified to fit the game.
Sounds not mentioned here are licensed under CC0.

View File

@ -138,10 +138,9 @@ local magma_cube_big = {
blood_texture = "mobs_mc_magmacube_blood.png", blood_texture = "mobs_mc_magmacube_blood.png",
makes_footstep_sound = true, makes_footstep_sound = true,
sounds = { sounds = {
jump = "green_slime_jump", jump = "mobs_mc_magma_cube_big",
death = "green_slime_death", death = "mobs_mc_magma_cube_big",
damage = "green_slime_damage", attack = "mobs_mc_magma_cube_attack",
attack = "green_slime_attack",
distance = 16, distance = 16,
}, },
walk_velocity = 4, walk_velocity = 4,
@ -198,6 +197,8 @@ local magma_cube_big = {
mobs:register_mob("mobs_mc:magma_cube_big", magma_cube_big) mobs:register_mob("mobs_mc:magma_cube_big", magma_cube_big)
local magma_cube_small = table.copy(magma_cube_big) local magma_cube_small = table.copy(magma_cube_big)
magma_cube_small.sounds.jump = "mobs_mc_magma_cube_small"
magma_cube_small.sounds.death = "mobs_mc_magma_cube_small"
magma_cube_small.hp_min = 4 magma_cube_small.hp_min = 4
magma_cube_small.hp_max = 4 magma_cube_small.hp_max = 4
magma_cube_small.collisionbox = {-0.51, -0.01, -0.51, 0.51, 1.00, 0.51} magma_cube_small.collisionbox = {-0.51, -0.01, -0.51, 0.51, 1.00, 0.51}
@ -225,6 +226,8 @@ end
mobs:register_mob("mobs_mc:magma_cube_small", magma_cube_small) mobs:register_mob("mobs_mc:magma_cube_small", magma_cube_small)
local magma_cube_tiny = table.copy(magma_cube_big) local magma_cube_tiny = table.copy(magma_cube_big)
magma_cube_tiny.sounds.jump = "mobs_mc_magma_cube_small"
magma_cube_tiny.sounds.death = "mobs_mc_magma_cube_small"
magma_cube_tiny.hp_min = 1 magma_cube_tiny.hp_min = 1
magma_cube_tiny.hp_max = 1 magma_cube_tiny.hp_max = 1
magma_cube_tiny.collisionbox = {-0.2505, -0.01, -0.2505, 0.2505, 0.50, 0.2505} magma_cube_tiny.collisionbox = {-0.2505, -0.01, -0.2505, 0.2505, 0.50, 0.2505}