Prototype/ProgrammableSpeaker

From Official Factorio Wiki
Revision as of 16:54, 5 October 2018 by Bilka (talk | contribs) (Created page with "== Basics == Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from Prototype/EntityWithHealth. === energy_so...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics

Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

energy_source

Type: Types/EnergySource

Must be an electric energy source.

energy_usage_per_tick

Type: Types/Energy

sprite

Type: Types/Sprite

maximum_polyphony

Type: Types/uint32

instruments

Type: Types/table

Array of instruments.

An instrument is a table with the following members:

A note is a table with the following members:

Optional properties

audible_distance_modifier

Type: Types/float

Default: 1

circuit_wire_connection_point

Type: Types/WireConnectionPoint

circuit_wire_max_distance

Type: Types/double

Default: 0

circuit_connector_sprites

Type: Types/CircuitConnectorSprites