Prototype/Accumulator

From Official Factorio Wiki
Revision as of 12:43, 30 October 2013 by Kovarex (talk | contribs)
Jump to navigation Jump to search

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.