Difference between revisions of "Resource"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Removed non-existent resource entry.)
m (crafts->craft)
 
(32 intermediate revisions by 14 users not shown)
Line 1: Line 1:
A '''resource''' is a kind of material or energy that is stored in certain parts, and can be generated or used by other parts. All resources available in a craft can be viewed at any time during a mission using the ''Resources'' button at the upper right of the screen. Common resources include [[liquid fuel]] and [[oxidizer]], both of which are used in [[liquid engine]]s, and [[electric charge]], which has many different applications.
+
[[File:All the resources edit.png|thumb|right|The resource tab showing all available resources in 0.20.2]]
 +
[[File:resource_icon.png|left|link=]]
 +
A '''resource''' is a kind of material or energy that can be used, depleted, stored or generated by certain parts during missions. Common resources include [[liquid fuel]] and [[oxidizer]], both of which are used in [[liquid engine]]s, and [[electric charge]], which has many different applications.
  
 +
All resources available in a craft can be viewed at any time during a mission using the ''Resources'' icon (see at left) at the upper right of the screen.
 +
{{clear|left}}
 
== Available resources ==
 
== Available resources ==
 
The following table contains all the resources currently implemented.
 
The following table contains all the resources currently implemented.
{| class="wikitable sortable"
+
{{Stats Table Resources}}
!Resource
 
!Density (t/unit)
 
!Flow Mode
 
!Transfer
 
|-
 
|[[Electric charge|ElectricCharge]]
 
|0
 
|ALL_VESSEL
 
|PUMP
 
|-
 
|[[Intake air|IntakeAir]]
 
|0.005
 
|ALL_VESSEL
 
|PUMP
 
|-
 
|[[Liquid fuel|LiquidFuel]]
 
|0.005
 
|STACK_PRIORITY_SEARCH
 
|PUMP
 
|-
 
|[[Monopropellant|MonoPropellant]]
 
|0.004
 
|ALL_VESSEL
 
|PUMP
 
|-
 
|[[Oxidizer]]
 
|0.005
 
|STACK_PRIORITY_SEARCH
 
|PUMP
 
|-
 
|[[Solid fuel|SolidFuel]]
 
|0.0075
 
|NO_FLOW
 
|NONE
 
|-
 
|[[Xenon gas|XenonGas]]
 
|0.0001
 
|ALL_VESSEL
 
|PUMP
 
|}
 
  
Meanings of certain values:
+
=== Flow modes ===
* '''Flow Mode'''
+
* ''Adjacent'': Resources will only flow between adjacent sources and sinks, meaning that tanks can be drained unevenly.
** '''NO_FLOW:''' The resource will not flow on its own.
+
* ''Everywhere'': The resource is always available to all parts structurally connected to the vessel, and the same amount of resources is drained from every container.
** '''STACK_PRIORITY_SEARCH:''' The resource will flow down a stack of multiple containers and into a consumer at the bottom of the stack.
+
* ''Internal'': The resource can only be used by the part containing it.
** '''ALL_VESSEL:''' The resource will flow directly to any consumer requiring it.
+
* ''None'': The resource won't be pumped automatically but can be manually transferred.
* '''Transfer'''
 
** '''NONE:''' The resource cannot be transferred manually.
 
** '''PUMP:''' The resource can be transferred manually.
 
  
 +
== Other resources ==
 +
Introduced in [[1.0]] was a new, non-burnable resource: [[Ore]].
 +
This resource is mineable all across the solar system using ISRU parts. Ore can then be brought back to convert into funds and science. Mining can also be used to refine fuel.
  
== Transfer and crossfeed ==
+
Not strictly a resource but the liquid fuel/oxidizer mixture for the engines has a density of 5 kg/unit and costs 0.459 {{nowrap|{{mark|fund}}/unit}}. One unit mixture consists of 0.45 units of liquid fuel and 0.55 units of oxidizer.
Most resources can be transferred from one container to another part, which is usually done by right-clicking two containers while holding the ''mod'' key and then using the ''in'' and ''out'' buttons under the resource indicators. The transfer is stopped automatically once the source container is empty or the target container is full, but it can also be stopped manually using the ''stop'' button under the indicators. Multiple resources can be transferred at the same time, however the containers' right-click menus must stay open, otherwise the transfer will stop as well.
+
 
 +
== Flow, transfer and crossfeed ==
 +
[[File:Gemini-fuel-exchange.jpg|thumb|Manually transferring monopropellant between two docked craft]]
 +
 
 +
Most resources can be manually transferred from one container to another one, which is usually done by right-clicking two containers while holding the {{Key press|[[Mod]]}} key and then using the ''in'' and ''out'' buttons under the resource indicators. The transfer is stopped automatically once the source container is empty or the target container is full, but it can also be stopped manually using the ''stop'' button under the indicators. Multiple resources can be transferred at the same time, however the containers' right-click menus must stay open, otherwise the transfer will stop as well.
 +
 
 +
Some parts are listed as "Fuel Crossfeed Capable", which means that they allow fuel to move automatically through them to other parts that are attached to them. Fuel crossfeed can be disabled on any capable part via the right-click menu.
  
 
Another way to transfer resources is using a separate part. This is currently only possible for liquid fuel and oxidizer, using the [[FTX-2 External Fuel Duct]].
 
Another way to transfer resources is using a separate part. This is currently only possible for liquid fuel and oxidizer, using the [[FTX-2 External Fuel Duct]].
  
[[Liquid fuel engine]]s and the [[PB-X150 Xenon Container]] need the source of fuel directly adjacent to it or a connection via the fuel duct.
+
[[Liquid fuel engine]]s need the source of fuel directly adjacent to it or a connection via the fuel duct.
 +
 
 +
