Prototype/Radar: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.16)
(Changed links going to the redirect Types/uint to go to Types/uint32.)
Line 27: Line 27:


=== max_distance_of_sector_revealed ===
=== max_distance_of_sector_revealed ===
'''Type''': [[Types/uint]]
'''Type''': [[Types/uint32]]


=== max_distance_of_nearby_sector_revealed ===
=== max_distance_of_nearby_sector_revealed ===
'''Type''': [[Types/uint]]
'''Type''': [[Types/uint32]]


== Optional properties ==
== Optional properties ==
=== radius_minimap_visualisation_color ===
=== radius_minimap_visualisation_color ===
'''Type''': [[Types/Color]]
'''Type''': [[Types/Color]]

Revision as of 10:42, 25 June 2018

Basics

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. Must be an electric energy source.

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