Main Guide

### Link to Hadrada's Google Doc

https://docs.google.com/document/d/1HzhKG8yob8Zz50MvNLHzkewj8e9cIlVxImvjVuFewFw/edit

## Main Guide

Mechtrauma is a mod for Barotrauma (as you surely know) which serves to fully overhaul the experience of using and managing the mechanical and electrical systems on a submarine. Hadrada (the developer) tries his best to avoid overwriting any vanilla features so that shipyards can decide what balance of vanilla and Peasant Foundry parts that they would like to include in their submarines. The largest change would likely be attributed to the Engine, or as it is known in Mechtrauma, the Powertrain.

### Key Concepts

In order to properly understand how to survive in Mechtrauma, one needs to understand how to manage and maintain machines. There are four categories of items that must be understood:

 Components | Individual components that can be assembled to make parts.
 Parts | Completed parts that can be placed into machines to allow them to operate.
 Machines | Items or groups of items that serve a function in the submarine.

It is important to know that **machines are dangerous**. They will kill you. Do not under any circumstance repair a machine added by Mechtrauma while it is running. Either cut power or turn it off, or you will lose both of your arms.

### Powertrain

The Powertrain functions as the Engine of Mechtrauma. It is composed of three parts: The Steam Boiler, the Steam Turbine, and the Reduction Gear. In order to have a functioning engine, it is necessary to connect things in the listed order. External power goes into the Steam Boiler. The Steam Boiler outputs Steam Power, which is inputted into the Steam Turbine. The Steam Turbine outputs Kinetic Power, which goes into the Reduction Gear. The Reduction Gear functions identically to a regular Engine when powered properly, and should be wired accordingly. All of these systems require different parts, and they must have all of them (except oil and filters, but these will cause issues like fires) in order to function.

### Oxygen Generation

Magical oxygen is a thing of the past in Mechtrauma. The Oxygen Supply is the Machine that produces oxygen. Again, it is not magic, and thus takes two minutes for oxygen to start circulating throughout the submarine. It needs to be linked to Vents like normal, or Mechtrauma's Oxygen Vents. These vents need to be cleaned of fungus lest the crew develop a fungal infection, as well as needing a CO2 Filter to be in them to keep the crew protected against CO2 Poisoning. The Oxygen Tank Station is another Machine that is important to oxygen generation. The Oxygen Tank Station is a Machine which houses a Large Oxygen Tank, and can release air into the room its in from the tank should it run low on clean air for any reason. It can also be used to fill Oxygen Transfer Tanks, or Fire Resistant Oxygen Tanks.

### Power Generation

While the regular Nuclear Reactor remains available, Mechtrauma adds several Generators which produce regular Power by consuming diesel out of a Diesel Fuel Can. These must be refilled at either a Diesel Fuel Tank or a Diesel Transfer Truck. Generators also require Oil from an Oil Can. Oil Cans can be refilled at an Oil Station or an Oil Transfer Truck. Preferably, they will have an Oil Filter as well in order to slow the consumption of Oil. Generators also consume oxygen from a room, requiring at least 50% air quality in order to function. Generators can be equipped with an Oxygen Transfer Tank (or a regular one in the case of the PDG500 and PDG250) so that they can continue to operate when either underwater or in a room with poor air quality.

### Power Distribution

Instead of using vanilla's Junction Boxes, shipyards have the option to outfit their submarines with Electrical Panels or Fuse Panels. These both accept sacrificial Fuses in order to protect the rest of the grid. It is much rarer that you will be stuck clicking repair over and over when using these. Fuses can be crafted cheaply, and must be replaced when their quality hits 0 as their Power output will drop to 0.

### Fabrication

Mechtrauma adds several custom fabricators, none of which are necessary. Everything can be crafted in a vanilla Fabricator. The custom fabricators added are the CNC Machine, and the Repair Table. Both of these function as fabricators with 12 slots, 8 of which are for specific materials to make crafting with them easier without linked storage.

### Pumps

All Pumps added by Mechtrauma require Electric Motors to function, and small pumps can take Battery Cells or Fulgurium Battery Cells. Large pumps can be wired to Pump Gates by shipyards. These are external to the hull, and need to be repaired with a wrench. Their quality effects the speed at which pumps can drain directly. For example, a pump wired to a gate at 34% durability will only pump at 34% of the normal speed.