Prototype/Radar: Difference between revisions
Jump to navigation
Jump to search
m (removed lang template) |
(0.16) |
||
Line 2: | Line 2: | ||
A [[radar]]. Based on [[Prototype/EntityWithHealth]]. | A [[radar]]. Based on [[Prototype/EntityWithHealth]]. | ||
== | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
=== energy_usage === | |||
'''Type''': [[Types/Energy]] | |||
The amount of energy this radar uses. | |||
=== energy_per_sector === | === energy_per_sector === | ||
Type: [[Types/ | '''Type''': [[Types/Energy]] | ||
The amount of energy it takes to scan a sector. | The amount of energy it takes to scan a sector. | ||
=== energy_per_nearby_scan === | === energy_per_nearby_scan === | ||
Type: [[Types/ | '''Type''': [[Types/Energy]] | ||
=== energy_source === | === energy_source === | ||
Type: [[Types/EnergySource]] | '''Type''': [[Types/EnergySource]] | ||
The energy source for this radar. | The energy source for this radar. Must be an electric energy source. | ||
=== | === pictures === | ||
Type: [[Types/ | '''Type''': [[Types/RotatedSprite]] | ||
=== max_distance_of_sector_revealed === | |||
'''Type''': [[Types/uint]] | |||
=== max_distance_of_nearby_sector_revealed === | |||
'''Type''': [[Types/uint]] | |||
=== | == Optional properties == | ||
Type: [[Types/ | === radius_minimap_visualisation_color === | ||
'''Type''': [[Types/Color]] |
Revision as of 17:28, 21 May 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/uint
max_distance_of_nearby_sector_revealed
Type: Types/uint
Optional properties
radius_minimap_visualisation_color
Type: Types/Color