13 lines
314 B
Plaintext
13 lines
314 B
Plaintext
|
#include "uc_h"
|
||
|
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
object oPC=GetPCSpeaker();
|
||
|
int nBase=GetLocalInt(oPC,"nUCBase");
|
||
|
string sID=GetLocalString(oPC,"sTeamID");
|
||
|
int nUnit=GetLocalInt(oPC,"nParm");
|
||
|
int nNumber=nBase+nUnit;
|
||
|
if (!HasSufficientResources(oPC,nNumber,1)) return TRUE;
|
||
|
return FALSE;
|
||
|
}
|