Pumps

From Official Barotrauma Wiki
Jump to: navigation, search
Version Checkmark False.png
Versioning - Potentially Outdated

Last updated for version: 0.11.0.10
Current game version: 0.14.6.0

Pump
Pump.png


Stats
Category Machines
Power Consumption 300 kW
Max Pump Speed 600
Small Pump
Pump small.png


Stats
Category Machines
Power Consumption 60 kW
Max Pump Speed 100

The pump is an installation found in Barotrauma. It is used to pump water out of or into the submarine.

Function

The pump's primary function is to filter water in its given area. By using the pump, a small menu will appear in which the player is able to manually activate/disable the Pump and modify both the direction the water is being pumped into and the speed at which it is being pumped. For instance, setting the pump slider towards IN will cause water to flood into the Submarine, while dragging the slider towards OUT will pump water out of the area. The slider can be adjusted to regulate the Speed at which the Pump interacts with Water.

The pump's direction can also be modified with the input set_targetlevel (usually linked with the Navigation Terminal's velocity_y_out). This input allows the player to modify the current level of water in the pump's area. The input can be a decimal value between -100.0 (meaning the water level will be 0) or 100.0 (meaning the water level is at the highest it can be). When an input is set, the pumps direction is automatically set and it will begin gradually lowering or raising the water level to the desired target. This change is not instantaneously though, as it will take the pump some time to reach the designated target level.

In addition to the obvious use for the pumps, to pump out water when a flood occurs, they can also be used to pump water into the submarine to make it heavier, or to extinguish Fires.

As of the Steam Release, the normal Pump is often used as part of the Ballast, and linked with the Navigation Terminal to automate the process, while the Small Pumps are used in Airlocks and spread throughout the Submarine, and may be linked with a Water Detector to automate its use, or require manual interaction.

GUI

Indicators

The first light (Next to the "Power" label) can either be Solid, Blinking or Off. If this light is solid, then the pump has power and is turned on. If this light is blinking, then the pump is turned on but is not receiving power. Finally, if this light is completely off, then the pump is turned off and with or without power.

The second light (Next to the "Automatic Control" label) can either be On or Off. If this light is on, then the pump is receiving a control signal from either the set_speed or set_targetlevel pins. Otherwise, this light will be off.

Gallery

Pump GUI.png

Connection Panel

Connection panel for Pumps
Connection Port.png
power_in
Connection Port.png
toggle_state
Connection Port.png
set_state
Connection Port.png
set_speed
Connection Port.png
set_targetlevel
Connecting a power source to this input will supply the pump with power.
Turns the pump on/off whenever a signal is received.
Turns the pump off when a signal "0" is received, and activates it when any other signal is received.
Sets the speed of the pump to the received value. The value is clamped between -100.0 and 100.0.
Sets the target water level in the room to the received value. This is clamped to the following limits: -50 meaning drain completely. 0 meaning fill to ½ . 50 meaning fill to full.


Trivia

  • Pumps are often used in real life to filter water in and out of submarines. This is done to make the ship heavier or lighter based on whether the ship is diving or raising. Rooms dedicated to this purpose are called ballasts.
    • This system is reflected in the official submarines included with Barotrauma, where the ships will automatically pump water into and out of the ballast based on which direction of the Y-axis the submarine is heading.

Audio

Gallery

Barotrauma