14 lines
358 B
Plaintext
14 lines
358 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC=GetEnteringObject();
|
||
|
object oDest=GetWaypointByTag("CRYPT_PELIOS_FINAL");
|
||
|
if (GetIsPC(oPC)==TRUE)
|
||
|
{ // is a PC
|
||
|
if (GetItemPossessedBy(oPC,"GemofPelios")!=OBJECT_INVALID)
|
||
|
{ // has the item
|
||
|
AssignCommand(oPC,ClearAllActions());
|
||
|
AssignCommand(oPC,JumpToObject(oDest));
|
||
|
} // has the item
|
||
|
} // is a PC
|
||
|
}
|