generated from Jaysyn/ModuleTemplate
15 lines
457 B
Plaintext
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;
|
|
}
|