Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // USI Life Support habitat and recycler functions
- // Edited by Boamere
- //Mk3-9 Orbital Command Pod
- @PART[command-mk3-9]:NEEDS[USILifeSupport]
- {
- MODULE
- {
- name = USI_SwapController
- }
- MODULE
- {
- name = USI_SwappableBay
- bayName = Bay 1
- moduleIndex = 0
- }
- MODULE
- {
- name = USI_Converter
- UseSpecialistBonus = false
- }
- MODULE
- {
- name = USILS_LifeSupportRecyclerSwapOption
- ConverterName = Life Support
- StartActionName = Start Life Support
- StopActionName = Stop Life Support
- CrewCapacity = 3
- RecyclePercent = 0.25
- INPUT_RESOURCE
- {
- ResourceName = ElectricCharge
- Ratio = 1
- }
- }
- }
- //PPD-1 Heavy Command Module
- @PART[command-ppd-1]:NEEDS[USILifeSupport]
- {
- MODULE
- {
- name = USI_SwapController
- }
- MODULE
- {
- name = USI_SwappableBay
- bayName = Bay 1
- moduleIndex = 0
- }
- MODULE
- {
- name = USI_Converter
- UseSpecialistBonus = false
- }
- MODULE
- {
- name = USILS_LifeSupportRecyclerSwapOption
- ConverterName = Life Support
- StartActionName = Start Life Support
- StopActionName = Stop Life Support
- CrewCapacity = 6
- RecyclePercent = 0.5
- INPUT_RESOURCE
- {
- ResourceName = ElectricCharge
- Ratio = 1
- }
- }
- }
- //Mk4-1 Heavy Command Module
- @PART[command-mk4-1]:NEEDS[USILifeSupport]
- {
- MODULE
- {
- name = USI_SwapController
- }
- MODULE
- {
- name = USI_SwappableBay
- bayName = Bay 1
- moduleIndex = 0
- }
- MODULE
- {
- name = USI_Converter
- UseSpecialistBonus = false
- }
- MODULE
- {
- name = USILS_LifeSupportRecyclerSwapOption
- ConverterName = Life Support
- StartActionName = Start Life Support
- StopActionName = Stop Life Support
- CrewCapacity = 7
- RecyclePercent = 0.5
- INPUT_RESOURCE
- {
- ResourceName = ElectricCharge
- Ratio = 1
- }
- }
- }
- //PPD-24 Itinerant Service Container
- @PART[utility-pod-25]:NEEDS[USILifeSupport]
- {
- MODULE
- {
- name = USI_SwapController
- }
- MODULE
- {
- name = USI_SwappableBay
- bayName = Bay 1
- moduleIndex = 0
- }
- MODULE
- {
- name = USI_Converter
- UseSpecialistBonus = false
- }
- MODULE
- {
- name = USILS_HabitationSwapOption
- ConverterName = Habitat
- StartActionName = Start Habitat
- StopActionName = Stop Habitat
- BaseKerbalMonths = #$/mass$
- @BaseKerbalMonths *= 10
- @BaseKerbalMonths -= #$/CrewCapacity$
- CrewCapacity = #$/CrewCapacity$
- BaseHabMultiplier = 0
- INPUT_RESOURCE
- {
- ResourceName = ElectricCharge
- Ratio = #$../BaseKerbalMonths$
- @Ratio *= .25
- }
- }
- !RESOURCE[ReplacementParts]{}
- RESOURCE
- {
- name = ReplacementParts
- amount = #$/mass$
- @amount *= 1000
- maxAmount = #$amount$
- }
- }
Add Comment
Please, Sign In to add comment