Prototype/Accumulator: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "==Basics== Entity with energy source with specialised animation for charging/decharging. Extends the Prototype/EntityWithHealth == Properties == === energy_source === '''...")
 
No edit summary
Line 6: Line 6:
=== energy_source ===
=== energy_source ===
'''Type''': [[Types/EnergySource]]
'''Type''': [[Types/EnergySource]]
=== picture ===
'''Type''': [[Types/Sprite]]


=== charge_animation ===
=== charge_animation ===
Line 12: Line 15:
=== charge_light ===
=== charge_light ===
'''Type''': [[Types/LightDefinition]]
'''Type''': [[Types/LightDefinition]]
=== charge_cooldown ==
'''Type''': [[Types/Tick]]
Count of ticks to preserve the animation even when the charging ends.
Used to prevent rapid blinking of the accumulator with unstable need to use it.
=== discharge_animation ===
'''Type''': [[Types/Animation]]
=== discharge_light ===
'''Type''': [[Types/LightDefinition]]
=== discharge_cooldown ==
'''Type''': [[Types/Tick]]
Count of ticks to preserve the animation even when the discharging ends.

Revision as of 12:43, 30 October 2013

Basics

Entity with energy source with specialised animation for charging/decharging. Extends the Prototype/EntityWithHealth

Properties

energy_source

Type: Types/EnergySource

picture

Type: Types/Sprite

charge_animation

Type: Types/Animation

charge_light

Type: Types/LightDefinition

= charge_cooldown

Type: Types/Tick Count of ticks to preserve the animation even when the charging ends. Used to prevent rapid blinking of the accumulator with unstable need to use it.

discharge_animation

Type: Types/Animation

discharge_light

Type: Types/LightDefinition

= discharge_cooldown

Type: Types/Tick Count of ticks to preserve the animation even when the discharging ends.