PoA_PRC8/_module/nss/arrowhead.nss
Jaysyn904 8d97886c3f Changed folder name.
Changed folder name.
2022-10-07 21:08:37 -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)));
}
}