Skip to main content

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 cannot be resized.

At its default size (5x3x2) it has a durability of 1.

By default, its colour is #1b2a35.

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(deltaTime)

Fires when the object is updated by the game loop.

The deltaTime parameter is the 'time' since the last tick, it does not represent the actual time since the last tick was occurred, rather just how often a game tick should be fired (it will always be precisely 1). It is a number.