27 lines
684 B
Plaintext
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;
|
|
}
|