RATDOG/_module/nss/cv_chk_1000gp.nss

27 lines
610 B
Plaintext
Raw Normal View History

//::///////////////////////////////////////////////
//:: cv_chk_1000gp.nss
//:: Copyright (c) 2022 Project RATDOG
//:://////////////////////////////////////////////
/*
Checks to see if the PC has 1000gp.
*/
//:://////////////////////////////////////////////
//:: Created By: Tolen
//:: Created On: 8/21/2005 4:12:07 PM
//:://////////////////////////////////////////////
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;
return TRUE;
}