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