Prototype/Beacon: Difference between revisions
(Added prototype type to page) |
(allowed_effects default) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithOwner}} | |||
Prototype | Entity with the ability to transfer module's effects to its neighboring entities. | ||
{{Prototype TOC|beacon}} | |||
== Usage in base== | == Usage in base== | ||
*[[Beacon | *[[Beacon]] | ||
=== | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithOwner]]. | |||
{{Prototype property|energy_usage|[[Types/Energy|Energy]]}} | |||
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}} | |||
Must be an electric or void energy source. | |||
{{Prototype property|supply_area_distance|[[Types/double|double]]}} | |||
The maximum distance that this Beacon can supply it's neighbors with it's module's effects. Max distance is 64. | The maximum distance that this Beacon can supply it's neighbors with it's module's effects. Max distance is 64. | ||
{{Prototype property|distribution_effectivity|[[Types/double|double]]}} | |||
The multiplier of the module's effects, when shared between neighbors. | |||
{{Prototype property|module_specification|[[Types/ModuleSpecification|ModuleSpecification]]}} | |||
The number of module slots in this beacon, and their icon positions. | |||
== Optional properties == | |||
{{Prototype property|graphics_set|[[Types/BeaconGraphicsSet|BeaconGraphicsSet]]|optional=true}} | |||
The graphics for the beacon. | |||
The | {{Prototype property|animation|[[Types/Animation|Animation]]|optional=true}} | ||
The animation for the beacon, when in use. Loaded only if <code>graphics_set</code> is not present. | |||
{{Prototype property|base_picture|[[Types/Sprite|Sprite]]|optional=true}} | |||
The picture of the beacon when it is not on. Loaded only if <code>graphics_set</code> is not present. | |||
{{Prototype property|radius_visualisation_picture|[[Types/Sprite|Sprite]]|optional=true}} | |||
{{Prototype property|allowed_effects|[[Types/EffectTypeLimitation|EffectTypeLimitation]]|No effects are allowed|optional=true}} | |||
The types of modules that a player can place inside of the Beacon. | |||
Latest revision as of 16:58, 7 April 2022
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Beacon
Entity with the ability to transfer module's effects to its neighboring entities.
Usage in base
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
energy_usage
Type: Energy
energy_source
Type: EnergySource
Must be an electric or void energy source.
supply_area_distance
Type: double
The maximum distance that this Beacon can supply it's neighbors with it's module's effects. Max distance is 64.
distribution_effectivity
Type: double
The multiplier of the module's effects, when shared between neighbors.
module_specification
Type: ModuleSpecification
The number of module slots in this beacon, and their icon positions.
Optional properties
graphics_set
Type: BeaconGraphicsSet
The graphics for the beacon.
animation
Type: Animation
The animation for the beacon, when in use. Loaded only if graphics_set
is not present.
base_picture
Type: Sprite
The picture of the beacon when it is not on. Loaded only if graphics_set
is not present.
radius_visualisation_picture
Type: Sprite
allowed_effects
Type: EffectTypeLimitation
Default: No effects are allowed
The types of modules that a player can place inside of the Beacon.