mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Add Wither spawn sound
This commit is contained in:
parent
bccd91e08f
commit
a764298923
3 changed files with 6 additions and 0 deletions
|
@ -115,6 +115,9 @@ Origin of those models:
|
||||||
* Source: <https://freesound.org/people/Hitrison/sounds/251411/>
|
* Source: <https://freesound.org/people/Hitrison/sounds/251411/>
|
||||||
* [NPXcoot](https://github.com/NPXcoot1) (CC BY-SA 4.0)
|
* [NPXcoot](https://github.com/NPXcoot1) (CC BY-SA 4.0)
|
||||||
* `mobs_mc_ender_dragon_*`
|
* `mobs_mc_ender_dragon_*`
|
||||||
|
* [bevibeldesign](https://freesound.org/people/bevibeldesign/)
|
||||||
|
* `mobs_mc_wither_spawn.ogg` (CC0)
|
||||||
|
* Source: <https://freesound.org/people/bevibeldesign/sounds/366095/>
|
||||||
* Blender Foundation (CC BY 3.0)
|
* Blender Foundation (CC BY 3.0)
|
||||||
* `mobs_sheep.ogg`,
|
* `mobs_sheep.ogg`,
|
||||||
* daufinsyd (MIT License)
|
* daufinsyd (MIT License)
|
||||||
|
|
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_wither_spawn.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_wither_spawn.ogg
Normal file
Binary file not shown.
|
@ -63,6 +63,9 @@ mobs:register_mob("mobs_mc:wither", {
|
||||||
run_start = 0, run_end = 20,
|
run_start = 0, run_end = 20,
|
||||||
},
|
},
|
||||||
harmed_by_heal = true,
|
harmed_by_heal = true,
|
||||||
|
on_spawn = function(self)
|
||||||
|
minetest.sound_play("mobs_mc_wither_spawn", {object=self.object, gain=1.0, max_hear_distance=64})
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
local mobs_griefing = minetest.settings:get_bool("mobs_griefing") ~= false
|
local mobs_griefing = minetest.settings:get_bool("mobs_griefing") ~= false
|
||||||
|
|
Loading…
Reference in a new issue