WoR_PRC8/_module/nss/quest_rang_b.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

30 lines
895 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName quest_rang_b
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 2003-10-01 6:10:27 PM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
int StartingConditional()
{
// Restrict based on the player's class
int iPassed = 0;
if(GetLevelByClass(CLASS_TYPE_DRUID, GetPCSpeaker()) >= 1)
iPassed = 1;
if((iPassed == 0) && (GetLevelByClass(CLASS_TYPE_RANGER, GetPCSpeaker()) >= 1))
iPassed = 1;
if(iPassed == 0)
return FALSE;
// Make sure the PC speaker has these items in their inventory
if(!HasItem(GetPCSpeaker(), "RHUN_RNGR_QST1"))
return FALSE;
if((!HasItem(GetPCSpeaker(), "RHUN_RECALL_1")) == FALSE)
return FALSE;
return TRUE;
}