RoT2_PRC8/_module/nss/shower.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

22 lines
1.4 KiB
Plaintext

void main()
{
object SK = GetObjectByTag("stringkeep");
object user = GetLastUsedBy();
AssignCommand(user,ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CHEST,user)));
DelayCommand(1.0,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
DelayCommand(1.5,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_BORED,5.0)));
DelayCommand(2.0,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
DelayCommand(3.0,PlayVoiceChat(VOICE_CHAT_LAUGH,user));
DelayCommand(3.0,AssignCommand(user,SpeakString("La-la-la")));
DelayCommand(4.0,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
DelayCommand(4.5,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_BORED,5.0)));
DelayCommand(5.0,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
DelayCommand(5.5,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
DelayCommand(6.0,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_BORED,5.0)));
DelayCommand(6.5,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
DelayCommand(7.0,PlayVoiceChat(VOICE_CHAT_TASKCOMPLETE,user));
DelayCommand(8.0,AssignCommand(user,ClearAllActions()));
DelayCommand(9.5,SendMessageToPC(user,"You are clean..."));
}