///////////////////////////////////// // Dragon's Edge // by Charly Carlos ///////////////////////////////////// // Check if the player has 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; }