SHARE
TWEET

NFSpacecraftUSILifeSupport.cfg

StanfordB Feb 2nd, 2019 (edited) 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // USI Life Support habitat and recycler functions
  2. // Edited by Boamere
  3. //Mk3-9 Orbital Command Pod
  4. @PART[command-mk3-9]:NEEDS[USILifeSupport]
  5. {
  6.     MODULE
  7.     {
  8.         name = USI_SwapController
  9.     }
  10.     MODULE
  11.     {
  12.         name = USI_SwappableBay
  13.         bayName = Bay 1
  14.         moduleIndex = 0
  15.     }
  16.     MODULE
  17.     {
  18.         name = USI_Converter
  19.         UseSpecialistBonus = false
  20.     }
  21.     MODULE
  22.     {
  23.         name = USILS_LifeSupportRecyclerSwapOption
  24.         ConverterName = Life Support
  25.         StartActionName = Start Life Support
  26.         StopActionName = Stop Life Support
  27.  
  28.         CrewCapacity = 3
  29.         RecyclePercent = 0.25
  30.  
  31.         INPUT_RESOURCE
  32.         {
  33.             ResourceName = ElectricCharge
  34.             Ratio = 1
  35.         }
  36.     }
  37. }
  38. //PPD-1 Heavy Command Module
  39. @PART[command-ppd-1]:NEEDS[USILifeSupport]
  40. {
  41.     MODULE
  42.     {
  43.         name = USI_SwapController
  44.     }
  45.     MODULE
  46.     {
  47.         name = USI_SwappableBay
  48.         bayName = Bay 1
  49.         moduleIndex = 0
  50.     }
  51.     MODULE
  52.     {
  53.         name = USI_Converter
  54.         UseSpecialistBonus = false
  55.     }
  56.     MODULE
  57.     {
  58.         name = USILS_LifeSupportRecyclerSwapOption
  59.         ConverterName = Life Support
  60.         StartActionName = Start Life Support
  61.         StopActionName = Stop Life Support
  62.  
  63.         CrewCapacity = 6
  64.         RecyclePercent = 0.5
  65.  
  66.         INPUT_RESOURCE
  67.         {
  68.             ResourceName = ElectricCharge
  69.             Ratio = 1
  70.         }
  71.     }
  72. }
  73. //Mk4-1 Heavy Command Module
  74. @PART[command-mk4-1]:NEEDS[USILifeSupport]
  75. {
  76.     MODULE
  77.     {
  78.         name = USI_SwapController
  79.     }
  80.     MODULE
  81.     {
  82.         name = USI_SwappableBay
  83.         bayName = Bay 1
  84.         moduleIndex = 0
  85.     }
  86.     MODULE
  87.     {
  88.         name = USI_Converter
  89.         UseSpecialistBonus = false
  90.     }
  91.     MODULE
  92.     {
  93.         name = USILS_LifeSupportRecyclerSwapOption
  94.         ConverterName = Life Support
  95.         StartActionName = Start Life Support
  96.         StopActionName = Stop Life Support
  97.  
  98.         CrewCapacity = 7
  99.         RecyclePercent = 0.5
  100.  
  101.         INPUT_RESOURCE
  102.         {
  103.             ResourceName = ElectricCharge
  104.             Ratio = 1
  105.         }
  106.     }
  107. }
  108.  
  109. //PPD-24 Itinerant Service Container
  110. @PART[utility-pod-25]:NEEDS[USILifeSupport]
  111. {  
  112.     MODULE
  113.     {
  114.         name = USI_SwapController
  115.     }
  116.     MODULE
  117.     {
  118.         name = USI_SwappableBay
  119.         bayName = Bay 1
  120.         moduleIndex = 0
  121.     }
  122.     MODULE
  123.     {
  124.         name = USI_Converter
  125.         UseSpecialistBonus = false
  126.     }
  127.     MODULE
  128.     {
  129.         name = USILS_HabitationSwapOption
  130.         ConverterName = Habitat
  131.         StartActionName = Start Habitat
  132.         StopActionName = Stop Habitat      
  133.  
  134.         BaseKerbalMonths = #$/mass$
  135.         @BaseKerbalMonths *= 10
  136.         @BaseKerbalMonths -= #$/CrewCapacity$
  137.         CrewCapacity = #$/CrewCapacity$
  138.         BaseHabMultiplier = 0
  139.  
  140.         INPUT_RESOURCE
  141.         {
  142.             ResourceName = ElectricCharge
  143.             Ratio = #$../BaseKerbalMonths$
  144.             @Ratio *= .25
  145.         }
  146.     }
  147.     !RESOURCE[ReplacementParts]{}
  148.     RESOURCE
  149.     {
  150.         name = ReplacementParts
  151.         amount = #$/mass$
  152.         @amount *= 1000
  153.         maxAmount = #$amount$
  154.  
  155.     }
  156. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top