Add epic end portal open sound
This commit is contained in:
parent
e894775943
commit
52681658ef
|
@ -10,6 +10,12 @@ Code license: MIT License (see `LICENSE`).
|
|||
|
||||
Texture license: See README.md in main MineClone 2 directory.
|
||||
|
||||
License of sound: [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/)
|
||||
Authors: [FreqMan](https://freesound.org/people/FreqMan/) and Wuzzy
|
||||
Source: <https://freesound.org/people/FreqMan/sounds/32541/>
|
||||
`mcl_portals_teleport.ogg`
|
||||
* License: [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/)
|
||||
* Authors: [FreqMan](https://freesound.org/people/FreqMan/) and Wuzzy
|
||||
* Source: <https://freesound.org/people/FreqMan/sounds/32541/>
|
||||
|
||||
`mcl_portals_open_end_portal.ogg`
|
||||
* License: CC0
|
||||
* Author: Johnnie\_Holiday
|
||||
* Source: <https://freesound.org/people/Johnnie_Holiday/sounds/546571/>
|
||||
|
|
|
@ -362,6 +362,8 @@ minetest.register_node("mcl_portals:end_portal_frame_eye", {
|
|||
on_construct = function(pos)
|
||||
local ok, ppos = check_end_portal_frame(pos)
|
||||
if ok then
|
||||
-- Epic 'portal open' sound effect that can be heard everywhere
|
||||
minetest.sound_play("mcl_portals_open_end_portal", {gain=0.8}, true)
|
||||
end_portal_area(ppos)
|
||||
end
|
||||
end,
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue