Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @PART[*]:HAS[@MODULE[ModuleCommand],#CrewCapacity[*],~CrewCapacity[0],!RESOURCE[Snacks]]:FOR[Snacks]
- {
- RESOURCE
- {
- name= Snacks
- amount = 50
- @amount *= #$/CrewCapacity$
- maxAmount = 50
- @maxAmount *= #$/CrewCapacity$
- }
- }
- @PART[*]:HAS[!MODULE[ModuleCommand],#CrewCapacity[*],~CrewCapacity[0],!RESOURCE[Snacks]]:FOR[Snacks]
- {
- RESOURCE
- {
- name= Snacks
- amount = 200
- @amount *= #$/CrewCapacity$
- maxAmount = 200
- @maxAmount *= #$/CrewCapacity$
- }
- }
- @PART[*]:HAS[@MODULE[KerbalSeat],!RESOURCE[Snacks]]:FOR[Snacks]
- {
- RESOURCE
- {
- name= Snacks
- amount = 2
- maxAmount = 2
- }
- }
- @PART[*]:HAS[@MODULE[ModuleScienceLab]]:FOR[Snacks]
- {
- MODULE
- {
- name = ModuleResourceConverter
- ConverterName = Snack Cultivator
- StartActionName = Start Snack Cultivator
- StopActionName = Stop Snack Cultivator
- AutoShutdown = false
- GeneratesHeat = false
- UseSpecialistBonus = true
- SpecialistEfficiencyFactor = 0.2
- SpecialistBonusBase = 0.05
- Specialty = Engineer
- EfficiencyBonus = 1
- INPUT_RESOURCE
- {
- ResourceName = Ore
- Ratio = 0.5
- FlowMode = STAGE_PRIORITY_FLOW
- }
- INPUT_RESOURCE
- {
- ResourceName = ElectricCharge
- Ratio = 30
- }
- OUTPUT_RESOURCE
- {
- ResourceName = Snacks
- Ratio = 1
- DumpExcess = false
- FlowMode = STAGE_PRIORITY_FLOW
- }
- }
- }
- @PART[cupola]:FOR[Snacks]
- {
- @RESOURCE[Snacks]
- {
- @amount = 100
- @maxAmount = 100
- }
- }
- @PART[roverBody]:FOR[Snacks]
- {
- RESOURCE
- {
- name = Snacks
- amount = 10
- maxAmount = 10
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement