{"action":"opened","issue":{"url":"https://api.github.com/repos/BobPalmer/MKS-LITE/issues/9","labels_url":"https://api.github.com/repos/BobPalmer/MKS-LITE/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/BobPalmer/MKS-LITE/issues/9/comments","events_url":"https://api.github.com/repos/BobPalmer/MKS-LITE/issues/9/events","html_url":"https://github.com/BobPalmer/MKS-LITE/issues/9","id":109895152,"number":9,"title":"Add Optional CRP support","user":{"login":"NyankoSensei","id":5476493,"avatar_url":"https://avatars.githubusercontent.com/u/5476493?v=3","gravatar_id":"","url":"https://api.github.com/users/NyankoSensei","html_url":"https://github.com/NyankoSensei","followers_url":"https://api.github.com/users/NyankoSensei/followers","following_url":"https://api.github.com/users/NyankoSensei/following{/other_user}","gists_url":"https://api.github.com/users/NyankoSensei/gists{/gist_id}","starred_url":"https://api.github.com/users/NyankoSensei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NyankoSensei/subscriptions","organizations_url":"https://api.github.com/users/NyankoSensei/orgs","repos_url":"https://api.github.com/users/NyankoSensei/repos","events_url":"https://api.github.com/users/NyankoSensei/events{/privacy}","received_events_url":"https://api.github.com/users/NyankoSensei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-05T22:00:31Z","updated_at":"2015-10-05T22:00:31Z","closed_at":null,"body":"Give a chance to players to have a medium difficulty level from mks-L to UKS\r\n\r\nFrom 2 resources Ore-Dirt to 5 resources Ore-Minerals-MetallicOre-Substrate-Water\r\n\r\nMKSL_CRP.cfg\r\n@PART[MKSL_AgModule]:FOR[KolonyTools]:NEEDS[CommunityResourcePack]\r\n{\r\n\t!MODULE[ModuleResourceConverter,Agroponics] {}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceConverter\r\n\t\tConverterName = Greenhouse\r\n\t\ttag = Greenhouse\r\n\t\tStartActionName = Start Greenhouse\r\n\t\tStopActionName = Stop Greenhouse\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Mulch\r\n\t\t\tRatio =  0.0001\r\n\t\t}\r\n\t\tOUTPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Organics\r\n\t\t\tRatio = 0.000075\r\n\t\t\tDumpExcess = False\r\n\t\t}\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 3\r\n\t\t}\r\n\t}\t\r\n\t\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceConverter\r\n\t\tConverterName = Agroponics\r\n\t\ttag = Agroponics\r\n\t\tStartActionName = Start Agroponics\r\n\t\tStopActionName = Stop Agroponics\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Mulch\r\n\t\t\tRatio =  0.00005\r\n\t\t}\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Fertilizer\r\n\t\t\tRatio =  0.0000025\r\n\t\t}\r\n\t\tOUTPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Organics\r\n\t\t\tRatio = 0.0000525\r\n\t\t\tDumpExcess = False\r\n\t\t}\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 12\r\n\t\t}\r\n\t}\r\n\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceConverter\r\n\t\tConverterName = Cultivator \r\n\t\ttag = Cultivator\r\n\t\tStartActionName = Start Cultivator\r\n\t\tStopActionName = Stop Cultivator\r\n\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Water\r\n\t\t\tRatio =  0.00025\r\n\t\t}\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Substrate\r\n\t\t\tRatio =  0.00025\r\n\t\t}\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 6\r\n\t\t}\r\n\t\tOUTPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Organics\r\n\t\t\tRatio =  0.000025\r\n\t\t\tDumpExcess = False\r\n\t\t}\r\n\t}\t\r\n\r\n\tRESOURCE\r\n\t{\r\n\t\tname = Fertilizer\r\n\t\tamount = 0\r\n\t\tmaxAmount = 200\r\n\t\tisTweakable = True\r\n\t}\r\n}\r\n\r\n@PART[MKSL_HabModule]:FOR[KolonyTools]:NEEDS[CommunityResourcePack]\r\n{\r\n\t!MODULE[ModuleResourceConverter,Habitat] {}\r\n\t!MODULE[ModuleResourceConverter,Recycler] {}\r\n\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceConverter\r\n\t\tConverterName = Habitat\r\n\t\ttag = Habitat\r\n\t\tStartActionName = Start Habitat\r\n\t\tStopActionName = Stop Habitat\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Organics\r\n\t\t\tRatio =  0.0001\r\n\t\t}\r\n\t\tOUTPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Supplies\r\n\t\t\tRatio = 0.0001\r\n\t\t\tDumpExcess = False\r\n\t\t}\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 3\r\n\t\t}\r\n\t}\t\r\n\t\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceConverter\r\n\t\tConverterName = Recycler\r\n\t\ttag = Recycler\r\n\t\tStartActionName = Start Recycler\r\n\t\tStopActionName = Stop Recycler\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Mulch\r\n\t\t\tRatio =  0.0001\r\n\t\t}\r\n\t\tOUTPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Supplies\r\n\t\t\tRatio = 0.00005\r\n\t\t\tDumpExcess = False\r\n\t\t}\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 3\r\n\t\t}\r\n\t}\r\n}\r\n\r\n@PART[MKSL_ILM]:FOR[KolonyTools]:NEEDS[CommunityResourcePack]\r\n{\r\n\t!MODULE[FSfuelSwitch] {} \r\n\tMODULE\r\n\t{\r\n\t\tname = FSfuelSwitch\r\n\t\tresourceNames = MetallicOre,Substrate,Minerals,Water,Ore;RocketParts,Organics;Mulch,Supplies,Fertilizer;RareMetals,ExoticMinerals\r\n\t\tresourceAmounts = 15,15,15,15,7;7,35;35,35,35;35,35\r\n\t\tinitialResourceAmounts = 0,0,0,0,0;0,0;0,0,0;0,0\r\n\t\ttankCost = 3500;3500;3500;3500;\r\n\t\thasGUI = false\r\n\t\tbasePartMass = 0.75\r\n\t\ttankMass = 0;0;0;0;\r\n\t}\r\n}\r\n\r\n@PART[MKSL_ScanOMatic]:FOR[KolonyTools]:NEEDS[CommunityResourcePack]\r\n{\r\n\t!MODULE[ModuleResourceScanner,ore] {} \r\n\t!MODULE[ModuleResourceScanner,Dirt] {} \r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceScanner\r\n\t\tScannerType = 0\r\n\t\tResourceName = Minerals\r\n\t\tMaxAbundanceAltitude = 1\r\n\t}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceScanner\r\n\t\tScannerType = 0\r\n\t\tResourceName = MetallicOre\r\n\t\tMaxAbundanceAltitude = 1\r\n\t}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceScanner\r\n\t\tScannerType = 0\r\n\t\tResourceName = Substrate\r\n\t\tMaxAbundanceAltitude = 1\r\n\t}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceScanner\r\n\t\tScannerType = 0\r\n\t\tResourceName = Water\r\n\t\tMaxAbundanceAltitude = 1\r\n\t}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceScanner\r\n\t\tScannerType = 1\r\n\t\tResourceName = Water\r\n\t\tMaxAbundanceAltitude = 1\r\n\t}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceScanner\r\n\t\tScannerType = 2\r\n\t\tResourceName = Water\r\n\t\tMaxAbundanceAltitude = 1\r\n\t}\r\n}\r\n\r\n@PART[MKSL_Sifter]:FOR[KolonyTools]:NEEDS[CommunityResourcePack]\r\n{\r\n\t!MODULE[ModuleResourceHarvester,ore] {} \r\n\t!MODULE[ModuleResourceHarvester,Dirt] {} \r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceHarvester\r\n\t\tHarvesterType = 0\r\n\t\tEfficiency = 1\r\n\t\tResourceName = Minerals\r\n\t\tConverterName = Minerals Harvester\r\n\t\tStartActionName = Start Minerals Harvester\r\n\t\tStopActionName = Stop Minerals Harvester\r\n\t\tImpactTransform = \r\n\t\tAutoShutdown = false\r\n\t\tGeneratesHeat = false\r\n\t\tUseSpecialistBonus = true\r\n\t\tSpecialistEfficiencyFactor = 0.2\r\n\t\tSpecialistBonusBase = 0.05\r\n\t\tSpecialty = Scientist\r\n\t\tEfficiencyBonus = 1\r\n\t\t\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 2\r\n\t\t}\r\n\t}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceHarvester\r\n\t\tHarvesterType = 0\r\n\t\tEfficiency = 1\r\n\t\tResourceName = MetallicOre\r\n\t\tConverterName = MetallicOre Harvester\r\n\t\tStartActionName = Start MetallicOre Harvester\r\n\t\tStopActionName = Stop MetallicOre Harvester\r\n\t\tImpactTransform = \r\n\t\tAutoShutdown = false\r\n\t\tGeneratesHeat = false\r\n\t\tUseSpecialistBonus = true\r\n\t\tSpecialistEfficiencyFactor = 0.2\r\n\t\tSpecialistBonusBase = 0.05\r\n\t\tSpecialty = Scientist\r\n\t\tEfficiencyBonus = 1\r\n\t\t\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 2\r\n\t\t}\r\n\t}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceHarvester\r\n\t\tHarvesterType = 0\r\n\t\tEfficiency = 1\r\n\t\tResourceName = Substrate\r\n\t\tConverterName = Substrate Harvester\r\n\t\tStartActionName = Start Substrate Harvester\r\n\t\tStopActionName = Stop Substrate Harvester\r\n\t\tImpactTransform = \r\n\t\tAutoShutdown = false\r\n\t\tGeneratesHeat = false\r\n\t\tUseSpecialistBonus = true\r\n\t\tSpecialistEfficiencyFactor = 0.2\r\n\t\tSpecialistBonusBase = 0.05\r\n\t\tSpecialty = Scientist\r\n\t\tEfficiencyBonus = 1\r\n\t\t\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 2\r\n\t\t}\r\n\t}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceHarvester\r\n\t\tHarvesterType = 0\r\n\t\tEfficiency = 1\r\n\t\tResourceName = Water\r\n\t\tConverterName = Water Harvester\r\n\t\tStartActionName = Start Water Harvester\r\n\t\tStopActionName = Stop Water Harvester\r\n\t\tImpactTransform = \r\n\t\tAutoShutdown = false\r\n\t\tGeneratesHeat = false\r\n\t\tUseSpecialistBonus = true\r\n\t\tSpecialistEfficiencyFactor = 0.2\r\n\t\tSpecialistBonusBase = 0.05\r\n\t\tSpecialty = Scientist\r\n\t\tEfficiencyBonus = 1\r\n\t\t\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 2\r\n\t\t}\r\n\t}\r\n\tRESOURCE\r\n\t{\r\n\t\tname = Minerals\r\n\t\tamount = 0\r\n\t\tmaxAmount = 12\r\n\t}\r\n\tRESOURCE\r\n\t{\r\n\t\tname = MetallicOre\r\n\t\tamount = 0\r\n\t\tmaxAmount = 12\r\n\t}\r\n\tRESOURCE\r\n\t{\r\n\t\tname = Substrate\r\n\t\tamount = 0\r\n\t\tmaxAmount = 12\r\n\t}\r\n\tRESOURCE\r\n\t{\r\n\t\tname = Water\r\n\t\tamount = 0\r\n\t\tmaxAmount = 12\r\n\t}\r\n\r\n\t!RESOURCE[ore] {} \r\n\t!RESOURCE[Dirt] {} \r\n}\r\n\r\n@PART[MKSL_Smelter]:FOR[KolonyTools]:NEEDS[CommunityResourcePack]\r\n{\r\n\t!MODULE[ModuleResourceConverter,RocketParts] {} \r\n\t!MODULE[ModuleResourceConverter,Prospector] {} \r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceConverter\r\n\t\tConverterName = RocketParts\r\n\t\tStartActionName = Start RocketParts\r\n\t\tStopActionName = Stop RocketParts\r\n\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = MetallicOre\r\n\t\t\tRatio = 1\r\n\t\t}\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 3\r\n\t\t}\r\n\t\tOUTPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = RocketParts\r\n\t\t\tRatio = 0.1\r\n\t\t\tDumpExcess = True\r\n\t\t}\r\n\t}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceConverter\r\n\t\tConverterName = Prospector\r\n\t\tStartActionName = Start Prospecting\r\n\t\tStopActionName = Stop Prospecting\r\n\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = Minerals\r\n\t\t\tRatio = 1\r\n\t\t}\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 3\r\n\t\t}\r\n\t\tOUTPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ExoticMinerals\r\n\t\t\tRatio = 0.01\r\n\t\t\tDumpExcess = True\r\n\t\t}\r\n\t\tOUTPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = RareMetals\r\n\t\t\tRatio = 0.01\r\n\t\t\tDumpExcess = True\r\n\t\t}\t\t\r\n\t}\r\n\t\r\n\tRESOURCE\r\n\t{\r\n\t\tname = Minerals\r\n\t\tamount = 0\r\n\t\tmaxAmount = 25\r\n\t}\r\n\tRESOURCE\r\n\t{\r\n\t\tname = MetallicOre\r\n\t\tamount = 0\r\n\t\tmaxAmount = 25\r\n\t}\r\n\r\n\t!RESOURCE[ore] {} \r\n\t!RESOURCE[Dirt] {} \r\n}\r\n\r\n!RESOURCE_DEFINITION[Dirt]:FOR[KolonyTools]:NEEDS[CommunityResourcePack]{} \r\n!PLANETARY_RESOURCE[Dirt]:FOR[KolonyTools]:NEEDS[CommunityResourcePack]{} \r\n!GLOBAL_RESOURCE[Dirt]:FOR[KolonyTools]:NEEDS[CommunityResourcePack]{} \r\n\r\nOSE.cfg\r\n@PART[MKSL_Workshop]:NEEDS[Workshop]:NEEDS[CommunityResourcePack] //The inflatable is smaller, less efficient\r\n{\r\n  MODULE\r\n  {\r\n    name = OseModuleWorkshop\r\n    ConversionRate = 1.0 // How much of a parts mass needs to be processed until it is done\r\n    ProductivityFactor = 0.05 // How much units of the resource a processed per second\r\n    UpkeepResource = ElectricCharge // This resource will be consumed 1 per second during processing\r\n    InputResource = RocketParts // This resource will be used to process the items\r\n    MinimumCrew = 1 // Amount of Kerbals needed for the Workshop to work\r\n    MaxPartVolume = 1000.0\r\n    Animate = true\r\n  }\r\n  MODULE\r\n  {\r\n    name = OseModuleRecycler\r\n    ConversionRate = 0.15 // How much of a parts mass will be recycled\r\n    ProductivityFactor = 0.1 // How much units of the resource a processed per second\r\n    UpkeepResource = ElectricCharge // This resource will be consumed 1 per second during processing\r\n    OutputResource = RocketParts// This resource will be created \r\n    MinimumCrew = 1 // Amount of Kerbals needed for the Recycler to work\r\n  }\r\n}\r\n\r\n\r\n@PART[OSE_Workshop]:NEEDS[CommunityResourcePack]\t//Convert the original over to RocketParts\r\n{  \r\n -MODULE[OseModuleWorkshop] {}\r\n -MODULE[OseModuleRecycler] {}\r\n  MODULE\r\n  {\r\n    name = OseModuleWorkshop\r\n    ConversionRate = 1.0 // How much of a parts mass needs to be processed until it is done\r\n    ProductivityFactor = 0.1 // How much units of the resource a processed per second\r\n    UpkeepResource = ElectricCharge // This resource will be consumed 1 per second during processing\r\n    InputResource = RocketParts // This resource will be used to process the items\r\n    MinimumCrew = 2 // Amount of Kerbals needed for the Workshop to work\r\n    MaxPartVolume = 2000.0\r\n    Animate = true\r\n  }\r\n\r\n  MODULE\r\n  {\r\n    name = OseModuleRecycler\r\n    ConversionRate = 0.25 // How much of a parts mass will be recycled\r\n    ProductivityFactor = 0.1 // How much units of the resource a processed per second\r\n    UpkeepResource = ElectricCharge // This resource will be consumed 1 per second during processing\r\n    OutputResource = RocketParts // This resource will be created \r\n    MinimumCrew = 2 // Amount of Kerbals needed for the Recycler to work\r\n  }\r\n -RESOURCE[MaterialKits]{}\r\n\tRESOURCE\r\n\t{\r\n\t\tname = RocketParts\r\n\t\tamount = 200\r\n\t\tmaxAmount = 200\r\n\t\tisTweakable = true\r\n\t}  \r\n}\r\n\r\n//Converter - similar to the workshop's existing functionality\r\n@PART[OSE_Converter]:NEEDS[CommunityResourcePack]\t//Convert the original over to RocketParts\r\n{  \r\n\t-MODULE[ModuleResourceConverter] {}\r\n\tMODULE\r\n\t{\r\n\t\tname = ModuleResourceConverter\r\n\t\tConverterName = RocketParts\r\n\t\tStartActionName = Start RocketParts\r\n\t\tStopActionName = Stop RocketParts\r\n\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = MetallicOre\r\n\t\t\tRatio = 10\r\n\t\t}\r\n\t\tINPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = ElectricCharge\r\n\t\t\tRatio = 3\r\n\t\t}\r\n\t\tOUTPUT_RESOURCE\r\n\t\t{\r\n\t\t\tResourceName = RocketParts\r\n\t\t\tRatio = 1\r\n\t\t\tDumpExcess = False\r\n\t\t}\r\n\t}\r\n}\r\n\r\n//Change 3000 and 6000 to be RP/Metals/Chemicals/Polymers storage - these look to be 1L units\r\n@PART[ose3000]:NEEDS[CommunityResourcePack]\r\n{  \r\n -RESOURCE[MaterialKits]{}\r\n\tRESOURCE\r\n\t{\r\n\t\tname = RocketParts\r\n\t\tamount = 600\r\n\t\tmaxAmount = 600\r\n\t\tisTweakable = true\r\n\t}\r\n}\r\n\r\n@PART[ose6000]\r\n{  \r\n -RESOURCE[MaterialKits]{}\r\n\tRESOURCE\r\n\t{\r\n\t\tname = RocketParts\r\n\t\tamount = 1200\r\n\t\tmaxAmount = 1200\r\n\t\tisTweakable = true\r\n\t}\r\n}"}}