67 lines
1.6 KiB
Lua
67 lines
1.6 KiB
Lua
--- @section Audio
|
|
|
|
--- Stops current music.
|
|
--- @within Audio
|
|
function Audio.music_stop() music() end
|
|
|
|
--- Plays main menu music.
|
|
--- @within Audio
|
|
function Audio.music_play_mainmenu() end
|
|
|
|
--- Plays waking up music.
|
|
--- @within Audio
|
|
function Audio.music_play_wakingup() end
|
|
|
|
--- Plays room morning music.
|
|
--- @within Audio
|
|
function Audio.music_play_room_morning() end
|
|
|
|
--- Plays room street 1 music.
|
|
--- @within Audio
|
|
function Audio.music_play_room_street_1() end
|
|
|
|
--- Plays room street 2 music.
|
|
--- @within Audio
|
|
function Audio.music_play_room_street_2() end
|
|
|
|
--- Plays room music.
|
|
--- @within Audio
|
|
function Audio.music_play_room_() end
|
|
|
|
--- Plays room work music.
|
|
--- @within Audio
|
|
function Audio.music_play_room_work() music(0) end
|
|
|
|
--- Plays activity work music.
|
|
--- @within Audio
|
|
function Audio.music_play_activity_work() music(1) end
|
|
|
|
--- Plays select sound effect.
|
|
--- @within Audio
|
|
function Audio.sfx_select() sfx(17, 'C-7', 30) end
|
|
|
|
--- Plays deselect sound effect.
|
|
--- @within Audio
|
|
function Audio.sfx_deselect() sfx(18, 'C-7', 30) end
|
|
|
|
--- Plays beep sound effect.
|
|
--- @within Audio
|
|
function Audio.sfx_beep() sfx(19, 'C-6', 30) end
|
|
|
|
--- Plays success sound effect.
|
|
--- @within Audio
|
|
function Audio.sfx_success() sfx(16, 'C-7', 60) end
|
|
|
|
--- Plays bloop sound effect.
|
|
--- @within Audio
|
|
function Audio.sfx_bloop() sfx(21, 'C-3', 60) end
|
|
|
|
--- Plays alarm sound effect.
|
|
--- @within Audio
|
|
function Audio.sfx_alarm() sfx(61) end
|
|
|
|
--- Plays sound effect for arrow hit
|
|
--- @within Audio
|
|
--- @param note string The note for the sound to play
|
|
function Audio.sfx_arrowhit(note) sfx(56, note) end
|