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 patch for CryoTanks mod #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
320 changes: 320 additions & 0 deletions GameData/ConfigurableContainers/Parts/CryoTanks_Patch.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,320 @@
//Configurable Containers patch for CryoTanks

//RadialTanks
@PART[hydrogen-radial-125-1]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 0.98765427984 //160.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-radial-25-1]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 10.86419707824 //1760.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-radial-375-1]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 39.5061711936 //6400.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}

//InlineTanks
@PART[hydrogen-125-1]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 4.9382713992 //800.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-125-2]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 2.4691356996 //400.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-25-1]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 39.5061711936 //6400.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-25-2]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 19.7530855968 //3200.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-25-3]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 9.8765427984 //1600.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-375-1]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 88.88888518559999 //14400.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-375-2]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 44.444442592799994 //7200 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-375-3]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 22.222221296399997 //3600.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-5-1]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 355.55554074239996 //57600.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-5-2]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 177.77777037119998 //28800 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-5-3]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 88.88888518559999 //14400.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}
@PART[hydrogen-10-1]:HAS[!MODULE[InterstellarFuelSwitch],!MODULE[FSfuelSwitch],!MODULE[ModuleB9PartSwitch]:HAS[@SUBTYPE:HAS[#tankType]]]:NEEDS[!modularFuelTanks&!RealFuels]:AFTER[CryoTanks]
{
!RESOURCE[LqdHydrogen]
{

}
MODULE
{
name = ModuleTankManager
Volume = 711.1110814847999 //115200.0 units of LF: conversion rate is 0.013717 m3/u
DoCostPatch = True
DoMassPatch = True
TANK
{
TankType = CryoCooling
CurrentResource = LqdHydrogen
InitialAmount = 1.0
Volume = 100.0
}
}
}