Prototype/Radar: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
== Basics ==
== Basics ==
Prototype type: '''radar'''
Prototype type: '''radar'''

Revision as of 15:51, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Radar


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