/tg/ Station 13 - Modules - TypesVar Details - Proc Details

jukebox

Vars

jukebox_error_cdCooldown between "Error" sound effects being played
jukebox_song_cdCooldown between being allowed to play another song
music_playerThe actual music player datum that handles the music
song_timeridTimerID to when the current song ends

Procs

toggle_playingIf a song is playing, cut it. If none is playing, and the cooldown is up, start the queued track.

Var Details

jukebox_error_cd

Cooldown between "Error" sound effects being played

jukebox_song_cd

Cooldown between being allowed to play another song

music_player

The actual music player datum that handles the music

song_timerid

TimerID to when the current song ends

Proc Details

toggle_playing

If a song is playing, cut it. If none is playing, and the cooldown is up, start the queued track.