20 lines
923 B
Plaintext
20 lines
923 B
Plaintext
void main()
|
|
{
|
|
object SK = GetObjectByTag("stringkeep");
|
|
object chair = OBJECT_SELF;
|
|
object user = GetLastUsedBy();
|
|
object up = GetNearestObjectByTag("uppoint");
|
|
AssignCommand(user,ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CHEST,user)));
|
|
AssignCommand(user,SpeakString("Time to lighten my load..."));
|
|
DelayCommand(1.0,AssignCommand(user,ActionSit(chair)));
|
|
DelayCommand(3.0,PlayVoiceChat(VOICE_CHAT_PAIN3,user));
|
|
DelayCommand(3.0,AssignCommand(user,SpeakString("[STRAIN !]")));
|
|
effect poo = EffectVisualEffect(VFX_COM_CHUNK_YELLOW_SMALL);
|
|
DelayCommand(4.0,ApplyEffectToObject(DURATION_TYPE_INSTANT,poo,chair));
|
|
DelayCommand(5.0,AssignCommand(user,PlaySound("as_na_splash1")));
|
|
DelayCommand(7.0,PlayVoiceChat(VOICE_CHAT_TASKCOMPLETE,user));
|
|
DelayCommand(8.0,AssignCommand(user,ClearAllActions()));
|
|
DelayCommand(8.3,AssignCommand(user,ActionForceMoveToObject(up,TRUE)));
|
|
DelayCommand(9.0,SetLocalInt(SK,"shittime",0));
|
|
}
|