-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #431 from Breach-Candy/patch-2
Support for SampleReturnCapsule
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
GameData/KerbalismConfig/System/ScienceRework/ModSupport/SampleReturnCapsule.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |