Files
HeroesStone_PRC8/_module/nss/wsm_sc_stripper.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 sMyCloths = "MyCloths";
object oMyCloths = GetObjectByTag(sMyCloths);
ActionEquipItem(oMyCloths, 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 sMyCloths1 = "MyCloths1";
object oMyCloths1 = GetObjectByTag(sMyCloths1);
ActionEquipItem(oMyCloths1, 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 sMyCloths2 = "MyCloths2";
object oMyCloths2 = GetObjectByTag(sMyCloths2);
ActionEquipItem(oMyCloths2, INVENTORY_SLOT_CHEST);
ActionSpeakString("Hope you got your moneys worth!");
}