Files
HeroesStone_PRC8/_module/nss/de1_chkgoldn.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

15 lines
433 B
Plaintext

///////////////////////////////
// Dragon's Edge
// by Charly Carlos
///////////////////////////////
// Used during conversation. Checking if the player's gold is less than the value
// dictated by the variable nGoldRequired placed in the creature.
///////////////////////////////
int StartingConditional()
{
int iResult;
iResult = (GetGold(GetPCSpeaker())< GetLocalInt(OBJECT_SELF, "nGoldRequired"));
return iResult;
}