Skip to content

Commit

Permalink
Merge pull request #431 from Breach-Candy/patch-2
Browse files Browse the repository at this point in the history
Support for SampleReturnCapsule
  • Loading branch information
UsernamesAreAlwaysTaken committed Jun 29, 2019
2 parents 1b3914f + b9f7388 commit 9f91eb8
Showing 1 changed file with 56 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
//Made by Breach Candy#6128

//==========Tweakables==========\\
@KERBALISM_HDD_SIZES:BEFORE[Kerbalism]:NEEDS[SampleReturnCapsule,FeatureScience]
{
SampleReturnCapsule
{
CargoBay
{
hddSize = 0
sampleStorage = 12
}
ProbeCore
{
hddSize = 1
sampleStorage = 0
}
}
}

//==========Patches==========\\
@PART[SampleReturnCapsule_CargoBay]:NEEDS[SampleReturnCapsule,FeatureScience]:AFTER[Kerbalism]
{
%MODULE[HardDrive]
{
%dataCapacity = #$@KERBALISM_HDD_SIZES/SampleReturnCapsule/CargoBay/hddSize$
%sampleCapacity = #$@KERBALISM_HDD_SIZES/SampleReturnCapsule/CargoBay/sampleStorage$
}
}
@PART[SampleReturnCapsule_Parachute]:NEEDS[SampleReturnCapsule,FeatureScience]:AFTER[Kerbalism]
{
@MODULE[HardDrive]
{
@dataCapacity = #$@KERBALISM_HDD_SIZES/SampleReturnCapsule/ProbeCore/hddSize$
@sampleCapacity = #$@KERBALISM_HDD_SIZES/SampleReturnCapsule/ProbeCore/sampleStorage$
}
}

//==========Add an antenna(Commtech 16S)==========\\
@PART[SampleReturnCapsule_Parachute]:NEEDS[SampleReturnCapsule]
{
MODULE
{
name = ModuleDataTransmitter
antennaType = DIRECT
packetInterval = 0.6
packetSize = 2
packetResourceCost = 12.0
requiredResource = ElectricCharge
antennaPower = 500000
antennaCombinable = False
}
}

//==========Moving Parts to Science Category==========\\
@PART[SampleReturnCapsule_*] {category = Science}

0 comments on commit 9f91eb8

Please sign in to comment.