multimokia / MAS-Submod-Nightmusic

Allows Monika to play a song or a playlist of songs for the two of you to relax in the evening.
5 stars 2 forks source link

Hi, just wanted to ask how something #2

Open AnIdiotsavant opened 4 years ago

AnIdiotsavant commented 4 years ago

how do I set my night music genre? and how do I set it only to work in certain weather, like this jazz one that I only want to play when its rainy and such

multimokia commented 4 years ago

Are you on Windows? If so you can right-click your mp3 file and select properties, then navigate to the details tab. From there, you'll see an item in a table named Genre, you'll be able to edit this value by clicking into it.

If you wanted to have it only run during rainy weather, MAS has a global variable for whether or not it's raining. Ideally a condition of store.mas_is_raining would work for what you want

AnIdiotsavant commented 4 years ago

is there a list of other codes we can also use? I think it would be a nice addition if there was a list of codes to use for the genre property

multimokia commented 4 years ago

The entirety of the MAS API is at your disposal. Any functions that exist in MAS can be used here.

AnIdiotsavant commented 4 years ago

oh okay! Thank you! Can I ask where can I check the API? I don't know where to check where it is

multimokia commented 4 years ago

Just look through the source code for MAS. That's effectively the API. Those functions and variables are all parts of it.