Prototype/Accumulator: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				|||
| Line 29: | Line 29: | ||
=== discharge_cooldown ===  | === discharge_cooldown ===  | ||
'''Type''': [[Types/Tick]]  | '''Type''': [[Types/Tick]]  | ||
Count of ticks to preserve the animation even when the discharging ends.  | Count of ticks to preserve the animation even when the discharging ends.  | ||
Revision as of 12:44, 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.