MMD_PRC8/_module/nss/rest_inn.nss
Jaysyn904 adeff59f82 Initial commit
Initial commit.
2024-08-02 23:18:00 -04:00

20 lines
492 B
Plaintext

#include "prc_inc_util"
void main()
{
object oPC = GetPCSpeaker();
PRCForceRest(oPC);
FadeToBlack(oPC,FADE_SPEED_FAST);
DelayCommand(6.0f,FadeFromBlack(oPC,FADE_SPEED_FAST));
SetLocalInt(oPC,"ate",1);
SetLocalInt(oPC,"drank",1);
int nHour = GetTimeHour();
int nMinute = GetTimeMinute();
int nSecond = GetTimeSecond();
int nMillisecond = GetTimeMillisecond();
nHour += 8;
SetTime(nHour, nMinute, nSecond, nMillisecond);
}