Refinery

"The Refinery converts raw resources into Materials, which are used to create items, vehicles and structures. Converted resources are private until they are picked up. If marked as public, refined items will be deposited into the public Stockpile."

- In-game description

The Refinery is a structure found in towns. It is used to convert raw resources into materials. It can convert Salvage into Basic Materials, Diesel and Explosive Materials, Components into Refined Materials and Sulfur into Heavy Explosive Materials. It can also convert Crude Oil into Petrol, Aluminum into Aluminum Alloy, and Iron into Iron Alloy.
 * All resources are processed at different ratios which is displayed in the refinery interface.

You can access the refinery while on foot, in a vehicle, or in the attached stationary crane. Open up the refinery by pressing  near the door or from the crane. To refine a raw material into a refined material you must have the raw material in your personal inventory (backpack, truck, or resource container) or the refinery inventory. Click on the icon that corresponds with the raw resource you have. will refine 1 predefined stack from your inventory,  will refine all available specific resource in your inventory. This will prioritize pulling from your personal inventory first.

If you  a craft you will LOSE all progress and be returned the original raw resource amount.

To retrieve the materials once refined, press  to retrieve it all in your inventory, or press   and choose "Retrieve as Crate" if you want the materials in crate form which are reservable and can be placed in a private reserve stockpile at a Storage Depot or Seaport. A shipping container can be placed on the loading platform with the crane to move crated materials out of the refinery.

If an enemy town is captured, its refinery can only be rebuilt once the "Industry" Base Upgrade has been unlocked.

Actions
As a player you can use these buttons to interact with the structure.

SubmitCrate.png Submit Stockpile Items
Submits the items inside the building inventory into the building stockpile.

DrivewayEquipment.png Submit Loading Area Equipment
Submits equipment from the structure's loading area into the stockpile. This is only available when this structure is accessed from a Crane that has deployed equipment to the loading area.

Unpackage UI Icon.png Package Loading Area Equipment
Packages the shippable so it can be moved by certain vehicles. This is only available when this structure is accessed from a Crane that has deployed equipment to the loading area.

Log.png View Log
Opens up the event log.