ftrefa.blogg.se

Factory town setups
Factory town setups










To do that, use the "Process Left Value" instead of "Set left value" command. Instead, that other value has to be 'pushed through' the Math block. The most important thing to remember, is that Math blocks don't 'read' a signal from another block. It also allows for calculating the Modulo (the remainder after a division, as in, '5 mod 4 = 1'). Later sections of this guide will show more complex examples of using Number blocks in with Logic Push and Logic Set in full circuits.Ī Math block allows for mathematical operations, such as +,-,*,/, to boolean operators, such as =,, =. This can be useful when you want a button to always give an "1" signal, for instance when turning circuits On or Off, no matter what state they in before that. Here you can see that no matter the "1" or "0" (On or Off) incoming signal of a Toggle, the Push does not change the next block, only passes on the value the next block already has. The video below shows a direct connection at the top, while showing off the function of Push at the bottom. Note the difference with Pusher blocks, which physically push items and Minecarts in a direction.

factory town setups factory town setups

  • A Logic Push block is the opposite, it does not change the next block, but only passes on its value to subsequent blocks.
  • factory town setups

  • A Logic Set block changes or specifies the value of the next block, but does not push the signal on to following blocks.
  • A direct connection affects the next block (as in, changing its state or value), and also sends the signal to any subsequent blocks.
  • The first option is a direct connection.
  • There are 3 ways to connect blocks to each other. This means that in order for blocks to have an effect on the output, there needs to be a 'flow' of a logic signal through those blocks. In Factory Town, Logic blocks are used by sending a signal through them (in contrast to reading off a constant signal). Set, Push, Number, Math and Counter blocks Set, Push and direct connection, what's the difference? Update: As of v0.040, it is now possible to use an offset on the agent trigger, just like the inventory sensor. Note that connections between logic blocks are made by selecting the first block and then LMB (left-clicking) the second block. The Agent Trigger sends out a signal whenever an item enters or exits its block. The splitter is triggered by an Agent Trigger. A Pusher is the active splitting component and a Toggle saves its state. Here is an example of creating a simple splitter. This information can also be useful later on, when you want to make customized splitters that can't be easily made from basic splitters. However, it is still a good exercise to try and make these yourself, to get an initial feeling of how to use logic blocks. Before that, a combination of logic blocks was needed to perform this splitting action. Update: As of v0.044, a basic splitter block has been added to the game. if you want to use the toggle as a "user input", you have to ctrl-LMB it.īasic 2-way splitter using Agent Trigger normally the toggle block is used somewhere inside a larger logic circuit. selecting the toggle block and turning it on/off in the top corner only changes its state, it does not send the signal forward. Important note: making connections between logic blocks is done with RMB (right-click).
  • 7.2 Adding up inventory values of multiple buildingsīefore starting on the logic blocks discussed on this page, make sure to check page on Basic Logistics! Note that this page is still work in progress as well.
  • 7.1 How to use an Inventory Sensor on a storage to control production.
  • factory town setups

    6.7 Combined setup: Creating a minecart depot.6.5 Using Signal Gate + Inventory Sensor to count specific items in minecart.6.4 Difference between Agent Trigger and Inventory Sensor on minecart.6.2 use of 'inverted sorter' as a stop for minecarts.6.1 Difference between Pusher and Sorter on minecart trajectory.5.2 Custom-ratio-N-way splitter, or Universal Splitter.4.4 How to use Signal Gate + Inventory Sensor to count specific items on belt.4.3 How to make a clock using Timer blocks.4.2 How to use Signal Gate and Timer Blocks to only pass on positive signals.3.8 How to add and subtract 1 from a Number block.3.7 How to subtract 1 from a Counter block.3.6 Making a switch to reset a Number or Counter block.3.1 Set, Push and direct connection, what's the difference?.3 Set, Push, Number, Math and Counter blocks.2.2 Basic 2-way splitter using Inventory Sensor.2.1 Basic 2-way splitter using Agent Trigger.












    Factory town setups