Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# ValveMode - Runtime Docs

## ValveMode :: union

Defines the mode of operation for a ValvePrototype.

#### Union members

`"one-way"` | Fluid will flow if input level > output level.
`"overflow"` | Fluid will flow if input level > ValvePrototype::threshold and input level > output level.
`"top-up"` | Fluid will flow if output level < ValvePrototype::threshold and input level > output level.

Concept used in

- LuaEntityPrototype::valve_mode