Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Debug information for CONTRACT_TYPE 'Tourism_Base':
- Configuration:
- CONTRACT_TYPE
- {
- name = Tourism_Base
- group = Tourism
- sortKey = 04.01.Base
- genericTitle = Bring tourists to a base
- genericDescription = Let's use one of our existing bases for space tourism!
- title = Bring @Tourism:touristCount.Print() @Tourism:tourists to visit @targetVessel
- description = Some @Tourism:tourists would like to visit @targetVessel on @targetBody. This trip will cost them a lot.
- synopsis = Bring @Tourism:touristCount.Print() @Tourism:tourists to visit the base.
- completedMessage = The @Tourism:tourists had a great time!
- prestige = Exceptional
- targetBody = @targetVessel.CelestialBody()
- agent = Kerbal Space Tourism
- maxSimultaneous = 2
- rewardFunds = 10000.0 + 60000.0 * @Tourism:touristCount + Random(0.0, 5000.0)
- rewardReputation = 1.0
- failureReputation = 20.0
- notes = Don't forget that @Tourism:tourists cannot EVA! This means that we'll need a suitable way of getting them on the base (like a docking port).
- DATA
- {
- type = Vessel
- uniquenessCheck = CONTRACT_ACTIVE
- title = Must have a base with sufficient empty space
- targetVessel = AllVessels().Where(v => v.VesselType() == Base).Where(v => HomeWorld().Children().Contains(v.CelestialBody()) && v.IsLanded() && v.EmptyCrewSpace() > @Tourism:touristCount).Random()
- }
- PARAMETER
- {
- name = VesselParameterGroup
- type = VesselParameterGroup
- vessel = @/targetVessel
- duration = 2h
- targetBody = @/targetBody
- PARAMETER
- {
- name = HasPassengers
- type = HasPassengers
- targetBody = @/targetBody
- }
- }
- PARAMETER
- {
- name = RecoverKerbal
- type = RecoverKerbal
- completeInSequence = true
- targetBody = @/targetBody
- }
- BEHAVIOUR
- {
- name = SpawnPassengers
- type = SpawnPassengers
- count = @Tourism:touristCount
- }
- BEHAVIOUR
- {
- name = Expression
- type = Expression
- CONTRACT_COMPLETED_SUCCESS
- {
- TouristCount = TouristCount + @Tourism:touristCount
- TouristBaseCount = TouristBaseCount + @Tourism:touristCount
- }
- }
- REQUIREMENT
- {
- name = AnyStarter
- type = Any
- hideChildren = true
- title = Must have opened up space tourism
- targetBody = @/targetBody
- REQUIREMENT
- {
- name = CompleteContract
- type = CompleteContract
- contractType = TourismContract
- targetBody = @/targetBody
- }
- REQUIREMENT
- {
- name = CompleteContract
- type = CompleteContract
- contractType = Tourism_FirstTourist
- targetBody = @/targetBody
- }
- }
- }
- Data Nodes:
- Tourism_Base
- Tourism:name = Tourism, deterministic = True
- Tourism:displayName = Tourism Plus, deterministic = True
- Tourism:minVersion = 1.22.0, deterministic = True
- Tourism:maxCompletions = 0, deterministic = True
- Tourism:maxSimultaneous = 0, deterministic = True
- Tourism:disabledContractType = [ TourismContract ], deterministic = True
- Tourism:agent = Kerbal Space Tourism, deterministic = True
- Tourism:sortKey = Tourism Plus, deterministic = True
- Tourism:tip = Launching Space Tourists..., deterministic = True
- Tourism:crewableParts = [ crewCabin.1p5, commandPod.1p5, 625mBonny, SXTClyde, SXTBuzzard, 144cockpit, airbuscockpit, b29cockpit, bellcockpit, bombardiercockpit, cessnacabin, cessnacockpit, citationcockpit, concordecockpit, falconcockpit, fightercockpit, fighterinlinecockpit, mk3galaxy, herculescockpit, hipcockpit, hueycockpit, oh6cockpit, oldfightercockpit, x1cockpit, zerocockpit, s1p5CrewCabin, size2CrewCabin, jnsq.jebs, AM.MLP.GeneralCrewArm, AM.MLP.GeneralCrewArmSmallMount, AM.MLP.GeneralCrewElevator, AM.MLP.GeneralCrewElevatorMini, AM.MLP.GeneralCrewElevatorSmall, AM.MLP.GeneralCrewElevator2, AM.MLP.LaunchStandCrewElevatorAtlas, AM.MLP.LaunchStandCrewElevatorGemini, AM.MLP.LaunchStandCrewElevatorMercury, AM.MLP.SaturnTowerBase, AM.MLP.SaturnTowerBaseSquare, AM.MLP.ShuttleLauncherFSSBase, AM.MLP.SoyuzLaunchBaseElevator, AM.MLP.SoyuzLaunchBaseGantry, command-125-1, command-125-landing-1, command-125-orbit-1, command-25-1, command-25-landing-1, command-375-biconic-1, command-mk3-9, command-mk4-1, command-ppd-1, utility-pod-25, nesdmk1opencockpit, nesdmk1ocgs, s1.cab, s2.cab, restock-pod-sphere-1, restock-pod-sphere-2, restock-pod-sphere-3, restock-mk2-pod, cupola, seatExternalCmd, crewCabin, mk1-3pod, Mark1Cockpit, MK1CrewCabin, Mark2Cockpit, landerCabinSmall, mk1pod.v2, mk2Cockpit.Inline, mk2Cockpit.Standard, mk2LanderCabin, mk2LanderCabin.v2, mk3Cockpit.Shuttle, mk3CrewCabin, Large.Crewed.Lab, Large.Crewed.Lab.6, Large.Crewed.Lab.DSD18, mk2CrewCabin, kv1Pod, kv2Pod, kv3Pod, Mk2Pod, MEMLander, sspx-airlock-125-1, sspx-core-125-1, sspx-cupola-125-1, sspx-habitation-125-1, sspx-utility-125-1, sspx-core-1875-1, sspx-cupola-1875-1, sspx-habitation-1875-1, sspx-habitation-1875-2, sspx-science-1875-1, sspx-utility-1875-1, sspx-airlock-25-1, sspx-core-25-1, sspx-greenhouse-25-1, sspx-habitation-25-1, sspx-observation-25-1, sspx-aquaculture-375-1, sspx-core-375-1, sspx-cupola-375-1, sspx-greenhouse-375-1, sspx-habitation-375-1, sspx-habitation-375-2, sspx-habitation-375-3, sspx-lab-375-1, sspx-core-5-1, sspx-dome-cupola-5-1, sspx-dome-greenhouse-5-1, sspx-dome-habitation-5-1, sspx-greenhouse-5-1, sspx-habitation-5-1, sspx-habitation-5-2, sspx-lab-5-1, Size2PrintShop, Size2PrintShopSmall ], deterministic = True
- Tourism:unlockedParts = [ crewCabin.1p5, commandPod.1p5, 625mBonny, SXTClyde, SXTBuzzard, 144cockpit, airbuscockpit, b29cockpit, bellcockpit, bombardiercockpit, cessnacabin, cessnacockpit, citationcockpit, concordecockpit, falconcockpit, fightercockpit, fighterinlinecockpit, mk3galaxy, herculescockpit, hipcockpit, hueycockpit, oh6cockpit, oldfightercockpit, x1cockpit, zerocockpit, s1p5CrewCabin, size2CrewCabin, jnsq.jebs, AM.MLP.GeneralCrewArm, AM.MLP.GeneralCrewArmSmallMount, AM.MLP.GeneralCrewElevator, AM.MLP.GeneralCrewElevatorMini, AM.MLP.GeneralCrewElevatorSmall, AM.MLP.GeneralCrewElevator2, AM.MLP.LaunchStandCrewElevatorAtlas, AM.MLP.LaunchStandCrewElevatorGemini, AM.MLP.LaunchStandCrewElevatorMercury, AM.MLP.SaturnTowerBase, AM.MLP.SaturnTowerBaseSquare, AM.MLP.ShuttleLauncherFSSBase, AM.MLP.SoyuzLaunchBaseElevator, AM.MLP.SoyuzLaunchBaseGantry, command-125-1, command-125-landing-1, command-125-orbit-1, command-25-1, command-25-landing-1, command-375-biconic-1, command-mk3-9, command-mk4-1, command-ppd-1, utility-pod-25, nesdmk1opencockpit, nesdmk1ocgs, s1.cab, s2.cab, restock-pod-sphere-1, restock-pod-sphere-2, restock-pod-sphere-3, restock-mk2-pod, cupola, seatExternalCmd, crewCabin, mk1-3pod, Mark1Cockpit, MK1CrewCabin, Mark2Cockpit, landerCabinSmall, mk1pod.v2, mk2Cockpit.Inline, mk2Cockpit.Standard, mk2LanderCabin, mk2LanderCabin.v2, mk3Cockpit.Shuttle, mk3CrewCabin, Large.Crewed.Lab, Large.Crewed.Lab.6, Large.Crewed.Lab.DSD18, mk2CrewCabin, kv1Pod, kv2Pod, kv3Pod, Mk2Pod, MEMLander, sspx-airlock-125-1, sspx-core-125-1, sspx-cupola-125-1, sspx-habitation-125-1, sspx-utility-125-1, sspx-core-1875-1, sspx-cupola-1875-1, sspx-habitation-1875-1, sspx-habitation-1875-2, sspx-science-1875-1, sspx-utility-1875-1, sspx-airlock-25-1, sspx-core-25-1, sspx-greenhouse-25-1, sspx-habitation-25-1, sspx-observation-25-1, sspx-aquaculture-375-1, sspx-core-375-1, sspx-cupola-375-1, sspx-greenhouse-375-1, sspx-habitation-375-1, sspx-habitation-375-2, sspx-habitation-375-3, sspx-lab-375-1, sspx-core-5-1, sspx-dome-cupola-5-1, sspx-dome-greenhouse-5-1, sspx-dome-habitation-5-1, sspx-greenhouse-5-1, sspx-habitation-5-1, sspx-habitation-5-2, sspx-lab-5-1, Size2PrintShop, Size2PrintShopSmall ], deterministic = False
- Tourism:hasTwoSeatParts = True, deterministic = False
- Tourism:hasFourSeatParts = True, deterministic = False
- Tourism:moreThanOneTourist = True, deterministic = False
- Tourism:maxTourists = 4, deterministic = False
- Tourism:touristCount = 4, deterministic = False
- Tourism:tourists = tourists, deterministic = False
- Tourism:moreTourists = More tourists, deterministic = False
- name = Tourism_Base, deterministic = True
- trace = False, deterministic = True
- title = Bring four tourists to visit , deterministic = False
- tag = , deterministic = True
- description = Some tourists would like to visit on . This trip will cost them a lot., deterministic = False
- topic = , deterministic = True
- subject = , deterministic = True
- notes = Don't forget that tourists cannot EVA! This means that we'll need a suitable way of getting them on the base (like a docking port)., deterministic = False
- synopsis = Bring four tourists to visit the base., deterministic = False
- completedMessage = The tourists had a great time!, deterministic = False
- agent = Kerbal Space Tourism, deterministic = True
- minExpiry = 5, deterministic = True
- maxExpiry = 100, deterministic = True
- deadline = 0, deterministic = True
- cancellable = True, deterministic = True
- declinable = True, deterministic = True
- autoAccept = False, deterministic = True
- prestige = [ Exceptional ], deterministic = True
- targetBody = null, deterministic = False
- maxCompletions = 0, deterministic = True
- maxSimultaneous = 2, deterministic = True
- rewardFunds = 250722.4, deterministic = False
- rewardReputation = 1, deterministic = True
- rewardScience = 0, deterministic = True
- failureFunds = 0, deterministic = True
- failureReputation = 20, deterministic = True
- advanceFunds = 0, deterministic = True
- targetVessel = null, deterministic = False
- genericTitle = Bring tourists to a base, deterministic = True
- genericDescription = Let's use one of our existing bases for space tourism!, deterministic = True
- sortKey = 04.01.Base, deterministic = True
- VesselParameterGroup
- type = VesselParameterGroup, deterministic = True
- name = VesselParameterGroup, deterministic = True
- targetBody = null, deterministic = False
- rewardFunds = 0, deterministic = True
- rewardReputation = 0, deterministic = True
- rewardScience = 0, deterministic = True
- failureFunds = 0, deterministic = True
- failureReputation = 0, deterministic = True
- optional = False, deterministic = True
- disableOnStateChange = null, deterministic = True
- completeInSequence = False, deterministic = True
- hidden = False, deterministic = True
- hideChildren = False, deterministic = True
- title = null, deterministic = True
- notes = null, deterministic = True
- completedMessage = null, deterministic = True
- duration = 02:00:00, deterministic = True
- define = null, deterministic = True
- defineList = null, deterministic = True
- vessel = null, deterministic = False
- dissassociateVesselsOnContractFailure = True, deterministic = True
- dissassociateVesselsOnContractCompletion = False, deterministic = True
- hideVesselName = False, deterministic = True
- HasPassengers
- type = HasPassengers, deterministic = True
- name = HasPassengers, deterministic = True
- targetBody = null, deterministic = False
- rewardFunds = 0, deterministic = True
- rewardReputation = 0, deterministic = True
- rewardScience = 0, deterministic = True
- failureFunds = 0, deterministic = True
- failureReputation = 0, deterministic = True
- optional = False, deterministic = True
- disableOnStateChange = null, deterministic = True
- completeInSequence = False, deterministic = True
- hidden = False, deterministic = True
- hideChildren = False, deterministic = True
- title = null, deterministic = True
- notes = null, deterministic = True
- completedMessage = null, deterministic = True
- index = 0, deterministic = True
- count = 0, deterministic = True
- kerbal = [], deterministic = True
- RecoverKerbal
- type = RecoverKerbal, deterministic = True
- name = RecoverKerbal, deterministic = True
- targetBody = null, deterministic = False
- rewardFunds = 0, deterministic = True
- rewardReputation = 0, deterministic = True
- rewardScience = 0, deterministic = True
- failureFunds = 0, deterministic = True
- failureReputation = 0, deterministic = True
- optional = False, deterministic = True
- disableOnStateChange = null, deterministic = True
- completeInSequence = True, deterministic = True
- hidden = False, deterministic = True
- hideChildren = False, deterministic = True
- title = null, deterministic = True
- notes = null, deterministic = True
- completedMessage = null, deterministic = True
- kerbal = [], deterministic = True
- index = 0, deterministic = True
- count = 0, deterministic = True
- SpawnPassengers
- type = SpawnPassengers, deterministic = True
- name = SpawnPassengers, deterministic = True
- targetBody = null, deterministic = True
- kerbal = [], deterministic = True
- count = 4, deterministic = False
- kerbalType = Tourist, deterministic = True
- removePassengers = True, deterministic = True
- Expression
- type = Expression, deterministic = True
- name = Expression, deterministic = True
- targetBody = null, deterministic = True
- TouristCount = TouristCount + 4, deterministic = False
- TouristBaseCount = TouristBaseCount + 4, deterministic = False
- AnyStarter
- type = Any, deterministic = True
- name = AnyStarter, deterministic = True
- title = Must have opened up space tourism, deterministic = True
- hideChildren = True, deterministic = True
- targetBody = null, deterministic = False
- checkOnActiveContract = False, deterministic = True
- invertRequirement = False, deterministic = True
- CompleteContract
- type = CompleteContract, deterministic = True
- name = CompleteContract, deterministic = True
- title = null, deterministic = True
- hideChildren = False, deterministic = True
- targetBody = null, deterministic = False
- checkOnActiveContract = True, deterministic = True
- invertRequirement = False, deterministic = True
- tag = null, deterministic = True
- contractType = TourismContract, deterministic = True
- minCount = 1, deterministic = True
- maxCount = 4294967295, deterministic = True
- cooldownDuration = 00:00:00, deterministic = True
- CompleteContract_1
- type = CompleteContract, deterministic = True
- name = CompleteContract, deterministic = True
- title = null, deterministic = True
- hideChildren = False, deterministic = True
- targetBody = null, deterministic = False
- checkOnActiveContract = True, deterministic = True
- invertRequirement = False, deterministic = True
- tag = null, deterministic = True
- contractType = Tourism_FirstTourist, deterministic = True
- minCount = 1, deterministic = True
- maxCount = 4294967295, deterministic = True
- cooldownDuration = 00:00:00, deterministic = True
- Output log:
- [INFO] ContractConfigurator.ContractType: Loading CONTRACT_TYPE: 'Tourism_Base'
- [INFO] ContractConfigurator.ContractType: Successfully loaded CONTRACT_TYPE 'Tourism_Base'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement