11 lines
320 B
Plaintext
11 lines
320 B
Plaintext
|
int StartingConditional()
|
||
|
{
|
||
|
int nParm=GetLocalInt(GetPCSpeaker(),"nParm");
|
||
|
int nGold=GetGold(GetPCSpeaker());
|
||
|
if (nParm==28&&nGold>=1000) return TRUE;
|
||
|
if (nParm==29&&nGold>=5000) return TRUE;
|
||
|
if (nParm==30&&nGold>=10000) return TRUE;
|
||
|
if (nParm==31&&nGold>=20000) return TRUE;
|
||
|
return FALSE;
|
||
|
}
|