I have sound turned on and when I use a verb that is supposed to play a song I pick nothing gets outputted.
Here is the coding for the list of songs and the verbs that are used to call the songs.
var/list/Blues = list("A_Touch_Of_Blues.mid","Count_On_The_Blues.mid","Cressroads_Blues.mid","Goin_Up_The_Country.mid")
var/list/Country = list("Achy_Breaky_Heart.mid","I_Fall_To_Pieces.mid","Tennessee_Waltz.mid","Welcome_To_My_World.mid")
var/list/Rap = list("Aint_Nuthin_But_A_G_Thang.mid","Forgot_About_Dre.mid","Guilty_Conscience.mid","The_Way_I_Am.mid")
var/list/Rock = list("Beat_It.mid","Black_or_White.mid","Carribean_Blue.mid","Maria.mid")
var/list/Folk = list("Arkansas_Traveler.mid","Battle_Of_New_Orleans.mid","Black_Mountain_Rag.mid","Fishers_Hornpipe.mid")
mob/music/verb
Blues(mob/M)
set category = ("Music")
var/song = input("What 'Blues' song would you like to play?") in Blues
M << sound(song,0)
Country(mob/M)
set category = ("Music")
var/song = input("What 'Country' song would you like to play?") in Country
M << sound(song,0)
Rap(mob/M)
set category = ("Music")
var/song = input("What 'Rap' song would you like to play?") in Rap
M << sound(song,0)
Rock(mob/M)
set category = ("Music")
var/song = input("What 'Rock' song would you like to play?") in Rock
M << sound(song,0)
Folk(mob/M)
set category = ("Music")
var/song = input("What 'Folk' song would you like to play?") in Folk
M << sound(song,0)
area/music
Blue
Entered(mob/M)
M:verbs += /mob/music/verb/Blues
Exited(mob/M)
M:verbs -= /mob/music/verb/Blues
Country
Entered(mob/M)
M:verbs += /mob/music/verb/Country
Exited(mob/M)
M:verbs -= /mob/music/verb/Country
Rap
Entered(mob/M)
M:verbs += /mob/music/verb/Rap
Exited(mob/M)
M:verbs -= /mob/music/verb/Rap
Rock
Entered(mob/M)
M:verbs += /mob/music/verb/Rock
Exited(mob/M)
M:verbs -= /mob/music/verb/Rock
Folk
Entered(mob/M)
M:verbs += /mob/music/verb/Folk
Exited(mob/M)
M:verbs -= /mob/music/verb/Folk
I hope someone can help me...
--Lee
var/list/Blues = list("A_Touch_Of_Blues.mid","Count_On_The_Blues.mid","Cressr oads_Blues.mid","Goin_Up_The_Country.mid")
should be:
var/list/Blues = list('A_Touch_Of_Blues.mid','Count_On_The_Blues.mid','Cressr oads_Blues.mid','Goin_Up_The_Country.mid')