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

jukebox

Vars

activeWhether we're actively playing music
jukebox_error_cdCooldown between "Error" sound effects being played
rangersList of weakrefs to mobs listening to the current song
selectionCurrent song selected
songsList of /datum/tracks we can play Inited from config every time a jukebox is instantiated
stopWorld.time when the current song will stop playing, but also a cooldown between activations
volumeVolume of the songs played

Procs

load_songs_from_configLoads the config sounds once, and returns a copy of them.

Var Details

active

Whether we're actively playing music

jukebox_error_cd

Cooldown between "Error" sound effects being played

rangers

List of weakrefs to mobs listening to the current song

selection

Current song selected

songs

List of /datum/tracks we can play Inited from config every time a jukebox is instantiated

stop

World.time when the current song will stop playing, but also a cooldown between activations

volume

Volume of the songs played

Proc Details

load_songs_from_config

Loads the config sounds once, and returns a copy of them.