Prototype/Radar: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithHealth}} | {{Prototype parent|Prototype/EntityWithHealth}} | ||
A [[radar]]. | |||
{{Prototype TOC|radar}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{Prototype property|energy_usage|[[Types/Energy|Energy]]}} | |||
The amount of energy this radar uses. | The amount of energy this radar uses. | ||
{{Prototype property|energy_per_sector|[[Types/Energy|Energy]]}} | |||
The amount of energy it takes to scan a sector. | The amount of energy it takes to scan a sector. | ||
{{Prototype property|energy_per_nearby_scan|[[Types/Energy|Energy]]}} | |||
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}} | |||
The energy source for this radar. | The energy source for this radar. | ||
{{Prototype property|pictures|[[Types/RotatedSprite|RotatedSprite]]}} | |||
{{Prototype property|max_distance_of_sector_revealed|[[Types/uint32|uint32]]}} | |||
{{Prototype property|max_distance_of_nearby_sector_revealed|[[Types/uint32|uint32]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|radius_minimap_visualisation_color|[[Types/Color|Color]]|optional=true}} | |||
{{Prototype property|rotation_speed|[[Types/double|double]]|0.01|optional=true}} |
Revision as of 16:56, 5 August 2019
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Radar
A radar.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
energy_usage
Type: Energy
The amount of energy this radar uses.
energy_per_sector
Type: Energy
The amount of energy it takes to scan a sector.
energy_per_nearby_scan
Type: Energy
energy_source
Type: EnergySource
The energy source for this radar.
pictures
Type: RotatedSprite
max_distance_of_sector_revealed
Type: uint32
max_distance_of_nearby_sector_revealed
Type: uint32
Optional properties
radius_minimap_visualisation_color
Type: Color
rotation_speed
Type: double
Default: 0.01