Skip to main content

MiningLaser

Fires a beam at resource deposits that will mine them just like an Extractor can, allowing for mining while mobile. The MiningLaser produces 2x the resources, but costs 5x more power to run. It is a craftable and spawnable non-flammable solid.

It consumes 25 power per tick.

Here is a list of possible sizes that reach the maximum malleability (160) that have integer components: 1x1x160, 1x2x80, 1x4x40, 1x5x32, 1x8x20, 1x10x16, 2x2x40, 2x4x20, 2x5x16, 2x8x10, 4x4x10, 4x5x8

At its default size (10x2x2) it has a durability of 8, at its maximum size it has a durability of 13.

By default, its colour is #00ffff.

It requires 5 Aluminum, 5 Extractor, and 2 Laser to be crafted.

Configurables


MaterialToExtract

Determines the material to extract from the laser beam. Disables the laser if blank. It is a string.

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.