30 lines
895 B
Plaintext
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;
|
|
}
|