PoA_PRC8/_module/nss/sfpb_d_fail.nss

15 lines
406 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
//::///////////////////////////////////////////////
//:: Scarface's Persistent Banking
//:: sfpb_d_fail
//:://////////////////////////////////////////////
/*
Written By Scarface
*/
//////////////////////////////////////////////////
int StartingConditional()
{
// Check if the player has enough gold to bank
return(GetGold(GetPCSpeaker()) < StringToInt(GetLocalString(OBJECT_SELF, "GOLD")));
}