Advertisement
Chuske

ContractModKSP

Jun 19th, 2021
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CONTRACT_TYPE
  2. {
  3. name = ExplorationPlus-FlyBy
  4. title = Start exploring @/targetBody1
  5. genericTitle = Start exploring a Celestial Body
  6. group = ExplorationPlus
  7. description = Here at KSC we like to think we are always open to exploring new frontiers. With this in mind, we want you to head out to @/targetBody1 and see what we can see.
  8. genericDescription = Head to a new celestial body, to see what we can see.
  9. synopsis = Begin exploring @/targetBody1
  10. completedMessage = Huzzah! There is no such thing as the final frontier.
  11. minExpiry = 1
  12. maxExpiry = 7
  13. deadline = 0
  14. cancellable = true
  15. declinable = true
  16. prestige = Exceptional
  17. targetBody = @/targetBody1
  18. maxSimultaneous = 2
  19. rewardScience = 3
  20. rewardReputation = 6.0
  21. rewardFunds = 44000.00
  22. failureReputation = 0.0
  23. failureFunds = 0
  24. advanceFunds = 0
  25. DATA
  26. {
  27. type = CelestialBody
  28. targetBody1 = NextUnreachedBodies(2).SelectUnique()
  29. uniquenessCheck = CONTRACT_ALL
  30. title = Must have not reached all bodies.
  31. }
  32.  
  33. PARAMETER
  34. {
  35. name = ReachState
  36. type = ReachState
  37. situation = ESCAPING
  38. title = Fly by @/targetBody1
  39. disableOnStateChange = true
  40.  
  41. REQUIREMENT
  42. {
  43. name = NotSun
  44. type = Expression
  45. expression = !@/targetBody1.IsSun()
  46. }
  47. }
  48.  
  49. PARAMETER
  50. {
  51. name = ReachState
  52. type = ReachState
  53. situation = ORBITING
  54. title = Orbit @/targetBody1
  55. disableOnStateChange = true
  56.  
  57. REQUIREMENT
  58. {
  59. name = IsSun
  60. type = Expression
  61. expression = @/targetBody1.IsSun()
  62. }
  63. }
  64.  
  65. PARAMETER
  66. {
  67. name = CollectScience
  68. type = CollectScience
  69. recoveryMethod = RecoverOrTransmit
  70. title = Return the first science from @/targetBody1
  71. }
  72.  
  73. REQUIREMENT
  74. {
  75. name = ReachOrbit
  76. type = Orbit
  77. targetBody = HomeWorld()
  78. title = Must have reached orbit for the first time.
  79. }
  80. }
  81.  
Advertisement
RAW Paste Data Copied
Advertisement