Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "Logic gate"

From Creatures Wiki
Jump to navigation Jump to search
(Created page with "The logic gates are a connectable agent included with Creatures 3. It allows you to use Boolean logic to create your connectable agent setups. The AND gate is shaped...")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
The logic gates are a [[connectable agent]] included with [[Creatures 3]].  It allows you to use Boolean logic to create your connectable agent setups.  The AND gate is shaped like a semi-circle, and the OR gate is shaped like a crescent moon.   
+
[[File:AND OR NOT Gates.png|right|thumb|AND, OR and NOT Gates.]]
 +
The logic gates are a [[connectable agent]] included with [[Creatures 3]].  They are all [[gadget]]s.  The logic gates allow you to use Boolean logic to create your connectable agent setups.  The AND gate is shaped like a semi-circle, and the OR gate is shaped like a crescent moon.  They can be used in a DS-standalone world by downloading the [[DS Connective Agent Pack]].
 
==AND==
 
==AND==
 
[[File:Venn AND.png|right|thumb|AND means that both conditions have to be true to get a result.]]
 
[[File:Venn AND.png|right|thumb|AND means that both conditions have to be true to get a result.]]
Line 5: Line 6:
 
==OR==
 
==OR==
 
[[File:Venn_OR.png|right|thumb|OR means that either situation can be true, or both can be true, to get a result.]]
 
[[File:Venn_OR.png|right|thumb|OR means that either situation can be true, or both can be true, to get a result.]]
The OR gate will send an output with the strength of 255 if either of the two inputs gets a signal.   
+
The OR gate will send an output with the strength of 255 if either of the two inputs gets a signal.  Note that this means that both inputs do not need to be connected for the OR gate to work.  OR gates are particularly useful to devise setups like 'when the lift button is activated OR the [[contact sensor]] detects a creature, then activate something else' (like the [[Cheese Machine]] or an [[Anti-Bacterial Spray]]).
  
 +
==NOT==
 +
[[File:Venn NOT.png|right|thumb]]
 +
The NOT gate will send an output with the strength of 255 if it does not get any inputs.  If it does get an input, it stops its output. 
 +
 +
==External links==
 +
*[http://creaturescaves.com/downloads.php?section=COBs&view=1626 Silent Logic Gates] by [[Savannahs]] silences the beeping of the logic gates when in use.
  
  
 
[[Category:C3 Machines]]
 
[[Category:C3 Machines]]

Latest revision as of 00:30, 14 July 2018

AND, OR and NOT Gates.

The logic gates are a connectable agent included with Creatures 3. They are all gadgets. The logic gates allow you to use Boolean logic to create your connectable agent setups. The AND gate is shaped like a semi-circle, and the OR gate is shaped like a crescent moon. They can be used in a DS-standalone world by downloading the DS Connective Agent Pack.

AND[edit]

AND means that both conditions have to be true to get a result.

The AND gate will take two inputs and produce one output. It will only send an output if it receives two signals.

OR[edit]

OR means that either situation can be true, or both can be true, to get a result.

The OR gate will send an output with the strength of 255 if either of the two inputs gets a signal. Note that this means that both inputs do not need to be connected for the OR gate to work. OR gates are particularly useful to devise setups like 'when the lift button is activated OR the contact sensor detects a creature, then activate something else' (like the Cheese Machine or an Anti-Bacterial Spray).

NOT[edit]

Venn NOT.png

The NOT gate will send an output with the strength of 255 if it does not get any inputs. If it does get an input, it stops its output.

External links[edit]