generated from Jaysyn/ModuleTemplate
15 lines
428 B
Plaintext
15 lines
428 B
Plaintext
///////////////////////////////
|
|
// Dragon's Edge
|
|
// by Charly Carlos
|
|
///////////////////////////////
|
|
// Used during conversation. Checking if the player has atleast enough gold
|
|
// dictated by the variable nGoldRequired placed in the creature.
|
|
///////////////////////////////
|
|
int StartingConditional()
|
|
{
|
|
int iResult;
|
|
|
|
iResult = (GetGold(GetPCSpeaker())>= GetLocalInt(OBJECT_SELF, "nGoldRequired"));
|
|
return iResult;
|
|
}
|