Note: When in career mode, resource transfer is not possible until the R&D facility is at level 2.  Crossfeed however is always possible.
 +
 
 +
=== Storage ===
  
== Special properties ==
+
Storage can be as important as generation capacity for spacecraft.  KSP does not connect resource sources to sinks; instead, they contribute or request resources from a common pool. This is much simpler than the realistic approach (as major fraction of a real spacecraft's mass and engineering effort is spent on cables and tubes), but it can lead to unexpected difficulties when a spacecraft is generating and consuming large amounts of resources (e.g. power-intensive spacecraft, or any [[addon]] which provide life support, recycling, manufacturing, and similar purposes).
Electric charge is the only resource which could be regenerated or refueled without starting another rocket. The only resources which can't be transferred at all are [[solid fuel]] and [[intake air]]. The latter doesn't have any sort of storage either, so it has to be produced when needed.
 
  
All means of resource storage are full when a craft is launched.
+
Take the example of a spacecraft with a generators generating 1000 units of [[electric charge]] ({{mark|echu}}) per second, ion engines which consume 1000 {{mark|echu}}/s, and batteries which can only store 10 {{mark|echu}}.  Each second, the panels will provide 1000 {{mark|echu}} to the spacecraft, and so KSP will fill up the batteries.  The ion engines will request 1000 {{mark|echu}}, and KSP will empty the batteries and give them 10 {{mark|echu}}, limiting them to 1% throttle, and probably leaving them locked in a permanent state of "insufficient power" and maybe even starving the probe core.  When dealing with addons that add more resources, the need for "intermediate storage" becomes even more pressing.
  
[[Category:Resources|Resources]]
+
[[Category:Resources| ]]

Latest revision as of 22:40, 28 March 2016

The resource tab showing all available resources in 0.20.2
Resource icon.png

A resource is a kind of material or energy that can be used, depleted, stored or generated by certain parts during missions. Common resources include liquid fuel and oxidizer, both of which are used in liquid engines, and electric charge, which has many different applications.

All resources available in a craft can be viewed at any time during a mission using the Resources icon (see at left) at the upper right of the screen.

Available resources

The following table contains all the resources currently implemented.

Resource Density (kg/unit) Cost (Funds/unit) Flow mode Renewable Storable
Electric Charge 0 0 Everywhere[Note 1] Yes Yes
Liquid Fuel 5 0.8 Adjacent No Yes
Oxidizer 5 0.18 Adjacent No Yes
Intake Air 5 0 Everywhere Yes No
Solid Fuel 7.5 0.6 Internal No Yes
Monopropellant 4 1.2 Everywhere[Note 1] No Yes
EVA Propellant 0 0 None Yes No
Xenon Gas 0.1 4 Everywhere[Note 1] No Yes
Ore 10 0.02 Everywhere No Yes
Ablator 1 0.5 Internal No No
  1. 1.0 1.1 1.2 Since 0.23.5 the resources will be drained from the first stages first, but is still available without plumbing.


Flow modes

  • Adjacent: Resources will only flow between adjacent sources and sinks, meaning that tanks can be drained unevenly.
  • Everywhere: The resource is always available to all parts structurally connected to the vessel, and the same amount of resources is drained from every container.
  • Internal: The resource can only be used by the part containing it.
  • None: The resource won't be pumped automatically but can be manually transferred.

Other resources

Introduced in 1.0 was a new, non-burnable resource: Ore. This resource is mineable all across the solar system using ISRU parts. Ore can then be brought back to convert into funds and science. Mining can also be used to refine fuel.

Not strictly a resource but the liquid fuel/oxidizer mixture for the engines has a density of 5 kg/unit and costs 0.459 Funds/unit. One unit mixture consists of 0.45 units of liquid fuel and 0.55 units of oxidizer.

Flow, transfer and crossfeed

Manually transferring monopropellant between two docked craft

Most resources can be manually transferred from one container to another one, which is usually done by right-clicking two containers while holding the Mod key and then using the in and out buttons under the resource indicators. The transfer is stopped automatically once the source container is empty or the target container is full, but it can also be stopped manually using the stop button under the indicators. Multiple resources can be transferred at the same time, however the containers' right-click menus must stay open, otherwise the transfer will stop as well.

Some parts are listed as "Fuel Crossfeed Capable", which means that they allow fuel to move automatically through them to other parts that are attached to them. Fuel crossfeed can be disabled on any capable part via the right-click menu.

Another way to transfer resources is using a separate part. This is currently only possible for liquid fuel and oxidizer, using the FTX-2 External Fuel Duct.

Liquid fuel engines need the source of fuel directly adjacent to it or a connection via the fuel duct.

Note: When in career mode, resource transfer is not possible until the R&D facility is at level 2. Crossfeed however is always possible.

Storage

Storage can be as important as generation capacity for spacecraft. KSP does not connect resource sources to sinks; instead, they contribute or request resources from a common pool. This is much simpler than the realistic approach (as major fraction of a real spacecraft's mass and engineering effort is spent on cables and tubes), but it can lead to unexpected difficulties when a spacecraft is generating and consuming large amounts of resources (e.g. power-intensive spacecraft, or any addon which provide life support, recycling, manufacturing, and similar purposes).

Take the example of a spacecraft with a generators generating 1000 units of electric charge (⚡) per second, ion engines which consume 1000 ⚡/s, and batteries which can only store 10 ⚡. Each second, the panels will provide 1000 ⚡ to the spacecraft, and so KSP will fill up the batteries. The ion engines will request 1000 ⚡, and KSP will empty the batteries and give them 10 ⚡, limiting them to 1% throttle, and probably leaving them locked in a permanent state of "insufficient power" and maybe even starving the probe core. When dealing with addons that add more resources, the need for "intermediate storage" becomes even more pressing.