LMAO YES WE CAN

This commit is contained in:
Archie
2021-06-23 02:36:27 -03:00
parent 7d42f23d7d
commit 6eb4dbc578
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ SUBSYSTEM_DEF(jukeboxes)
var/list/L = splittext(S,"+")
T.song_name = L[1]
T.song_length = text2num(L[2])*10 //We multiply it by ten because the system requires it in deciseconds
T.song_beat = text2num(L[3])/6 //We divide it by six because it requires the Beats per seconds value, but in deciseconds. (Result/60) * 10)
T.song_beat = round(text2num(L[3])/6) //We divide it by six because it requires the Beats per seconds value, but in deciseconds. (Result/60) * 10)
T.song_associated_id = songID
songs |= T
songID++
+1 -3
View File
@@ -12,6 +12,4 @@ Every sound you add must have a unique name. Avoid using the plus sign "+" and t
Sound names must be in the format of [song name]+[length in seconds]+[beats per minute].ogg
A three minute song title "SS13" that lasted 3 minutes and had a BPM value of 120 would need the file name SS13+180+120.ogg
A final note: BPM divided by 6 must NEVER result in a decimal value. If a song has a BPM that results in a decimal when divided by 6, it will outright not work.
A three minute song title "SS13" that lasted 3 minutes and had a BPM value of 120 would need the file name SS13+180+120.ogg