diff --git a/GameData/RP-0/Contracts/RP0_Contract_Resources.cfg b/GameData/RP-0/Contracts/RP0_Contract_Resources.cfg index a09caff83d5..380876b6f38 100644 --- a/GameData/RP-0/Contracts/RP0_Contract_Resources.cfg +++ b/GameData/RP-0/Contracts/RP0_Contract_Resources.cfg @@ -46,6 +46,32 @@ RESOURCE_DEFINITION volume = 1 } +// ================================================================= +// Resources related to the station science mechanics +// ================================================================= + +RESOURCE_DEFINITION +{ + name = ResearchPayload + density = 0.001 + unitCost = 2.0 + flowMode = ALL_VESSEL + transfer = NONE + isTweakable = true + volume = 1 +} + +RESOURCE_DEFINITION +{ + name = ProcessedPayload + density = 0.005 + unitCost = 0.0 + flowMode = ALL_VESSEL + transfer = NONE + isTweakable = true + fillable = false + volume = 10 +} @TANK_DEFINITION[Fuselage|ServiceModule]:FOR[RP-0]:NEEDS[RealFuels] @@ -59,6 +85,22 @@ RESOURCE_DEFINITION { -addPayload = DEL TANK + { + name = ResearchPayload + utilization = 1 + fillable = True + amount = 0.0 + maxAmount = 0.0 + } + TANK + { + name = ProcessedPayload + utilization = 1 + fillable = True + amount = 0.0 + maxAmount = 0.0 + } + TANK { name = ComSatPayload utilization = 1 diff --git a/GameData/RP-0/Contracts/Space Stations/Life Support Station.cfg b/GameData/RP-0/Contracts/Space Stations/Life Support Station.cfg index c0fe0ec865e..5222c41cf20 100644 --- a/GameData/RP-0/Contracts/Space Stations/Life Support Station.cfg +++ b/GameData/RP-0/Contracts/Space Stations/Life Support Station.cfg @@ -46,7 +46,7 @@ CONTRACT_TYPE { type = Vessel requiredValue = true - targetVessel1 = AllVessels().Where(v => v.VesselType() == Station && v.FreeDockingPorts()>0 && (v.ResourceCapacity(Food) / v.ResourceQuantity(Food))>0.26 || (v.ResourceCapacity(Water) / v.ResourceQuantity(Water))>0.26 || (v.ResourceCapacity(Oxygen) / v.ResourceQuantity(Oxygen))>0.26).Random() + targetVessel1 = AllVessels().Where(v => v.VesselType() == Station && v.FreeDockingPorts()>0 && (v.ResourceCapacity(Food) / v.ResourceQuantity(Food))<0.26 || (v.ResourceCapacity(Water) / v.ResourceQuantity(Water))<0.26 || (v.ResourceCapacity(Oxygen) / v.ResourceQuantity(Oxygen))<0.26).Random() title = Must have an open Docking Port and 25% or less of Life Support Supplies } DATA