Jump to content

Repair contracts


Recommended Posts

These would crop up for vessels that you put in orbit on previous contracts. If you take the contract some random parts of the vessel in question will be damaged and you have to take an engineer there to repair them. This will give you an incentive to revisit old satellites that you just put up and forget otherwise.

Link to comment
Share on other sites

Yup, definitely possible with Contract Configurator. In fact the Tourism Plus contract pack has some of the logic in contracts for bringing tourists to visit stations (this one). The basic idea is to use an expression to find a vessel that meets your criteria for the contract, like so:

    DATA
{
type = Vessel
targetVessel = AllVessels().Where(v => v.VesselType() == Station && v.CelestialBody() == @targetBody && v.IsOrbiting() && v.EmptyCrewSpace() > @/SpawnPassengers/count).Random()
}

You can then reference it like this:

    PARAMETER
{
name = VesselParameterGroup
type = VesselParameterGroup
vessel = @/targetVessel
duration = 4h
PARAMETER
{
name = HasPassengers
type = HasPassengers
}
}

Link to comment
Share on other sites

Yes, please. Also would like to see the implementation of the toolbox there were pictures posted a while back. Also screwing/unscrewing/replacing of small pieces on EVA.

Edited by Veeltch
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...