Files
HeroesStone_PRC8/_module/nss/wsm_sc_stripper3.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

72 lines
2.2 KiB
Plaintext

string sDeny;
//Goes OnPerceived of a creature
void main()
{
object oPC = GetLastPerceived();
if (!GetIsPC(oPC)) return;
if (!GetLastPerceptionSeen()) return;
if (GetItemPossessedBy(oPC, "wsm_it_peep")== OBJECT_INVALID)
{
sDeny="Hey!! Nothing is for free!!";
SendMessageToPC(oPC, sDeny);
return;
}
object oTarget;
oTarget = GetObjectByTag("wsm_it_peep");
DestroyObject(oTarget, 0.0);
ActionSpeakString("Sit back and enjoy the show!");
ActionPlayAnimation(ANIMATION_FIREFORGET_TAUNT,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_BOW,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_VICTORY2,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_BOW,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_WORSHIP,1.0);
string sMyCloths7 = "MyCloths7";
object oMyCloths7 = GetObjectByTag(sMyCloths7);
ActionEquipItem(oMyCloths7, INVENTORY_SLOT_CHEST);
ActionPlayAnimation(ANIMATION_FIREFORGET_TAUNT,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_BOW,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_VICTORY2,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_BOW,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_WORSHIP,1.0);
string sMyCloths8 = "MyCloths8";
object oMyCloths8 = GetObjectByTag(sMyCloths8);
ActionEquipItem(oMyCloths8, INVENTORY_SLOT_CHEST);
ActionPlayAnimation(ANIMATION_LOOPING_WORSHIP,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_VICTORY2,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_GET_MID,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_TALK_FORCEFUL,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_BOW,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_TALK_PLEADING,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_TAUNT,1.0);
ActionPlayAnimation(ANIMATION_LOOPING_WORSHIP,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_VICTORY2,1.0);
ActionPlayAnimation(ANIMATION_FIREFORGET_BOW,1.0);
string sMyCloths6 = "MyCloths6";
object oMyCloths6 = GetObjectByTag(sMyCloths6);
ActionEquipItem(oMyCloths6, INVENTORY_SLOT_CHEST);
ActionSpeakString("Hope you got your moneys worth!");
}