12 lines
253 B
Plaintext
12 lines
253 B
Plaintext
|
int StartingConditional()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
object oItem = GetLocalObject(oPC, "MODIFY_ITEM");
|
||
|
|
||
|
int iValue = GetGoldPieceValue(oItem);
|
||
|
int iGold = GetGold(oPC);
|
||
|
|
||
|
if (iValue < iGold) return TRUE;
|
||
|
else return FALSE;
|
||
|
}
|