Advertisement
Guest User

Untitled

a guest
May 15th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. CONTRACT_GROUP
  2. {
  3. name = MKS_Caravan_Group
  4. displayName = MKS Caravans
  5. minVersion = 1.22.2
  6. agent = Integrated Integrals
  7. }
  8.  
  9. CONTRACT_TYPE
  10. {
  11. name = MKS_Caravan
  12. group = MKS_Caravan_Group
  13. title = Establish a trade route
  14. genericTitle = Establish a trade route
  15. description = A more detailed description of the contract
  16. genericDescription = This is the generic description
  17. synopsis = You must visit the origin and the destination
  18. completedMessage = Trade route established !
  19. minExpiry = 0.0
  20. maxExpiry = 0.0
  21. maxSimultaneous = 100
  22.  
  23. DATA
  24. {
  25. type = int
  26. title = Vessel ID
  27. uniquenessCheck = CONTRACT_ACTIVE
  28. vesselTrackerId = Random(1, 999999)
  29. }
  30.  
  31. DATA
  32. {
  33. type = string
  34. title = Vessel Label
  35. uniquenessCheck = CONTRACT_ACTIVE
  36. vesselTrackerLabel = @/vesselTrackerId
  37. }
  38.  
  39. PARAMETER
  40. {
  41. name = VesselParameterGroupDefine
  42. type = VesselParameterGroup
  43. title = Launch caravan vessel @/vesselTrackerLabel
  44. define = @/vesselTrackerLabel
  45. hideVesselName = true
  46. dissassociateVesselsOnContractCompletion = true
  47. disableOnStateChange = false
  48.  
  49. PARAMETER
  50. {
  51. name = PartValidation
  52. type = PartValidation
  53. part = crewCabin
  54. minCount = 1
  55. disableOnStateChange = false
  56. }
  57.  
  58. }
  59.  
  60. PARAMETER
  61. {
  62. name = VesselParameterGroupCatch1
  63. type = VesselParameterGroup
  64. title = Bring the vessel to the trade route origin
  65. vessel = @/vesselTrackerLabel
  66.  
  67. PARAMETER
  68. {
  69. name = PartValidation
  70. type = PartValidation
  71. part = crewCabin
  72. minCount = 1
  73. disableOnStateChange = false
  74. }
  75.  
  76. PARAMETER
  77. {
  78. name = BeAtOrigin
  79. type = CaravanEndPointParameter
  80. title = Visit the trade route origin
  81. targetBody = HomeWorld()
  82. situation = LANDED
  83. disableOnStateChange = false
  84. }
  85. }
  86.  
  87. PARAMETER
  88. {
  89. name = VesselParameterGroupCatch2
  90. type = VesselParameterGroup
  91. title = Bring the vessel to the trade route destination
  92. vessel = @/vesselTrackerLabel
  93. completeInSequence = true
  94.  
  95. PARAMETER
  96. {
  97. name = PartValidation
  98. type = PartValidation
  99. part = crewCabin
  100. minCount = 1
  101. disableOnStateChange = false
  102. }
  103.  
  104. PARAMETER
  105. {
  106. name = BeAtDestination
  107. type = CaravanEndPointParameter
  108. title = Visit the trade route destination
  109. targetBody = HomeWorld()
  110. situation = LANDED
  111. }
  112. }
  113.  
  114. REQUIREMENT
  115. {
  116. name = Never
  117. title = Never
  118. type = Expression
  119. expression = false
  120. checkOnActiveContract = false
  121. }
  122. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement