Initial upload
Initial upload
This commit is contained in:
15
_module/nss/rangersecret.nss
Normal file
15
_module/nss/rangersecret.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
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"));
|
||||
SendMessageToPC(ranger, "You notice a crude carving of a broken arrow in the floor. As you begin to investigate, the floor crumbles beneath you!");
|
||||
DelayCommand(3.0, AssignCommand(ranger, JumpToLocation(crumble)));
|
||||
|
||||
} }
|
Reference in New Issue
Block a user