/*   Script generated by
Lilac Soul's NWN Script Generator, v. 1.6

For download info, please visit:
http://www.lilacsoul.revility.com    */

//Put this OnEnter
void main()
{

object oPC = GetEnteringObject();

if (!GetIsPC(oPC)) return;

int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));

if (DoOnce==TRUE) return;

SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
FloatingTextStringOnCreature("In the middle of room is a lumpy pile of earthy material.  The material opens one eye, and then another and another until there are many eyes stairing at you. All about the eyes are ganged drooling mouths that beging to babble.", oPC, TRUE);




DelayCommand(6.0, FloatingTextStringOnCreature("The stone beneath you becomes soft almost like quicksand.", oPC));

object oCaster;
oCaster = GetObjectByTag("GibberingMouther");

object oTarget;
oTarget = oPC;

DelayCommand(5.0, AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_GREASE, oTarget, METAMAGIC_ANY, TRUE, 5, PROJECTILE_PATH_TYPE_DEFAULT, TRUE)));

}
