Integrated Dynamics - On the Dynamics of Integration

Logische bewerkingen

While displaying values that originate from readers can be useful, things get really interesting when you start combining certain values with other values using Operators. All Operators can be found in the Logic Programmer.

Start by crafting a Logic Programmer, which exists in both item and block-form. Open its gui to see the list of all operators.

Next, search for the Integer operator, and click on it. This will open a window in which you should type a number. When you have done this, insert an empty Variable Card to bind that Integer to the Variable Card. When you’re done, do that once more for another Integer.

Finally, search for the Addition operator and open it. This allows you to add two Numbers. Insert your two Integer Variable Cards into these slots, and bind it to a new Variable Card.

After writing a value to a Variable Card, you can always modify it again later by inserting it again in the Logic Programmer.

As Integrated Dynamics evaluates variables in a lazy manner, this Addition Variable Card does not contain the addition of these Integers directly, but the addition will only be performed when the value is needed in the network, based on the variable references. For this, the network has to be able to find these referenced Variable Cards. For this, you will need to craft and place a Variable Store. Insert the two Integer Variable Cards into this store to make them available to the network.

Finally, you can now connect a cable to the Variable Store, attach a Display Panel, and insert the Addition Variable Card to display the addition.

The Logic Programmer and Variable Stores are going to be your best friends when you want to do more complex automation.

Crafting Table
Crafting Table
  • Gekristalliseerd menrilblok
  • Crafting Table
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Logicaprogrammeur
Crafting Table
Crafting Table
  • Logicaprogrammeur
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Draagbare logicaprogrammeur
Crafting Table
Crafting Table
  • Draagbare logicaprogrammeur
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Logicaprogrammeur
Crafting Table
Crafting Table
  • Gekristalliseerd menrilfragment
  • Gekristalliseerd menrilblok
  • Gekristalliseerd menrilfragment
  • Gekristalliseerd menrilfragment
  • Chest
  • Trapped Chest
  • Gekristalliseerd menrilfragment
  • Gekristalliseerd menrilfragment
  • Gekristalliseerd menrilblok
  • Gekristalliseerd menrilfragment
Variable Store
Operator
Optelling+
  • Nummer
  • Nummer
  • Nummer
Global name: numberAdd(NummerNummer) → NummerMethod name: Nummer.add(Nummer) → Nummer
Advancements
  • Programmeren met logicaOpen de logicaprogrammeur GUI
  • Constante definitieDefiniëer een variabelekaart voor een constant §6geheel getal§7.
  • Rekenkundig optellenTel twee §egetallen§7 bij elkaar op en geef het resultaat weer.
Beloningen
Variable Store5
Variabelekaart32