Namespaces
The following namespaces allow you to safely access processor symbols or variables.
ControlKind
This is actually an enum that serves the same purpose as the other namespaces. Gives you direct access to symbols such as @ctrlPlayer, @ctrlProcessor and @ctrlFormation.
ctrlPlayerctrlProcessorctrlFormation
Vars
Allows you to access processor variables.
this- The current processor.thisx- The x coordinates of this processor.thisy- The y coordinates of this processor.mapw- The width of the map.maph- The height of the map.links- The number of blocks linked to this processor.ipt- The amount of instructions run per secondunit- The unit currently bound to this processor.itemCount- Total amount of items existent, can be used to check if an item ID is validliquidCount- Total amount of liquids existent, can be used to check if a liquid ID is validunitCount- Total amount of units existent, can be used to check if an unit ID is validblockCount- Total amount of blocks existent, can be used to check if a block ID is validtick- The amount of ticks that happened since the map startedtime- The current UNIX timestamp in millisecondssecond- The amount of seconds that passed since the map startedminute- The amount of minutes that passed since the map startedwaveNumber- The number of the current wave, starts at 1;waveTime- The amount of seconds left before the next wave
Teams
Contais the base game teams
derelictshardedcruxmalisgreenblue
Items
Contains all items available
copperleadmetaglassgraphitesandcoaltitaniumthoriumscrapsiliconplastaniumphaseFabricsurgeAlloysporePodblastCompoundpyratiteberylliumtungstenoxidecarbidefissileMatterdormantCyst
Liquids
Contains all items available
waterslagoilcryofluidneoplasmarkycitegalliumozonehydrogennitrogencyanogen
Units
Contains all units available
daggermacefortressscepterreignnovapulsarquasarvelacorvuscrawleratraxspiroctarkyidtoxopidflarehorizonzenithantumbraeclipsemonopolymegaquadoctrissominkebrydeseiomuraretusaoxynoecyerceaegiresnavanaxalphabetagammastelllocuspreceptvanquishconquermeruicleroianthicustectacollariseludeavertobviatequelldisruptrenalelatumevokeinciteemanateblockmanifoldassemblyDrone
LAccess
This namespace contains all symbols that can be used to access properties of entities via the sense command. Although it exists you will more likely use the object property notation
totalItemsfirstItemtotalLiquidstotalPoweritemCapacityliquidCapacitypowerCapacitypowerNetStoredpowerNetCapacitypowerNetInpowerNetOutammoammoCapacityhealthmaxHealthheatefficiencyprogresstimescalerotationxyshootXshootYsizedeadrangeshootingboostingmineXmineYminingspeedteamtypeflagcontrolledcontrollernamepayloadCountpayloadTypeenabledconfigcolor
Blocks
Contains the available symbols for blocks.
graphitePressmultiPresssiliconSmeltersiliconCruciblekilnplastaniumCompressorphaseWeaversurgeSmeltercryofluidMixerpyratiteMixerblastMixermelterseparatordisassemblersporePresspulverizercoalCentrifugeincineratorsiliconArcFurnaceelectrolyzeratmosphericConcentratoroxidationChamberelectricHeaterslagHeaterphaseHeaterheatRedirectorheatRouterslagIncineratorcarbideCrucibleslagCentrifugesurgeCruciblecyanogenSynthesizerphaseSynthesizerheatReactorcopperWallcopperWallLargetitaniumWalltitaniumWallLargeplastaniumWallplastaniumWallLargethoriumWallthoriumWallLargephaseWallphaseWallLargesurgeWallsurgeWallLargedoordoorLargescrapWallscrapWallLargescrapWallHugescrapWallGiganticthrusterberylliumWallberylliumWallLargetungstenWalltungstenWallLargeblastDoorreinforcedSurgeWallreinforcedSurgeWallLargecarbideWallcarbideWallLargeshieldedWallmendermendProjectoroverdriveProjectoroverdriveDomeforceProjectorshockMineradarbuildTowerregenProjectorbarrierProjectorshockwaveTowershieldProjectorlargeShieldProjectorconveyortitaniumConveyorplastaniumConveyorarmoredConveyorjunctionbridgeConveyorphaseConveyorsorterinvertedSorterrouterdistributoroverflowGateunderflowGatemassDriverductarmoredDuctductRouteroverflowDuctunderflowDuctductBridgeductUnloadersurgeConveyorsurgeRouterunitCargoLoaderunitCargoUnloadPointmechanicalPumprotaryPumpimpulsePumpconduitpulseConduitplatedConduitliquidRouterliquidContainerliquidTankliquidJunctionbridgeConduitphaseConduitreinforcedPumpreinforcedConduitreinforcedLiquidJunctionreinforcedBridgeConduitreinforcedLiquidRouterreinforcedLiquidContainerreinforcedLiquidTankpowerNodepowerNodeLargesurgeTowerdiodebatterybatteryLargecombustionGeneratorthermalGeneratorsteamGeneratordifferentialGeneratorrtgGeneratorsolarPanelsolarPanelLargethoriumReactorimpactReactorbeamNodebeamTowerbeamLinkturbineCondenserchemicalCombustionChamberpyrolysisGeneratorfluxReactorneoplasiaReactormechanicalDrillpneumaticDrilllaserDrillblastDrillwaterExtractorcultivatoroilExtractorventCondensercliffCrusherplasmaBorelargePlasmaBoreimpactDrilleruptionDrillcoreShardcoreFoundationcoreNucleuscoreBastioncoreCitadelcoreAcropoliscontainervaultunloaderreinforcedContainerreinforcedVaultduoscatterscorchhailwavelancerarcparallaxswarmersalvosegmenttsunamifuseripplecycloneforeshadowspectremeltdownbreachdiffusesublimatetitandisperseafflictlustrescathesmitemaligngroundFactoryairFactorynavalFactoryadditiveReconstructormultiplicativeReconstructorexponentialReconstructortetrativeReconstructorrepairPointrepairTurretpayloadConveyorpayloadRouterreinforcedPayloadConveyorreinforcedPayloadRouterpayloadMassDriverpayloadPropulsionTowersmallDeconstructordeconstructorconstructorlargeConstructorpayloadLoaderpayloadUnloaderpowerSourcepowerVoiditemSourceitemVoidliquidSourceliquidVoidpayloadSourcepayloadVoidheatSourceilluminatorlaunchPadinterplanetaryAcceleratormessageswitchmicroProcessorlogicProcessorhyperProcessormemoryCellmemoryBanklogicDisplaylargeLogicDisplaycanvasworldProcessorworldCellsolidairspawncliffdeepWatershallowWatertaintedWaterdeepTaintedWaterdarksandTaintedWatersandWaterdarksandWatertarpooledCryofluidmoltenSlagspaceemptystonecraterStonecharbasalthotrockmagmarocksandFloordarksanddirtmuddaciterhyoliterhyoliteCraterroughRhyoliteregolithyellowStonecarbonStoneferricStoneferricCratersberyllicStonecrystallineStonecrystalFlooryellowStonePlatesredStonedenseRedStoneredIcearkyciteFloorarkyicStonerhyoliteVentcarbonVentarkyicVentyellowStoneVentredStoneVentcrystallineVentredmatbluematgrasssaltsnowiceiceSnowshalemosscoreZonesporeMossstoneWallsporeWalldirtWalldaciteWalliceWallsnowWallduneWallregolithWallyellowStoneWallrhyoliteWallcarbonWallferricStoneWallberyllicStoneWallarkyicWallcrystallineStoneWallredIceWallredStoneWallredDiamondWallsandWallsaltWallshrubsshaleWallsporePinesnowPinepinewhiteTreeDeadwhiteTreesporeClusterredweedpurBushyellowcoralbouldersnowBouldershaleBouldersandBoulderdaciteBoulderbasaltBouldercarbonBoulderferricBoulderberyllicBoulderyellowStoneBoulderarkyicBouldercrystalClustervibrantCrystalClustercrystalBlockscrystalOrbscrystallineBoulderredIceBoulderrhyoliteBoulderredStoneBouldermetalFloormetalFloorDamagedmetalFloor2metalFloor3metalFloor4metalFloor5darkPanel1darkPanel2darkPanel3darkPanel4darkPanel5darkPanel6darkMetalpebblestendrilsoreCopperoreLeadoreScraporeCoaloreTitaniumoreThoriumoreBerylliumoreTungstenoreCrystalThoriumoreWallThoriumoreWallBerylliumgraphiticWalloreWallTungsten
MlogJS