Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added methalox to configs and cryotanks requirement for methane in tank types #27

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions GameData/000_AT_Utils/TankConfigs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,44 @@ TANKCONF
}
}

TANKCONF:NEEDS[CryoEngines]
{
name = LCH4 Insulation
TANK
{
TankType = Cryogenic
CurrentResource = LqdMethane
InitialAmount = 1
Volume = 2.853285329
}
TANK
{
TankType = LiquidChemicals
CurrentResource = Oxidizer
InitialAmount = 1
Volume = 5
}
}

TANKCONF:NEEDS[CryoEngines]
{
name = LCH4 Cooling
TANK
{
TankType = CryoCooling
CurrentResource = LqdMethane
InitialAmount = 1
Volume = 2.995049505
}
TANK
{
TankType = LiquidChemicals
CurrentResource = Oxidizer
InitialAmount = 1
Volume = 5
}
}

TANKCONF:NEEDS[CryoEngines]
{
name = LH2O Insulation
Expand Down
8 changes: 6 additions & 2 deletions GameData/000_AT_Utils/TankTypes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ TANKTYPE:NEEDS[WarpPlugin|KolonyTools|Karbonite|NearFuturePropulsion|CryoEngines
}
@TANKTYPE[Cryogenic]:NEEDS[WarpPlugin|KolonyTools|Karbonite|NearFuturePropulsion|CryoEngines|zzz_CryoTanks|FFT]
{ @PossibleResources ^= :$: LqdHydrogen 2;: } //USI uses ~4, CryoTanks ~2, KSPIE and IFS use ~1.2; but the density in CommonResources.cfg is for 1u/L
@TANKTYPE[Cryogenic]:NEEDS[WarpPlugin|CryoEngines]
{ @PossibleResources ^= :$: LqdMethane 1;: }
@TANKTYPE[Cryogenic]:NEEDS[WarpPlugin]
{ @PossibleResources ^= :$: LqdMethane 1; LqdCO 1; LqdCO2 1; LqdDeuterium 1; LqdHe3 1; LqdHelium 1; LqdNitrogen 1; LqdOxygen 1; LqdTritium 1;: } //cfd
{ @PossibleResources ^= :$: LqdCO 1; LqdCO2 1; LqdDeuterium 1; LqdHe3 1; LqdHelium 1; LqdNitrogen 1; LqdOxygen 1; LqdTritium 1;: } //cfd


TANKTYPE:NEEDS[WarpPlugin|KolonyTools|Karbonite|NearFuturePropulsion|CryoEngines|zzz_CryoTanks|FFT]
Expand All @@ -77,8 +79,10 @@ TANKTYPE:NEEDS[WarpPlugin|KolonyTools|Karbonite|NearFuturePropulsion|CryoEngines
}
@TANKTYPE[CryoCooling]:NEEDS[WarpPlugin|KolonyTools|Karbonite|NearFuturePropulsion|CryoEngines|zzz_CryoTanks|FFT]
{ @PossibleResources ^= :$: LqdHydrogen 2;: } //USI uses ~4, CryoTanks ~2, KSPIE and IFS use ~1.2; but the density in CommonResources.cfg is for 1u/L
@TANKTYPE[Cryogenic]:NEEDS[WarpPlugin|CryoEngines]
{ @PossibleResources ^= :$: LqdMethane 1;: }
@TANKTYPE[CryoCooling]:NEEDS[WarpPlugin]
{ @PossibleResources ^= :$: LqdMethane 1; LqdCO 1; LqdCO2 1; LqdDeuterium 1; LqdHe3 1; LqdHelium 0.7; LqdNitrogen 1; LqdOxygen 1; LqdTritium 1;: } //cfd
{ @PossibleResources ^= :$: LqdCO 1; LqdCO2 1; LqdDeuterium 1; LqdHe3 1; LqdHelium 0.7; LqdNitrogen 1; LqdOxygen 1; LqdTritium 1;: } //cfd


TANKTYPE
Expand Down