RATDOG/_module/nss/sc_109.nss

27 lines
684 B
Plaintext
Raw Normal View History

//::///////////////////////////////////////////////
//:: FileName sc_109
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/8/2005 3:21:37 PM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
int StartingConditional()
{
//: Declare major variables
object oPC = GetPCSpeaker();
int nGP = GetGold(oPC);
//:: Check to see if the PC has 1000 gp.
if ( GetGold(oPC) < 1000 )
return FALSE;
// Make sure the PC speaker has these items in their inventory
if(!HasItem(GetPCSpeaker(), "TeakwoodBox"))
return FALSE;
return TRUE;
}