#include "uc_h"

int StartingConditional()
{
    object oPC=GetPCSpeaker();
    string sID=GetLocalString(oPC,"sTeamID");
    int nParm=GetLocalInt(oPC,"nParm");
    int nMe=GetLocalInt(OBJECT_SELF,"nUnitNum");
    int nUpTo=GetUnitUpgradeNumber(sID,nMe,nParm);
    return !HasSufficientResources(oPC,nUpTo,1,nMe);
}