HoS_PRC8/_mod/_module/nss/lair_xc_notenoug.nss

12 lines
347 B
Plaintext
Raw Permalink Normal View History

2024-11-25 19:36:07 -05:00
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;
}