27 lines
606 B
Plaintext
27 lines
606 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: cv_chk_150gp.nss
|
||
|
//:: Copyright (c) 2022 Project RATDOG
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Checks to see if the PC has 150gp.
|
||
|
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: 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 150 gp.
|
||
|
if ( GetGold(oPC) < 150 )
|
||
|
return FALSE;
|
||
|
|
||
|
return TRUE;
|
||
|
|
||
|
}
|