RATDOG/_module/nss/sc_109.nss
Jaysyn904 ee912d2da9 Quest persistence work
Quest persistence work.
2022-07-06 00:35:22 -04:00

27 lines
684 B
Plaintext

//::///////////////////////////////////////////////
//:: 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;
}