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
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 witn 2 or more resources and their respective unit per recipe.
{| 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)
Line 13: Line 13:
!Icon Address
!Icon Address
|-
|-
|Methane
|'''Methane'''
|Resource/DisplayName/Methane
|Resource/DisplayName/Methane
|Resource/Abbreviation/LF
|Resource/Abbreviation/LF
Line 24: Line 24:
|
|
|-
|-
|Oxidizer
|'''Oxidizer'''
|Resource/DisplayName/Oxidizer
|Resource/DisplayName/Oxidizer
|Resource/Abbreviation/Ox
|Resource/Abbreviation/Ox
Line 35: Line 35:
|
|
|-
|-
|Xenon
|'''Xenon'''
|Resource/DisplayName/Xenon Gas
|Resource/DisplayName/Xenon Gas
|Resource/Abbreviation/Xe
|Resource/Abbreviation/Xe
Line 46: Line 46:
|
|
|-
|-
|ElectricCharge
|'''ElectricCharge'''
|Resource/DisplayName/Electric Charge
|Resource/DisplayName/Electric Charge
|Resource/Abbreviation/EC
|Resource/Abbreviation/EC
Line 57: Line 57:
|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 68:
|
|
|-
|-
|Hydrogen
|'''Hydrogen'''
|Resource/DisplayName/Hydrogen
|Resource/DisplayName/Hydrogen
|Resource/Abbreviation/H
|Resource/Abbreviation/H
Line 79: Line 79:
|
|
|-
|-
|Ablator
|'''Ablator'''
|Resource/DisplayName/Ablator
|Resource/DisplayName/Ablator
|Resource/Abbreviation/Ab
|Resource/Abbreviation/Ab
Line 90: Line 90:
|
|
|-
|-
|MonoPropellant
|'''MonoPropellant'''
|Resource/DisplayName/MonoPropellant
|Resource/DisplayName/MonoPropellant
|Resource/Abbreviation/MP
|Resource/Abbreviation/MP
Line 101: Line 101:
|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 112:
|
|
|-
|-
|EVAPropellant
|'''EVAPropellant'''
|Resource/DisplayName/EVAPropellant
|Resource/DisplayName/EVAPropellant
|Resource/Abbreviation/EP
|Resource/Abbreviation/EP
Line 123: Line 123:
|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 134:
|
|
|-
|-
|TestRocks
|'''TestRocks'''
|Resource/DisplayName/TestRocks
|Resource/DisplayName/TestRocks
|Resource/Abbreviation/TR
|Resource/Abbreviation/TR
Line 146: Line 146:
|}
|}


= 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 180:
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

Revision as of 16:22, 16 July 2023

Resources are divided into base resources and recipes. Recipes are a collection witn 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