-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug Fix: - The support for Snacks! and IFI Life-Support now works properly (Greenhouse produces LifeSupport/Snacks now)
- Loading branch information
Showing
2 changed files
with
127 additions
and
127 deletions.
There are no files selected for viewing
126 changes: 63 additions & 63 deletions
126
GameData/PlanetaryBaseInc/ModSupport/Configs/LifeSupport/KPBS_MM_IFI_LIFE_SUPPORT.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 |
---|---|---|
@@ -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 | ||
} | ||
} |
128 changes: 64 additions & 64 deletions
128
GameData/PlanetaryBaseInc/ModSupport/Configs/LifeSupport/KPBS_MM_Snacks.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 |
---|---|---|
@@ -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 | ||
} | ||
} |