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.

Here is a list of possible sizes that reach the maximum malleability (160) that have integer components: 1x160x1, 1x80x2, 1x40x4, 1x32x5, 1x20x8, 1x16x10, 2x40x2, 2x20x4, 2x16x5, 2x10x8, 4x10x4, 4x8x5, 8x5x4, 10x8x2, 10x4x4

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 # 0ffff.

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(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.