Skip to main content

Sorter

Moves a type of resource through it, depending on the input and output faces as indicated by the arrow. Behaves just like the old Diode part when set to insert 100 Power.

It is a craftable and spawnable non-flammable solid.

It cannot be resized.

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

By default, its colour is #f8f8f8.

It requires 1 Copper and 1 Polysilicon to be crafted.

Configurables


Rate

How much of the resource to push per second. May be inf (or math.huge in a Microcontroller). It is a number. It has a minimum value of 0, and an increment of 1.


Resource

The kind of resource to push. May be a special or generic type like Gas, Solid, etc. 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.