Number of storage modules. Allows for storage of mineral crystals and energy globes.
Number of missile batteries. Allows for firing homing missiles.
Number of constructors. Allows for constructing new drones and moving minerals from/to other drones.
Number of engines. Increases move speed.
Number of shield generators. Gives the drone an additional 7 hitpoints each. Shields regenerate over time.
Returns the number of timesteps it will take to build a drone of this size.
Returns the number of timesteps it will take to build a drone of this size. This time will be reduced if the constructing drone has more than one constructor module, e.g. with two constructor modules it will take half as long.
Number of constructors.
Number of constructors. Allows for constructing new drones and moving minerals from/to other drones.
Number of engines.
Number of engines. Increases move speed.
Returns the amount of hitpoints that a drone with this spec will have when it is at full health.
Returns the speed of a drone with this spec, measured in units distance per timestep.
Number of missile batteries.
Number of missile batteries. Allows for firing homing missiles.
Total number of modules.
Returns the radius
for a drone with this spec.
Returns the radius
for a drone with this spec.
The radius
is used to compute collisions with projectiles or other drones.
Returns the amount of resources it will cost to build a drone with this spec.
Number of shield generators.
Number of shield generators. Gives the drone an additional 7 hitpoints each. Shields regenerate over time.
The number of sides that the drone will have.
The number of sides that the drone will have. E.g. a drone with two modules will be rectangular shaped and therefore has 4 sides.
Number of storage modules.
Number of storage modules. Allows for storage of mineral crystals and energy globes.
Returns the weight of a drone with this spec.
Returns the weight of a drone with this spec. Weight increases with sides and module count and a higher weight leads to a slower movement speed.
Returns a copy of this object with constructors
set to the specified value.
Returns a copy of this object with engines
set to the specified value.
Returns a copy of this object with missileBatteries
set to the specified value.
Returns a copy of this object with shieldGenerators
set to the specified value.
Returns a copy of this object with storageModules
set to the specified value.
Specifies the modules equipped by a drone and computes various properties of a Drone with this configuration of modules.
Currently, the total number of modules is currently limited to 10 but this restriction will likely be lifted in the future.
Number of storage modules. Allows for storage of mineral crystals and energy globes.
Number of missile batteries. Allows for firing homing missiles.
Number of constructors. Allows for constructing new drones and moving minerals from/to other drones.
Number of engines. Increases move speed.
Number of shield generators. Gives the drone an additional 7 hitpoints each. Shields regenerate over time.