Prototype/ProgrammableSpeaker
Jump to navigation
Jump to search
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/ProgrammableSpeaker
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
energy_source
Type: EnergySource
Must be an electric or void energy source.
energy_usage_per_tick
Type: Energy
sprite
Type: Sprite
maximum_polyphony
Type: uint32
instruments
Type: 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: float
Default: 1
circuit_wire_connection_point
Type: WireConnectionPoint
circuit_wire_max_distance
Type: double
Default: 0
draw_copper_wires
Type: bool
Default: true
draw_circuit_wires
Type: bool
Default: true
circuit_connector_sprites
Type: CircuitConnectorSprites