Quest persistence pass
Quest persistence pass.
This commit is contained in:
26
_module/nss/cv_chk_150gp.nss
Normal file
26
_module/nss/cv_chk_150gp.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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;
|
||||
|
||||
}
|
Reference in New Issue
Block a user