Home

LuaAssemblingMachineControlBehavior

Control behavior for assembling machines.

Parent

Attributes

circuit_set_recipe

true if the assembling machine sets its recipe from the circuit network.

circuit_read_contents

true if the assembling machine reads its ingredients contents, product contents, materials in crafting and trash inventories.

include_in_crafting

true if the read contents should include items in crafting.

include_fuel

true if the read contents should include fuel (content of energy source)

circuit_read_ingredients

true if the assembling machine outputs ingredients of current recipe as a signals to circuit network.

circuit_read_recipe_finished

true if the the assembling machine sends a signal when the recipe finishes.

circuit_recipe_finished_signal

The signal sent when the assembling machine finishes a recipe.

circuit_read_working

true if the the assembling machine sends a signal when it is working.

circuit_working_signal

The signal sent when the assembling machine is working.

valid

Is this object valid? This Lua object holds a reference to an object within the game engine. It is possible that the game-engine object is removed whilst a mod still holds the corresponding Lua object. If that happens, the object becomes invalid, i.e. this attribute will be false. Mods are advised to check for object validity if any change to the game state might have occurred between the creation of the Lua object and its access.

object_name

The class name of this object. Available even when valid is false. For LuaStruct objects it may also be suffixed with a dotted path to a member of the struct.