Prototype/MiningDrill
Basics
A mining drill. Based on Prototype/EntityWithHealth.
Properties
This prototype inherits the properties of Prototype/EntityWithHealth.
animations
Type: Map of Types/string -> Types/Animation
The animations to use. Should look like this:
animations = { north = { ... animation goes here ... }, south = { ... animation goes here ... }, east = { ... animation goes here ... }, west = { ... animation goes here ... } }
mining_speed
Type: Types/double
The speed of this drill. Electric mining drills have 0.5. Burner mining drills have 0.35.
energy_source
Type: Types/EnergySource
The energy source of this mining drill.
energy_usage
Type: Types/EnergyPower
The amount of energy used by the drill while mining.
mining_power
Type: Types/double
Unknown. Burner mining drills have 3.5. Electric mining drills have 3.
resource_searching_radius
Type: Types/double
The distance from the centre of the mining drill to search for resources in.
This is 2.49 for electric mining drills (a 5x5 area) and 0.99 for burner mining drills (a 2x2 area). There is presumably a reason that these are not 2.5 and 1.0.
vector_to_place_result
Type: Types/vector
The position where the result is placed, when the mining drill is facing south (?).
module_slots
Type: Types/unsigned
The number of module slots.
radius_visualization_picture
Type: Types/Sprite
The sprite used to show the range of the mining drill.