PoA_PRC8/_module/nss/rangersecret.nss
Jaysyn904 8d97886c3f Changed folder name.
Changed folder name.
2022-10-07 21:08:37 -04:00

18 lines
645 B
Plaintext

void main()
{
object ranger = GetEnteringObject();
int a =GetLevelByClass(CLASS_TYPE_RANGER, ranger);
if (a <= 19){
SendMessageToPC(ranger, "You notice a crude carving of a broken arrow in the floor.");
}
if (a >= 20 && GetItemPossessedBy(ranger, "BrokenArrow") != OBJECT_INVALID)
{
DestroyObject(GetItemPossessedBy(ranger, "BrokenArrow"));
location crumble = GetLocation(GetWaypointByTag("ranger1"));
FloatingTextStringOnCreature("You notice a crude carving of a broken arrow in the floor. As you begin to investigate, the floor crumbles beneath you!", ranger, FALSE);
DelayCommand(2.0, AssignCommand(ranger, JumpToLocation(crumble)));
}
}