PoA_PRC8/module/nss/arrowhead.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

20 lines
638 B
Plaintext

void main()
{
object ranger = GetEnteringObject();
int a =GetLevelByClass(CLASS_TYPE_RANGER,ranger);
if (a <= 25)
{
SendMessageToPC(ranger, "You notice a crude carving of an Arrowhead in the crystal.");
}
if (a == 30 && GetItemPossessedBy(ranger, "Arrowhead") != OBJECT_INVALID)
{
DestroyObject(GetItemPossessedBy(ranger, "Arrowhead"));
location crumble = GetLocation(GetWaypointByTag("ranger2"));
SendMessageToPC(ranger, "You notice a crude carving of an arrow in the crystal. As you place the arrowhead in the crystal you are teleported!");
DelayCommand(3.0, AssignCommand(ranger, JumpToLocation(crumble)));
}
}