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

52 lines
871 B
Plaintext

/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.6
For download info, please visit:
http://www.lilacsoul.revility.com */
void main()
{
object oPC;
oPC = GetItemActivator();
AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0f, 5.0f));
AssignCommand(oPC, ActionSpeakString("*scoop Puddlebrain back into flask*"));
object oTarget;
oTarget=GetHenchman(oPC);
RemoveHenchman(oPC, oTarget);
DestroyObject(oTarget);
oTarget = GetObjectByTag("puddlebrain");
AddHenchman(oPC, oTarget);
oTarget=GetHenchman(oPC);
if (GetTag(oTarget)=="ZEP_ELEMOOZES")
{
RemoveHenchman(oPC, oTarget);
}
DestroyObject(oTarget);
oTarget=GetHenchman(oPC);
if (GetTag(oTarget)=="ZEP_ELEMOOZES")
{
RemoveHenchman(oPC, oTarget);
}
DestroyObject(oTarget);
oTarget = GetObjectByTag("ZEP_ELEMOOZES");
AddHenchman(oPC, oTarget);
}