Resources: Difference between revisions

From KSP 2 Modding Wiki
(Created page with "Resources are divided into base resources and recipes. Recipes are a collection witn 2 or more resources and their respective unit per recipe. {| class="wikitable sortable" |+ !Resource Name !Display Name Term !Abbreviation Term !Mass(per unit) !Volume(per unit) !Specific Heat (per unit) !Flow mode !Transfer Mode !Cost (per unit) !Icon Address |- |Methane |Resource/DisplayName/Methane |Resource/Abbreviation/LF |1 |0.65 |2010 |STACK_PRIORITY_SEARCH |PUMP |0.8 | |- |Oxidiz...")
 
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Resources are divided into base resources and recipes. Recipes are a collection witn 2 or more resources and their respective unit per recipe.
Resources are divided into base resources and recipes. Recipes are a collection with 2 or more resources and their respective unit per recipe.
<div style="overflow-x: scroll">
{| class="wikitable sortable"
{| class="wikitable sortable"
|+
|+Stock resources
!Resource Name
!Resource Name  
!Display Name Term
!Display Name Term  
!Abbreviation Term
!Abbreviation Term
!Mass(per unit)
!Mass(per unit)
!Volume(per unit)
!Volume(per unit)
!Specific Heat (per unit)
!Specific Heat (per unit)
!Flow mode
![[#Flow Mode|Flow Mode]]
!Transfer Mode
![[#Transfer Mode|Transfer Mode]]
!Cost (per unit)
!Cost (per unit)
!Icon Address
!Icon Address
|-
|-
|Methane
|'''Methane'''
|Resource/DisplayName/Methane
|Resource/DisplayName/Methane
|Resource/Abbreviation/LF
|Resource/Abbreviation/LF
Line 24: Line 25:
|
|
|-
|-
|Oxidizer
|'''Oxidizer'''
|Resource/DisplayName/Oxidizer
|Resource/DisplayName/Oxidizer
|Resource/Abbreviation/Ox
|Resource/Abbreviation/Ox
Line 35: Line 36:
|
|
|-
|-
|Xenon
|'''Xenon'''
|Resource/DisplayName/Xenon Gas
|Resource/DisplayName/Xenon Gas
|Resource/Abbreviation/Xe
|Resource/Abbreviation/Xe
Line 46: Line 47:
|
|
|-
|-
|ElectricCharge
|'''ElectricCharge'''
|Resource/DisplayName/Electric Charge
|Resource/DisplayName/Electric Charge
|Resource/Abbreviation/EC
|Resource/Abbreviation/EC
Line 57: Line 58:
|Assets/UI/Sprites/Whitebox/WB-ICO-Battery.png
|Assets/UI/Sprites/Whitebox/WB-ICO-Battery.png
|-
|-
|SolidFuel
|'''SolidFuel'''
|Resource/DisplayName/Solid Fuel
|Resource/DisplayName/Solid Fuel
|Resource/Abbreviation/SF
|Resource/Abbreviation/SF
Line 68: Line 69:
|
|
|-
|-
|Hydrogen
|'''Hydrogen'''
|Resource/DisplayName/Hydrogen
|Resource/DisplayName/Hydrogen
|Resource/Abbreviation/H
|Resource/Abbreviation/H
Line 79: Line 80:
|
|
|-
|-
|Ablator
|'''Ablator'''
|Resource/DisplayName/Ablator
|Resource/DisplayName/Ablator
|Resource/Abbreviation/Ab
|Resource/Abbreviation/Ab
Line 90: Line 91:
|
|
|-
|-
|MonoPropellant
|'''MonoPropellant'''
|Resource/DisplayName/MonoPropellant
|Resource/DisplayName/MonoPropellant
|Resource/Abbreviation/MP
|Resource/Abbreviation/MP
Line 101: Line 102:
|Assets/UI/Sprites/Whitebox/WB-ICO-Partial-Out-of-Fuel.png
|Assets/UI/Sprites/Whitebox/WB-ICO-Partial-Out-of-Fuel.png
|-
|-
|Uranium
|'''Uranium'''
|Resource/DisplayName/Uranium
|Resource/DisplayName/Uranium
|Resource/DisplayName/Uranium
|Resource/DisplayName/Uranium
Line 112: Line 113:
|
|
|-
|-
|EVAPropellant
|'''EVAPropellant'''
|Resource/DisplayName/EVAPropellant
|Resource/DisplayName/EVAPropellant
|Resource/Abbreviation/EP
|Resource/Abbreviation/EP
Line 123: Line 124:
|Assets/UI/Sprites/Whitebox/WB-ICO-Partial-Out-of-Fuel.png
|Assets/UI/Sprites/Whitebox/WB-ICO-Partial-Out-of-Fuel.png
|-
|-
|IntakeAir
|'''IntakeAir'''
|Resource/DisplayName/Intake Air
|Resource/DisplayName/Intake Air
|Resource/DisplayName/Air
|Resource/DisplayName/Air
Line 134: Line 135:
|
|
|-
|-
|TestRocks
|'''TestRocks'''
|Resource/DisplayName/TestRocks
|Resource/DisplayName/TestRocks
|Resource/Abbreviation/TR
|Resource/Abbreviation/TR
Line 145: Line 146:
|
|
|}
|}
</div>


= Recipes =
=Recipes=
Recipes are composed by 2 or more resources.
Recipes are composed by 2 or more resources.
{| class="wikitable"
{| class="wikitable"
|+
|+Stock recipes
!Resource Name
!Resource Name
!Display Name Term
!Display Name Term
Line 180: Line 182:
1
1
|}
|}
==Flow Mode==
refers to how the fuel should flow on the vessel. On resource definitions this is represented by an '''integer'''. Goes as follows:
*'''0 - NULL''' - invalid flow, shouldn't be used.
*'''1 - NO_FLOW''' - The fuel on said part wont flow to any other tank
*'''2 - ALL_VESSEL''' - The fuel will be evenly distrbuted to all requesters
*'''3 - STAGE_PRIORITY_FLOW'''
*'''4 - STACK_PRIORITY_SEARCH'''
*'''5 - STAGE_STACK_FLOW_BALANCE'''
==Transfer Mode==
refers to if (or not) the fuel should be pumped to other parts. On resource definitions this is represented by an integer. Goes as follows:
*'''0 - NONE''' - fuel isn't transfered to other parts
*'''1 - PUMP''' - fuel is trasnfered to other parts
__FORCETOC__
[[Category:Game systems]]

Latest revision as of 00:09, 3 August 2023

Resources are divided into base resources and recipes. Recipes are a collection with 2 or more resources and their respective unit per recipe.

Stock resources
Resource Name Display Name Term Abbreviation Term Mass(per unit) Volume(per unit) Specific Heat (per unit) Flow Mode Transfer Mode Cost (per unit) Icon Address
Methane Resource/DisplayName/Methane Resource/Abbreviation/LF 1 0.65 2010 STACK_PRIORITY_SEARCH PUMP 0.8
Oxidizer Resource/DisplayName/Oxidizer Resource/Abbreviation/Ox 1 1.2 1551 STACK_PRIORITY_SEARCH PUMP 0.18
Xenon Resource/DisplayName/Xenon Gas Resource/Abbreviation/Xe 1 0.1 120 STAGE_PRIORITY_FLOW PUMP 4
ElectricCharge Resource/DisplayName/Electric Charge Resource/Abbreviation/EC 0 0 0 STAGE_PRIORITY_FLOW PUMP 0 Assets/UI/Sprites/Whitebox/WB-ICO-Battery.png
SolidFuel Resource/DisplayName/Solid Fuel Resource/Abbreviation/SF 1 5 900 NO_FLOW NONE 0.6
Hydrogen Resource/DisplayName/Hydrogen Resource/Abbreviation/H 1 5 2010 STACK_PRIORITY_SEARCH PUMP 0.8
Ablator Resource/DisplayName/Ablator Resource/Abbreviation/Ab 1 1 400 STACK_PRIORITY_SEARCH PUMP 0.5
MonoPropellant Resource/DisplayName/MonoPropellant Resource/Abbreviation/MP 1 5 3000 STAGE_PRIORITY_FLOW PUMP 1.2 Assets/UI/Sprites/Whitebox/WB-ICO-Partial-Out-of-Fuel.png
Uranium Resource/DisplayName/Uranium Resource/DisplayName/Uranium 1 5 1000 ALL_VESSEL PUMP 0.02
EVAPropellant Resource/DisplayName/EVAPropellant Resource/Abbreviation/EP 1 20 3000 STAGE_PRIORITY_FLOW PUMP 1 Assets/UI/Sprites/Whitebox/WB-ICO-Partial-Out-of-Fuel.png
IntakeAir Resource/DisplayName/Intake Air Resource/DisplayName/Air 1 1 10 ALL_VESSEL PUMP 0
TestRocks Resource/DisplayName/TestRocks Resource/Abbreviation/TR 0.010 5 1000 ALL_VESSEL PUMP 0.02

Recipes

Recipes are composed by 2 or more resources.

Stock recipes
Resource Name Display Name Term Abbreviation Term ingredients Unit per recipe unit
Methalox Resource/DisplayName/Methalox Resource/Abbreviation/MO Methane

Oxidizer

0.2

0.8

MethaneAir Resource/DisplayName/Methane Air Resource/Abbreviation/MA Methane

IntakeAir

1

1

XenonEC Resource/DisplayName/Xenon Resource/Abbreviation/Xe Xenon

ElectricCharge

1

1

Flow Mode

refers to how the fuel should flow on the vessel. On resource definitions this is represented by an integer. Goes as follows:

  • 0 - NULL - invalid flow, shouldn't be used.
  • 1 - NO_FLOW - The fuel on said part wont flow to any other tank
  • 2 - ALL_VESSEL - The fuel will be evenly distrbuted to all requesters
  • 3 - STAGE_PRIORITY_FLOW
  • 4 - STACK_PRIORITY_SEARCH
  • 5 - STAGE_STACK_FLOW_BALANCE

Transfer Mode

refers to if (or not) the fuel should be pumped to other parts. On resource definitions this is represented by an integer. Goes as follows:

  • 0 - NONE - fuel isn't transfered to other parts
  • 1 - PUMP - fuel is trasnfered to other parts