Changed folder name.
Changed folder name.
This commit is contained in:
20
_module/nss/arrowhead.nss
Normal file
20
_module/nss/arrowhead.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
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)));
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user