Prototype/Radar: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(0.17)
Line 23: Line 23:
'''Type''': [[Types/EnergySource]]
'''Type''': [[Types/EnergySource]]


The energy source for this radar. Must be an electric energy source.
The energy source for this radar.


=== pictures ===
=== pictures ===
Line 37: Line 37:
=== radius_minimap_visualisation_color ===
=== radius_minimap_visualisation_color ===
'''Type''': [[Types/Color]]
'''Type''': [[Types/Color]]
=== rotation_speed ===
'''Type''': [[Types/double]]
'''Default''': 0.01

Revision as of 14:31, 27 March 2019

Basics

Prototype type: radar

A radar. Based on Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

energy_usage

Type: Types/Energy

The amount of energy this radar uses.

energy_per_sector

Type: Types/Energy

The amount of energy it takes to scan a sector.

energy_per_nearby_scan

Type: Types/Energy

energy_source

Type: Types/EnergySource

The energy source for this radar.

pictures

Type: Types/RotatedSprite

max_distance_of_sector_revealed

Type: Types/uint32

max_distance_of_nearby_sector_revealed

Type: Types/uint32

Optional properties

radius_minimap_visualisation_color

Type: Types/Color

rotation_speed

Type: Types/double

Default: 0.01