Skip to content

UnlockPart Behaviour

Jeremie Rossignol edited this page Jul 17, 2015 · 2 revisions

Behaviour for unlocking a part. Note that if the player isn't playing with part unlocking that this behaviour does nothing!

BEHAVIOUR
{
    name = UnlockPart
    type = UnlockPart

    // The name of the part to unlock on completion of the contract.
    //
    // Type:      AvailablePart
    // Required:  Yes (multiples allowed)
    //
    part = mk1pod

    // Whether to also unlock the technology for this part.  Note that if the
    // technology is not already unlocked and this is set to false, the part
    // cannot be unlocked (the behaviour just won't do
    // anything).
    //
    // Type:      bool
    // Required:  No (defaulted)
    // Default:   true
    //
    unlockTech = true
}
Clone this wiki locally