Rune_PRC8/_module/nss/jukebox_mus19.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

19 lines
642 B
Plaintext

// City Wealthy
#include "jukebox_include"
void main()
{
MusicBackgroundStop(GetArea(OBJECT_SELF));
MusicBackgroundChangeDay(GetArea(OBJECT_SELF), 19);
MusicBackgroundChangeNight(GetArea(OBJECT_SELF), 19);
MusicBackgroundPlay(GetArea(OBJECT_SELF));
if (ANTI_FLOOD_ACTIVATED != "")
SpeakString(ANTI_FLOOD_ACTIVATED);
SetLocalInt(OBJECT_SELF, "NOCHANGE", TRUE);
if (ANTI_FLOOD_DELAY < 60.0) ANTI_FLOOD_DELAY = 60.0;
DelayCommand(ANTI_FLOOD_DELAY, DeleteLocalInt(OBJECT_SELF, "NOCHANGE"));
if (ANTI_FLOOD_DEACTIVATED != "")
DelayCommand(ANTI_FLOOD_DELAY, SpeakString(ANTI_FLOOD_DEACTIVATED));
}