Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CONTRACT_TYPE
- {
- // Unique name of the contract type (required)
- name = Missile Test
- // The title of the contract, which is displayed in Mission Control
- // Required: Yes
- //
- title = Missile Test
- // Generic version of the contract title
- // Required: Yes (unless can be defauled from title).
- //
- genericTitle = Missile Test
- // Reference to a CONTRACT_GROUP node which supplies additional rules
- // for limiting the number of contracts within a given group.
- group = Twitchi Tech Group
- // Two options for specifying the description:
- // 1) Supply the full text here in the description field
- //description = A more detailed description of the contract.
- // 2) Supply the following fields, which will be fed into the text
- // generator. Use of the CoherentContracts mod is highly
- // recommended, as it generates far more meaningful text.
- topic = Missile // Topic of the contract. Should be a
- // singular noun.
- subject = Kerbal // Subject of the contract. See
- // CoherentContracts for some possible
- // values. Includes stuff like Kerbal,
- // Experiment, Parts, Mun, MunSrf, etc.
- motivation = test // Motivation for why we are doing the
- // contract. See CoherentContracts for
- // some possible values. Some values
- // used are: flags, test, rescue.
- // Generic version of the contract description that is displayed in
- // Mission Control when no contract is currently generated. This
- // defaults to the description, but only if it is deterministic (ie.
- // the value can be determined at parse time).
- //
- // Type: <a href="String-Type">string</a>
- // Required: Yes (unless can be defauled from description).
- //
- genericDescription = Hey Buddy.. Wanna launch a missile Test?
- // The contract synopsis appears in bold. Give a quick summary of the
- // contract objective.
- synopsis = We want you to launch a missile.
- // The completedMessage is the message that is displayed when the
- // contract completes.
- completedMessage = Missile Flown, Data Stored
- // Agent (agency). If not populated, the agent from the contract group
- // will be used. If there is no group or no agent on the group, a
- // random agent will be selected.
- agent = Twitchi Technologies
- // Contract min/max expiry in days. If both are set to 0.0, it will
- // result in a contract that never expires.
- // Default = 5.0 and 100.0 days, respectively
- minExpiry = 5.0
- maxExpiry = 100.0
- // Contract deadline in days. Default is no deadline.
- deadline = 0
- // Controls for whether a contract can be declined or cancelled, default
- // is true for both
- cancellable = true
- declinable = true
- // When set to true, this contract is automatically accepted when
- // offered. Use it to make a contract like the stock World-Firsts
- // Record contracts.
- // Default = false
- autoAccept = false
- // Prestige. If not specified, this contract type will be available at
- // any prestige level. Otherwise, locked to the level specified. Can
- // be specified multiple times.
- // Values from Contract.ContractPrestige:
- // Trivial
- // Significant
- // Exceptional
- prestige = Significant
- // Target Celestial body - controls where the contract must be
- // completed, has some automated effects on numeric values (increasing
- // science, etc.). Also gets used in some of the parameter classes.
- //
- // Default = null (no celestial body)
- targetBody = Kerbin
- // The maximum number of times this contract type can be completed (0
- // being unlimited).
- // Default = 0
- maxCompletions = 1
- // The maximum instances of this contract that can be active at one
- // time.
- // Default = 4 (unless maxCompletions is set).
- maxSimultaneous = 1
- // Contract rewards. Note that advanceFunds are automatically added to the
- // failureFunds.
- rewardScience = 20.0
- rewardReputation = 20.0
- rewardFunds = 100000.0
- failureReputation = 10.0
- failureFunds = 10000.0
- advanceFunds = 1000.0
- // The weight is used in the contract generation process. Each contract
- // type that is available to be offered is added to a weighted list.
- // Contract types with a higher value are more likely to be chosen.
- // Note that the weight is applied per contract group.
- //
- // Default = 1.0
- weight = 10.0
- // The DATA node is a special node that is not used by contracts
- // or parameters directly, but provide storage for generic values
- // that can be used as part of expressions.
- DATA
- {
- }
- // The PARAMETER node defines a contract parameter. The following
- // shows an example parameter. See the Parameters page for examples of
- // all supported parameters.
- PARAMETER
- {
- name = ReachState1
- // The type defines the type of Parameter. See the Parameters page
- // for a list of all supported Contract Configurator parameters.
- type = ReachState
- // This is a parameter specific to the ReachState parameter type.
- // Each parameter type can have include its own custom fields.
- minAltitude = 45000
- }
- // The REQUIREMENT node defines a contract requirement - a prerequisite
- REQUIREMENT
- {
- name = ReachSpace1
- type = ReachSpace
- invertRequirement = true
- }
- // The BEHAVIOUR node adds additional special contract level behaviour.
- // See the Behaviours page for examples of all supported behaviours.
- BEHAVIOUR
- {
- name = ExperimentalPart
- type = ExperimentalPart
- // The name of the part to add/remove.
- //
- // Type: AvailablePart
- // Required: Yes (multiples allowed)
- //
- part = largeSolarPanel
- // When (or if) the part should be added as an experimental part.
- //
- // Type: ExperimentalPart.UnlockCriteria
- // Required: No (defaulted)
- // Values:
- // DO_NOT_UNLOCK
- // CONTRACT_ACCEPTANCE (default)
- // CONTRACT_COMPLETION
- // PARAMETER_COMPLETION
- //
- unlockCriteria = CONTRACT_ACCEPTANCE
- // When (or if) the part should be removed as an experimental part.
- //
- // Type: ExperimentalPart.LockCriteria
- // Required: No (defaulted)
- // Values:
- // DO_NOT_LOCK
- // CONTRACT_ACCEPTANCE
- // CONTRACT_COMPLETION (default)
- // PARAMETER_COMPLETION
- //
- lockCriteria = CONTRACT_COMPLETION
- }
- }
Add Comment
Please, Sign In to add comment