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

15 lines
457 B
Plaintext

/////////////////////////////////////
// Dragon's Edge
// by Charly Carlos
/////////////////////////////////////
// Check if the player does not have enough gold to pay a room at an inn dictated by the
// variable "nRent_Price" placed in an innkeeper creature object.
/////////////////////////////////////
int StartingConditional()
{
int iResult;
iResult = (GetGold(GetPCSpeaker()) < GetLocalInt(OBJECT_SELF, "nRent_Price"));
return iResult;
}