generated from Jaysyn/ModuleTemplate
52 lines
871 B
Plaintext
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);
|
|
|
|
}
|
|
|