Thanks a lot ! Just a quick question about the first thing, when you write unlock_condition="persistent.seen_chapter1", does it mean that unlock_condition will always be equal to the current value of persistent.seen_chapter1 ? So it will be automatically updated when seen_chapter1 is updated ?
Cloonesk
2
Posts
1
Topics
Recent community posts
Extended Music Room for Ren'Py community · Created a new topic Specific unlocking condition for music + notification
Hello there,
Your music room code is doing wonders, thanks a lot for that ! However, I would like to implement 2 additional things, and I'm not sure what I should modify:
- the first thing would be to have a specific unlocking condition for some of the music: basically, the song would be unlocked the following chapter it was heard for the first time. So I would have a dict storing the locked status of these songs but I'm not sure where in the code I should query this dict.
- the second thing would be to display a notification pop-up when the next song starts playing. I suppose I should be using the current_track variable somehow ?
Thanks a lot for your help!