Returns true if this drone is an enemy, false if it is one of your own drones.
Returns whether this drone is within the sight radius of any of your drones.
The orientation of this drone at the last time it was seen by any of your drones.
The position of this drone at the last time it was seen by any of your drones.
Returns the number of free storage capacity.
Returns the number of constructor modules
Returns a string that encodes various properties of the drone.
Returns the number of engine modules
Returns the current number of hitpoints, including shields.
Returns true if this drone is currently constructing another drone.
Returns true if this drone is dead, false otherwise.
Returns true if this drone is currently harvesting a mineral.
Returns true of this drone has a movement command active or queued up, false otherwise.
Returns the amount of hitpoints at full health.
Returns the drone's maximum speed.
Returns the number of missile battery modules.
Returns the drone's homing missile cooldown.
Returns the drones orientation in radians.
Returns the identifier of the player that owns this drone.
Returns the drone's position.
Returns the number of shield generator modules
Draws the specified text at the position of the drone on this timestep.
Returns an object that specifies how many copies of each module the drone has.
Returns an object that specifies how many copies of each module the drone has.
Returns the number of storage modules.
Returns the amount of resources store by this drone.
Returns the total amount of resources available to this drone.
Returns the total amount of resources available to this drone. This includes any mineral crystals that are small enough to be processed by this drone.
(Since version 0.2.4.0) Use storedResources
instead.
(Since version 0.2.4.3) Use missileCooldown instead.