Battledale_PRC8/_module/nss/jw_pr_enter.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

29 lines
823 B
Plaintext

void main()
{
object oPC=GetEnteringObject();
if (GetIsPC(oPC))
{
ExploreAreaForPlayer(OBJECT_SELF,oPC);
if ((GetLevelByClass(CLASS_TYPE_RANGER,oPC)>0)&&(!GetIsObjectValid(GetItemPossessedBy(oPC,"trackertool"))))
{
CreateItemOnObject("trackertool",oPC,1);
SendMessageToPC(oPC,"You have acquired a ranger's tracking tool. Put it in a quickslot to use it");
}
if ((GetLevelByClass(CLASS_TYPE_PALADIN,oPC)>0)&&(!GetIsObjectValid(GetItemPossessedBy(oPC,"jw_pal_sym"))))
{
CreateItemOnObject("jw_pal_sym",oPC,1);
SendMessageToPC(oPC,"You have acquired a paladin's holy symbol. Put it in a quickslot to use it");
}
if (GetIsObjectValid(GetItemPossessedBy(oPC,"NW_HEN_GRIPERS")))
{
AssignCommand(oPC,JumpToObject(GetWaypointByTag("jw_moondrow_wp")));
}
}
}