What is a Signal in Facto?
mainA Signal is the fundamental data unit in Facto, representing data flowing through Factorio's circuit networks. Every signal consists of two components:
- Type: The kind of signal (e.g.,
iron-plate,signal-A,water). - Value: An integer count.
You can declare a signal using a tuple syntax: (type, value).
Signal my_signal = ("iron-plate", 50);