Difference between revisions of "Trigger"

From MachinationsWiki
Jump to: navigation, search
 
Line 4: Line 4:
 
<embed src="../Machinations.swf?file=../v40/concepts/triggers.xml&mode=view&width=600&height=500" width="600x" height="500px"> </embed>
 
<embed src="../Machinations.swf?file=../v40/concepts/triggers.xml&mode=view&width=600&height=500" width="600x" height="500px"> </embed>
  
<embed src="../Machinations.swf" width="600x" height="500px"> </embed>
+
<embed src="http://www.jorisdormans.nl/machinations/Machinations.swf" width="600x" height="500px"> </embed>
  
 
==Random/Conditional Triggers==
 
==Random/Conditional Triggers==

Latest revision as of 16:03, 6 January 2015

Triggers are State Connections that connect two nodes or connects a node to the label of a resource connection. Triggers fire when all the inputs of its source node become Satisfied: when each input passed the number of resources to the node as indicated by its flow rate. A firing trigger will in turn fire its target. When the target is a resource connection, it will pull resources as indicated by its flow rate. A node that has no inputs will fire outgoing triggers whenever it fires (either automatically, or in response to a player action, or to another trigger). Triggers are identified by their label which is a star ('*').

Random/Conditional Triggers

Any state connection that comes out of a gate is considered to be a trigger.

Reverse Triggers

Reverse triggers are marked with an exclamation mark and fire when a firing node cannot pull all the resources it wants to pull.