Boombox

Must be powered in order to play music. When clicked, it will toggle playing music and will play the song id you give it. It is a craftable and spawnable non-flammable solid.
It consumes 1 power per tick.
It cannot be resized.
At its default size (5x3x2) it has a durability of 1.
By default, its colour is #000000.
It requires 4 Cloth
, 2 Copper
, 6 Gear
, 2 Glass
, 4 Iron
, 4 Motor
, 3 Pipe
, 1 Quartz
, and 5 Wire
to be crafted.
Configurables
Audio
The audio asset ID to be played. It is a number
.
Events
Loop(tickInterval)
Fires when the object is updated by the game loop.
The tickInterval parameter is the inverse of the tick rate. For example, if the tick rate is 20
, this will be 1 / 20
(or just 0.05
). If the tick rate commands are accessible, running them will change this value. It is a number
.