 #include "nw_i0_plot"
void main()
{

object oPC = GetEnteringObject();

if (!GetIsPC(oPC)) return;
//Set weight and counter weight
//int nWeight2;
//int nInt;
//nInt = GetPLocalInt(oPC, "intWeight");
//
//nInt += 1;
//nWeight2 = GetPLocalInt(oPC, "intCounterWeight");
//SetPLocalInt(oPC, "intWeight", nInt);
//
//nInt=GetPLocalInt(oPC, "intCounterWeight");
//
//if (nInt >= 1)
//  {
//   nInt = GetPLocalInt(oPC, "intCounterWeight");
//
//   nInt -= 1;
//
//   SetPLocalInt(oPC, "intCounterWeight", nInt);
//
//   }
//
//if (nInt >  nWeight2)
//    {
    //Activate trap
    object oTarget;
    oTarget = GetObjectByTag("c19Door");

    AssignCommand(oTarget, ActionCloseDoor(oTarget));

    oTarget = GetObjectByTag("c19Door");

    DelayCommand(1.0, SetLocked(oTarget, TRUE));
    FloatingTextStringOnCreature("This section of the floor is raised up about 2'.  It suddenly sinks slightly and the section of the floor just outside the alcove raises up like a drawbridge sealing the chamber.'", oPC, TRUE);

//    }


}
