Resource

**Attention: As part of the 2.8 beta updates Ammo, Fuel, and Materials have been merged into a single resource (materials).**

Behind every battle in *From the Depths* there is an intricate resource gathering and resource processing mechanism at play. This involves harvesting raw materials from hotly contested ‘Resource Zones’, processing them into ammunition, fuel and spare parts and supplying them to the front line war machines. A machine can be built to mine, process and fight but a jack of all trades is a master of none.

There is one type of raw resource called Material. Materials can be easily found in resource zones. In order to gather out of a resource zone, one must have an engine and a resource gatherer(s). As long as one has enough power, the gatherers will automatically collect resources from the zone.

Plans are in motion to implement a ‘tech tree’ where certain game modes (and the single player campaign) may involve processing rare elemental resource into research to unlock better equipment.

A skill tree and trait tree in the character sheet [Z] is in progress. Some skills and traits improve the efficiency of the resource gathering and processing.

Resources are gathered and stored using blocks in the Resources tab. Stored resources such as ammunition and fuel behave as expected, in that they explode violently when destroyed. Be mindful of this when designing your vessels.

## Types

### Resource Points (RP)

Resource Points (RP) is a measure of the overall value of resources. It is used to set limits in story missions and sets experience gain.

### Raw resource

#### Material

Found in resource zones and can be processed into other resources.

### Processed resources

#### Ammo

Ammo is consumed by all weapon types except Lasers and Particle Cannons.

#### Battery

Battery energy is produced by fuel engines, steam engines and RTGs, and can be turned into power using an electric engine or used directly in Railguns and Particle Cannons.

#### Fuel

Fuel is consumed by fuel engines and Custom Jet Engines.

#### Power

Power is produced by fuel/electric engines, and is consumed by various propulsion systems, lasers, shields, and signal jammers.

## Raw resource gathering

### Resource zones

Raw resources are harvested from resource zones. Each resource zone has for each resource a growth rate

g

{\displaystyle g}

 and can "store" a maximum amount of resources

R

{\displaystyle R}

. The rate at which a resource zone generates resources depends on its current resources

r

{\displaystyle r}

 and these two parameters:

0.1
g
R

max

(

10
,
r

)

{\displaystyle \frac{0.1 g R}{\max \left(10, r \right)}}

Resource generation is therefore maximized when the current resources reaches 10. This maximum rate is

g
R

100

{\displaystyle \frac{g R}{100}}

### Extraction

Extraction is performed by Resource Gatherers and Oil Drills.

0.05

r

{\displaystyle 0.05 \sqrt{r}}

(

2
g
R

n

)

2

/

3

{\displaystyle \left(\frac{2 g R}{n}\right)^{2/3}}

0.05

n

2

/

3

(

2
g
R

)

1

/

3

{\displaystyle 0.05 n^{2/3} \left(2 g R \right)^{1/3}}

# N

2
g
R

10

1.5

{\displaystyle N = \frac{2 gR}{10^{1.5}}}

These formulas assume continuous gathering. Results in practice may be slightly different as the game operates on discrete updates.

## Storage

Standard resource stores come in the following sizes:

* 1x1x1 (1m³)
* 1x1x2 (2m³)
* 2x2x1 (4m³)
* 2x2x2 (8m³)

Each cubic meter stores 500 units of material.

Additionally, there are "Coal Piles". The standard coal-pile is 2x2x1 and stores 1750 material. The large coal pile is 3x2x2 and stores 5250 material. Both provide just 437,5 material per m³, but have higher health than standard material storage.

The Cargo Container can hold 54000 material while only having the size of 3x3x6 giving it the highest material per resource storage density in the game at 1000m³.

## Transfer

Resources from wrecked craft can be picked up within 500m.

Transfer range is 1 m per 100 total storage capacity (including both raw and processed resources), but no less than 100m and no greater than 2000m. Maximum transfer range is therefore reached at 200k storage, or 100 cubic meters of raw storage.

## Resource processing

### Ammunition

* Each Ammo Barrel/Box regenerates 50 ammo per minute.

Fuel

* Each Fuel storage tank or cubic meter of Fuel storage box regenerates 50 fuel per minute.

### Fuel refining

***Note: Fuel Refining is not present in the game anymore as of Beta Update 2.8 and has been replaced by mateiral***

Material can be refined into fuel by using refineries.

Refineries cannot operate underwater and are more effective at low altitudes and kept vertical. Because of this, they are best placed on fortresses or structures.

Refineries have a maximum part number of 100, excluding the refinery still itself. Because of this, the most efficient refinery consists of 1 Desalter, 8 Cokers, 14 Catalytic Crackers and 77 Flare Stacks, achieving 299.2 efficiency (4 material to 1172 fuel per minute, batch takes 153s). This setup builds up dangerous gas, but stabilises at a gas level of 40, not dealing any damage to the refinery.

#### Efficiency and process time

A fuel refinery converts material to fuel in a series of regular process cycles. Each unit of material consumed produces a number of units of fuel specified by the "efficiency". Each cycle consumes 10 units of material and takes an amount of time specified by the "process time".

Let

R

{\displaystyle R}

 be the number of Crackers,

O

{\displaystyle O}

 be the number of Cokers,

D

{\displaystyle D}

 be the number of Desalters, and

y

{\displaystyle y}

 be the altitude of the refinery.

The efficiency is:

10

(

0.5
R
1

)

(

0.3
O
1

)

max

(

y
5

,
1

)

1.1

min

(

D
,
1

)

{\displaystyle \frac{10 \left(0.5 R + 1\right) \left(0.3 O + 1 \right) }{\max \left(\frac{y}{5}, 1 \right)} 1.1^{\min \left( D, 1 \right)}}

The process time is:

(

1.5
R
1

)

(

0.6
O
1

)

1.2

min

(

D
,
1

)

{\displaystyle \left( 1.5 R + 1 \right) \left(0.6 O + 1 \right) 1.2^{\min \left( D, 1 \right)}}

#### Dangerous Gas

Refineries have a Dangerous Gas level. When the Dangerous Gas level is above 50, the refinery will take damage.

Over each period of about two seconds, Dangerous Gas increases by 0.4 times the efficiency. Tilting the Refinery induces extra Dangerous Gas---up to 20 per period at horizontal or worse.

Dangerous Gas is mitigated by the following:

0.5
0.5

Dangerous Gas

{\displaystyle 0.5 + 0.5 \sqrt{\text{Dangerous Gas}}}
 Flare with Desalter | 1.5

Flares do not have to be adjacent to the Desalter to benefit; they merely need to be connected to the same Refinery.