A Pool is a node that collects resources.
Drains can have four different activation modes:
- Automatic Pools fire once every time step (or once after every turn for Turn-Based Diagrams).
- Interactive Pools fire when a user activates it by clicking on it.
- Starting Pools fire once when a diagram starts running.
- Passive Pools only fire when triggered.
- In 'pull any' mode it will pull any available resources up to amount specified by its inputs, even when there are not enough.
- In 'pull all' mode it will only pull resources when the amount specified by its inputs is available.
- In 'push any' mode it will push any available resources up to amount specified by its outputs, even when there are not enough.
- In 'push all' mode it will only push resources when the amount specified by its outputs is available.
A Pool in push any mode is marked with a 'p', in push all mode it is marked with 'p&'. However, for a Pool that has no inputs the 'p' is ommitted.
A Pool will communicate its state (the number of resources on it) through outgoing State Connections. These State Connections will have a value equal to the number of resources on the Pool, which can be modified by the Label of the State Connection.
Incoming Node Modifiers will change the state (the number of resources) of a Pool. This can be useful to represent scores.