private BuildList PowerPylons() { BuildList result = new BuildList(); result.If(() => { return(Minerals() >= 300 && Count(UnitTypes.STARGATE) < 3 && Count(UnitTypes.CYBERNETICS_CORE) > 0 && Count(UnitTypes.PHOTON_CANNON) >= 4 && Count(UnitTypes.PYLON) < 5 && Count(UnitTypes.PYLON) == Completed(UnitTypes.PYLON)); }); result.Building(UnitTypes.PYLON); result.Goto(0); return(result); }