Advertisement
Guest User

Untitled

a guest
Aug 4th, 2022
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.62 KB | None | 0 0
  1. Debug information for CONTRACT_TYPE 'Tourism_Base':
  2.  
  3. Configuration:
  4. CONTRACT_TYPE
  5. {
  6. name = Tourism_Base
  7. group = Tourism
  8. sortKey = 04.01.Base
  9. genericTitle = Bring tourists to a base
  10. genericDescription = Let's use one of our existing bases for space tourism!
  11. title = Bring @Tourism:touristCount.Print() @Tourism:tourists to visit @targetVessel
  12. description = Some @Tourism:tourists would like to visit @targetVessel on @targetBody. This trip will cost them a lot.
  13. synopsis = Bring @Tourism:touristCount.Print() @Tourism:tourists to visit the base.
  14. completedMessage = The @Tourism:tourists had a great time!
  15. prestige = Exceptional
  16. targetBody = @targetVessel.CelestialBody()
  17. agent = Kerbal Space Tourism
  18. maxSimultaneous = 2
  19. rewardFunds = 10000.0 + 60000.0 * @Tourism:touristCount + Random(0.0, 5000.0)
  20. rewardReputation = 1.0
  21. failureReputation = 20.0
  22. 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).
  23. DATA
  24. {
  25. type = Vessel
  26. uniquenessCheck = CONTRACT_ACTIVE
  27. title = Must have a base with sufficient empty space
  28. targetVessel = AllVessels().Where(v => v.VesselType() == Base).Where(v => HomeWorld().Children().Contains(v.CelestialBody()) && v.IsLanded() && v.EmptyCrewSpace() > @Tourism:touristCount).Random()
  29. }
  30. PARAMETER
  31. {
  32. name = VesselParameterGroup
  33. type = VesselParameterGroup
  34. vessel = @/targetVessel
  35. duration = 2h
  36. targetBody = @/targetBody
  37. PARAMETER
  38. {
  39. name = HasPassengers
  40. type = HasPassengers
  41. targetBody = @/targetBody
  42. }
  43. }
  44. PARAMETER
  45. {
  46. name = RecoverKerbal
  47. type = RecoverKerbal
  48. completeInSequence = true
  49. targetBody = @/targetBody
  50. }
  51. BEHAVIOUR
  52. {
  53. name = SpawnPassengers
  54. type = SpawnPassengers
  55. count = @Tourism:touristCount
  56. }
  57. BEHAVIOUR
  58. {
  59. name = Expression
  60. type = Expression
  61. CONTRACT_COMPLETED_SUCCESS
  62. {
  63. TouristCount = TouristCount + @Tourism:touristCount
  64. TouristBaseCount = TouristBaseCount + @Tourism:touristCount
  65. }
  66. }
  67. REQUIREMENT
  68. {
  69. name = AnyStarter
  70. type = Any
  71. hideChildren = true
  72. title = Must have opened up space tourism
  73. targetBody = @/targetBody
  74. REQUIREMENT
  75. {
  76. name = CompleteContract
  77. type = CompleteContract
  78. contractType = TourismContract
  79. targetBody = @/targetBody
  80. }
  81. REQUIREMENT
  82. {
  83. name = CompleteContract
  84. type = CompleteContract
  85. contractType = Tourism_FirstTourist
  86. targetBody = @/targetBody
  87. }
  88. }
  89. }
  90.  
  91. Data Nodes:
  92. Tourism_Base
  93. Tourism:name = Tourism, deterministic = True
  94. Tourism:displayName = Tourism Plus, deterministic = True
  95. Tourism:minVersion = 1.22.0, deterministic = True
  96. Tourism:maxCompletions = 0, deterministic = True
  97. Tourism:maxSimultaneous = 0, deterministic = True
  98. Tourism:disabledContractType = [ TourismContract ], deterministic = True
  99. Tourism:agent = Kerbal Space Tourism, deterministic = True
  100. Tourism:sortKey = Tourism Plus, deterministic = True
  101. Tourism:tip = Launching Space Tourists..., deterministic = True
  102. 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
  103. 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
  104. Tourism:hasTwoSeatParts = True, deterministic = False
  105. Tourism:hasFourSeatParts = True, deterministic = False
  106. Tourism:moreThanOneTourist = True, deterministic = False
  107. Tourism:maxTourists = 4, deterministic = False
  108. Tourism:touristCount = 4, deterministic = False
  109. Tourism:tourists = tourists, deterministic = False
  110. Tourism:moreTourists = More tourists, deterministic = False
  111. name = Tourism_Base, deterministic = True
  112. trace = False, deterministic = True
  113. title = Bring four tourists to visit , deterministic = False
  114. tag = , deterministic = True
  115. description = Some tourists would like to visit on . This trip will cost them a lot., deterministic = False
  116. topic = , deterministic = True
  117. subject = , deterministic = True
  118. 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
  119. synopsis = Bring four tourists to visit the base., deterministic = False
  120. completedMessage = The tourists had a great time!, deterministic = False
  121. agent = Kerbal Space Tourism, deterministic = True
  122. minExpiry = 5, deterministic = True
  123. maxExpiry = 100, deterministic = True
  124. deadline = 0, deterministic = True
  125. cancellable = True, deterministic = True
  126. declinable = True, deterministic = True
  127. autoAccept = False, deterministic = True
  128. prestige = [ Exceptional ], deterministic = True
  129. targetBody = null, deterministic = False
  130. maxCompletions = 0, deterministic = True
  131. maxSimultaneous = 2, deterministic = True
  132. rewardFunds = 250722.4, deterministic = False
  133. rewardReputation = 1, deterministic = True
  134. rewardScience = 0, deterministic = True
  135. failureFunds = 0, deterministic = True
  136. failureReputation = 20, deterministic = True
  137. advanceFunds = 0, deterministic = True
  138. targetVessel = null, deterministic = False
  139. genericTitle = Bring tourists to a base, deterministic = True
  140. genericDescription = Let's use one of our existing bases for space tourism!, deterministic = True
  141. sortKey = 04.01.Base, deterministic = True
  142.  
  143. VesselParameterGroup
  144. type = VesselParameterGroup, deterministic = True
  145. name = VesselParameterGroup, deterministic = True
  146. targetBody = null, deterministic = False
  147. rewardFunds = 0, deterministic = True
  148. rewardReputation = 0, deterministic = True
  149. rewardScience = 0, deterministic = True
  150. failureFunds = 0, deterministic = True
  151. failureReputation = 0, deterministic = True
  152. optional = False, deterministic = True
  153. disableOnStateChange = null, deterministic = True
  154. completeInSequence = False, deterministic = True
  155. hidden = False, deterministic = True
  156. hideChildren = False, deterministic = True
  157. title = null, deterministic = True
  158. notes = null, deterministic = True
  159. completedMessage = null, deterministic = True
  160. duration = 02:00:00, deterministic = True
  161. define = null, deterministic = True
  162. defineList = null, deterministic = True
  163. vessel = null, deterministic = False
  164. dissassociateVesselsOnContractFailure = True, deterministic = True
  165. dissassociateVesselsOnContractCompletion = False, deterministic = True
  166. hideVesselName = False, deterministic = True
  167.  
  168. HasPassengers
  169. type = HasPassengers, deterministic = True
  170. name = HasPassengers, deterministic = True
  171. targetBody = null, deterministic = False
  172. rewardFunds = 0, deterministic = True
  173. rewardReputation = 0, deterministic = True
  174. rewardScience = 0, deterministic = True
  175. failureFunds = 0, deterministic = True
  176. failureReputation = 0, deterministic = True
  177. optional = False, deterministic = True
  178. disableOnStateChange = null, deterministic = True
  179. completeInSequence = False, deterministic = True
  180. hidden = False, deterministic = True
  181. hideChildren = False, deterministic = True
  182. title = null, deterministic = True
  183. notes = null, deterministic = True
  184. completedMessage = null, deterministic = True
  185. index = 0, deterministic = True
  186. count = 0, deterministic = True
  187. kerbal = [], deterministic = True
  188.  
  189. RecoverKerbal
  190. type = RecoverKerbal, deterministic = True
  191. name = RecoverKerbal, deterministic = True
  192. targetBody = null, deterministic = False
  193. rewardFunds = 0, deterministic = True
  194. rewardReputation = 0, deterministic = True
  195. rewardScience = 0, deterministic = True
  196. failureFunds = 0, deterministic = True
  197. failureReputation = 0, deterministic = True
  198. optional = False, deterministic = True
  199. disableOnStateChange = null, deterministic = True
  200. completeInSequence = True, deterministic = True
  201. hidden = False, deterministic = True
  202. hideChildren = False, deterministic = True
  203. title = null, deterministic = True
  204. notes = null, deterministic = True
  205. completedMessage = null, deterministic = True
  206. kerbal = [], deterministic = True
  207. index = 0, deterministic = True
  208. count = 0, deterministic = True
  209.  
  210. SpawnPassengers
  211. type = SpawnPassengers, deterministic = True
  212. name = SpawnPassengers, deterministic = True
  213. targetBody = null, deterministic = True
  214. kerbal = [], deterministic = True
  215. count = 4, deterministic = False
  216. kerbalType = Tourist, deterministic = True
  217. removePassengers = True, deterministic = True
  218.  
  219. Expression
  220. type = Expression, deterministic = True
  221. name = Expression, deterministic = True
  222. targetBody = null, deterministic = True
  223. TouristCount = TouristCount + 4, deterministic = False
  224. TouristBaseCount = TouristBaseCount + 4, deterministic = False
  225.  
  226. AnyStarter
  227. type = Any, deterministic = True
  228. name = AnyStarter, deterministic = True
  229. title = Must have opened up space tourism, deterministic = True
  230. hideChildren = True, deterministic = True
  231. targetBody = null, deterministic = False
  232. checkOnActiveContract = False, deterministic = True
  233. invertRequirement = False, deterministic = True
  234.  
  235. CompleteContract
  236. type = CompleteContract, deterministic = True
  237. name = CompleteContract, deterministic = True
  238. title = null, deterministic = True
  239. hideChildren = False, deterministic = True
  240. targetBody = null, deterministic = False
  241. checkOnActiveContract = True, deterministic = True
  242. invertRequirement = False, deterministic = True
  243. tag = null, deterministic = True
  244. contractType = TourismContract, deterministic = True
  245. minCount = 1, deterministic = True
  246. maxCount = 4294967295, deterministic = True
  247. cooldownDuration = 00:00:00, deterministic = True
  248.  
  249. CompleteContract_1
  250. type = CompleteContract, deterministic = True
  251. name = CompleteContract, deterministic = True
  252. title = null, deterministic = True
  253. hideChildren = False, deterministic = True
  254. targetBody = null, deterministic = False
  255. checkOnActiveContract = True, deterministic = True
  256. invertRequirement = False, deterministic = True
  257. tag = null, deterministic = True
  258. contractType = Tourism_FirstTourist, deterministic = True
  259. minCount = 1, deterministic = True
  260. maxCount = 4294967295, deterministic = True
  261. cooldownDuration = 00:00:00, deterministic = True
  262.  
  263.  
  264. Output log:
  265. [INFO] ContractConfigurator.ContractType: Loading CONTRACT_TYPE: 'Tourism_Base'
  266. [INFO] ContractConfigurator.ContractType: Successfully loaded CONTRACT_TYPE 'Tourism_Base'
  267.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement