Skip to content

Commit

Permalink
update to version 1.0.6
Browse files Browse the repository at this point in the history
    Bug Fix:
        - The support for Snacks! and IFI Life-Support now works properly (Greenhouse produces LifeSupport/Snacks now)
  • Loading branch information
Nils277 committed Mar 23, 2016
1 parent b8e9c4a commit 838d5c5
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 127 deletions.
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
//---------------------IFI-Life Support------------------------
@PART[KKAOSS_Greenhouse_g]:FOR[PlanetarySurfaceStructures]:NEEDS[IFILifeSupport]:HAS[!MODULE[PlanetaryGreenhouse]]
{
//conversion rate of 10:1 for Ore -> Life Support
MODULE
{
name = PlanetaryGreenhouse
ConverterName = Cultivation
StartActionName = Start Farming
StopActionName = Stop Farming
AutoShutdown = false
GeneratesHeat = false

INPUT_RESOURCE
{
ResourceName = Ore
Ratio = 0.00371
}
INPUT_RESOURCE
{
ResourceName = ElectricCharge
Ratio = 0.5 //10800 per day
}
OUTPUT_RESOURCE
{
ResourceName = LifeSupport
Ratio = 0.000371 //A bit more than for 8 Kerbals
DumpExcess = false
}
}
}

@PART[KKAOSS_Central_Hub]:FOR[PlanetarySurfaceStructures]:NEEDS[IFILifeSupport]:AFTER[IFILS]
{
!RESOURCE[LifeSupport]{}
RESOURCE
{
name = LifeSupport
amount = 36
maxAmount = 36
}
}

@PART[KKAOSS_Habitat_MK2_g]:FOR[PlanetarySurfaceStructures]:NEEDS[IFILifeSupport]:AFTER[IFILS]
{
!RESOURCE[LifeSupport]{}
RESOURCE
{
name = LifeSupport
amount = 24
maxAmount = 24
}
}

@PART[KKAOSS_Habitat_MK1_g]:FOR[PlanetarySurfaceStructures]:NEEDS[IFILifeSupport]:AFTER[IFILS]
{
!RESOURCE[LifeSupport]{}
RESOURCE
{
name = LifeSupport
amount = 18
maxAmount = 18
}
//---------------------IFI-Life Support------------------------
@PART[KKAOSS_Greenhouse_g]:FOR[PlanetarySurfaceStructures]:NEEDS[IFILifeSupport]
{
//conversion rate of 10:1 for Ore -> Life Support
MODULE
{
name = PlanetaryGreenhouse
ConverterName = Cultivation
StartActionName = Start Farming
StopActionName = Stop Farming
AutoShutdown = false
GeneratesHeat = false

INPUT_RESOURCE
{
ResourceName = Ore
Ratio = 0.00371
}
INPUT_RESOURCE
{
ResourceName = ElectricCharge
Ratio = 0.5 //10800 per day
}
OUTPUT_RESOURCE
{
ResourceName = LifeSupport
Ratio = 0.000371 //A bit more than for 8 Kerbals
DumpExcess = false
}
}
}

@PART[KKAOSS_Central_Hub]:FOR[PlanetarySurfaceStructures]:NEEDS[IFILifeSupport]:AFTER[IFILifeSupport]
{
!RESOURCE[LifeSupport]{}
RESOURCE
{
name = LifeSupport
amount = 36
maxAmount = 36
}
}

@PART[KKAOSS_Habitat_MK2_g]:FOR[PlanetarySurfaceStructures]:NEEDS[IFILifeSupport]:AFTER[IFILifeSupport]
{
!RESOURCE[LifeSupport]{}
RESOURCE
{
name = LifeSupport
amount = 24
maxAmount = 24
}
}

@PART[KKAOSS_Habitat_MK1_g]:FOR[PlanetarySurfaceStructures]:NEEDS[IFILifeSupport]:AFTER[IFILifeSupport]
{
!RESOURCE[LifeSupport]{}
RESOURCE
{
name = LifeSupport
amount = 18
maxAmount = 18
}
}
Original file line number Diff line number Diff line change
@@ -1,65 +1,65 @@
//---------------------Snacks------------------------
@PART[KKAOSS_Greenhouse_g]:FOR[PlanetarySurfaceStructures]:NEEDS[Snacks]:HAS[!MODULE[PlanetaryGreenhouse]]
{
MODULE
{
name = PlanetaryGreenhouse
ConverterName = Cultivation
StartActionName = Start Farming
StopActionName = Stop Farming
AutoShutdown = false
GeneratesHeat = false

INPUT_RESOURCE
{
ResourceName = Ore
Ratio = 0.5
FlowMode = STAGE_PRIORITY_FLOW
}
INPUT_RESOURCE
{
ResourceName = ElectricCharge
Ratio = 3
}
OUTPUT_RESOURCE
{
ResourceName = Snacks
Ratio = 1
DumpExcess = false
FlowMode = STAGE_PRIORITY_FLOW
}
}
}

@PART[KKAOSS_Central_Hub]:FOR[PlanetarySurfaceStructures]:NEEDS[Snacks]:AFTER[Snacks]
{
!RESOURCE[Snacks]{}
RESOURCE
{
name = Snacks
amount = 380
maxAmount = 380
}
}

@PART[KKAOSS_Habitat_MK2_g]:FOR[PlanetarySurfaceStructures]:NEEDS[Snacks]:AFTER[Snacks]
{
!RESOURCE[Snacks]{}
RESOURCE
{
name = Snacks
amount = 250
maxAmount = 250
}
}

@PART[KKAOSS_Habitat_MK1_g]:FOR[PlanetarySurfaceStructures]:NEEDS[Snacks]:AFTER[Snacks]
{
!RESOURCE[Snacks]{}
RESOURCE
{
name = Snacks
amount = 200
maxAmount = 200
}
//---------------------Snacks------------------------
@PART[KKAOSS_Greenhouse_g]:FOR[PlanetarySurfaceStructures]:NEEDS[Snacks]
{
MODULE
{
name = PlanetaryGreenhouse
ConverterName = Cultivation
StartActionName = Start Farming
StopActionName = Stop Farming
AutoShutdown = false
GeneratesHeat = false

INPUT_RESOURCE
{
ResourceName = Ore
Ratio = 0.5
FlowMode = STAGE_PRIORITY_FLOW
}
INPUT_RESOURCE
{
ResourceName = ElectricCharge
Ratio = 3
}
OUTPUT_RESOURCE
{
ResourceName = Snacks
Ratio = 1
DumpExcess = false
FlowMode = STAGE_PRIORITY_FLOW
}
}
}

@PART[KKAOSS_Central_Hub]:FOR[PlanetarySurfaceStructures]:NEEDS[Snacks]:AFTER[Snacks]
{
!RESOURCE[Snacks]{}
RESOURCE
{
name = Snacks
amount = 380
maxAmount = 380
}
}

@PART[KKAOSS_Habitat_MK2_g]:FOR[PlanetarySurfaceStructures]:NEEDS[Snacks]:AFTER[Snacks]
{
!RESOURCE[Snacks]{}
RESOURCE
{
name = Snacks
amount = 250
maxAmount = 250
}
}

@PART[KKAOSS_Habitat_MK1_g]:FOR[PlanetarySurfaceStructures]:NEEDS[Snacks]:AFTER[Snacks]
{
!RESOURCE[Snacks]{}
RESOURCE
{
name = Snacks
amount = 200
maxAmount = 200
}
}

0 comments on commit 838d5c5

Please sign in to comment.