Hello visitor! A note about the contents of this wiki: Barotrauma is a game with several years' worth history as a free-download open source game, and this wiki has been written primarily based on this legacy version. As such, not all content is relevant to the Steam release. So please wait patiently as the contents are updated, and feel free to contribute new information once the Steam version of Barotrauma is released!

Pump

From Barotrauma Wiki
Jump to: navigation, search
Pump
Pump large.png
Stats
Category Machines
Power Consumption 300kW
Max Pump Speed 600
Small Pump
Pump small.png
Stats
Category Machines
Power Consumption 60kW
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[edit | edit source]

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 0.0 (meaning the water level will be 0) or 100 (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 it's use, or require manual interaction.

Do note that, as it stands, some Vanilla Submarines make use of Legacy Pumps, however, they are functionally identical.

GUI[edit | edit source]

Pump GUI.png

I/O Interface[edit | edit source]

Connection panel for Pump
power_in
toggle
set_active
set_speed
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. 0.0 means that the pump will try to empty the room completely, 50 means that it will try to fill the room half way and 100.0 means that it will try to fill the entire room with water. The value is clamped between 0.0 and 100.0.


Trivia[edit | edit source]

  • 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.

Gallery[edit | edit source]


Barotrauma