====== Logic Nodes ====== Logic nodes make use of boolean values, represented by numbers with value 1 (true), and 0 (false). These nodes can be used to output different numbers based on a boolean value. == Greater Than == If Input is Greater than Threshold, outputs a 1. Otherwise, this node outputs 0. {{images:greaterthan.png?250|}} == Less Than == If Input is Less than Threshold, outputs a 1. Otherwise, this node outputs 0. {{images:lessthan.png?250|}} == Is Equal == If Input is Equal to Threshold, outputs a 1. Otherwise, this node outputs 0. {{images:equal.png?250|}} == Spigot == Outputs the value of Input, but only updates the value when Comparator is true. {{images:spigot.png?250|}} == AND Gate == Has two comparator inputs. If both comparator inputs are true, this node outputs true. Otherwise, it outputs false {{images:and.png?250|}} == OR Gate == Has two comparator inputs. If one or more comparator inputs are true, this node outputs the true. Otherwise, it outputs false. {{images:or.png?250|}} == NOT Gate == Has one comparator input. If the comparator input is 0, this node outputs true. Otherwise, it outputs false. {{images:not.png?250|}} == Value If True == Has one comparator output, as well as two Value inputs for true or false. If comparator is equal to 1 (true), it outputs the Value If True. Else, it outputs the Value If False. {{images:valueiftrue.png?250|}}