generated from Jaysyn/ModuleTemplate
13 lines
272 B
Plaintext
13 lines
272 B
Plaintext
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
// Reject player if they don't have 'iRequiredGold' gold
|
|
int iRequiredGold = GetLocalInt(OBJECT_SELF,"RequiredGold");
|
|
int iGold = GetGold(oPC);
|
|
if(iGold < iRequiredGold)
|
|
{
|
|
return FALSE;
|
|
}
|
|
return TRUE;
|
|
}
|