12 lines
347 B
Plaintext
12 lines
347 B
Plaintext
|
int StartingConditional()
|
||
|
{
|
||
|
object oPC=GetPCSpeaker();
|
||
|
object oMe=GetLocalObject(oPC,"oLairExtend");
|
||
|
int nCost=GetLocalInt(oMe,"nCost");
|
||
|
string sTitle=GetLocalString(oMe,"sTitle");
|
||
|
SetCustomToken(9535,IntToString(nCost));
|
||
|
SetCustomToken(9536,sTitle);
|
||
|
if (GetGold(GetPCSpeaker())<nCost) return TRUE;
|
||
|
return FALSE;
|
||
|
}
|