#include "x0_i0_partywide"
#include "nw_i0_plot"
void main()
{
  object oPC = GetEnteringObject();
  object oPC2;
  if (!GetIsPC(oPC)) return;

  //Get party size and store as local int.
  int nPartySize = 1;
  //nPartySize = GetNumberPartyMembers(oPC);
  oPC2 = GetFirstPC();
   while (GetIsObjectValid(oPC2))
    {
       nPartySize = nPartySize +1;
       oPC2 = GetNextPC();
    }
  SetPLocalInt(oPC, "intPartySize", nPartySize);


    object oTarget;
    oTarget = GetObjectByTag("c52Statue");
    AssignCommand(oPC, ClearAllActions());
    AssignCommand(oTarget, ActionStartConversation(oPC, "c52nahualtalk"));
    string sName;
    sName =GetPCPlayerName(oPC);
    SetCustomToken(100, sName);
    SetLocalStringOnAll(oPC, "c52StatueName", GetPCPlayerName(oPC));
}
