Kerbal Space Program
1.12.4
|
Static Public Member Functions | |
static void | CleanUpUnsanitaryEVAKerbals (ConfigNode flightState) |
static SurveyDefinition | FindSurveyDefinition (string experiment) |
Finds a survey definition containing the given science experiment manually instead of through ContractDefs. More... | |
static bool | OldCareerSave (Game.Modes mode, int saveMajor, int saveMinor, int saveRevision) |
Determines whether a loading save is an old career save. More... | |
static bool | OldCareerSave (Game.Modes mode, string versionString) |
Determines whether a loading save is an old career save. More... | |
static bool | SavePriorTo (int major, int minor, int revision) |
Checks if the save was made prior to an arbitrary version. More... | |
static void | UpdateCareerSave (ConfigNode node) |
Checks a loading save for contracts that are missing things that were added recently, and attempts to add them. More... | |
static string | UpgradeVesselSituation (string situation) |
Upgrades a saved vessel situation through various versions. More... | |
Static Public Attributes | |
static int | majorVersion = int.MaxValue |
static int | minorVersion = int.MaxValue |
static int | revisionVersion = int.MaxValue |
|
inlinestatic |
|
inlinestatic |
Finds a survey definition containing the given science experiment manually instead of through ContractDefs.
experiment | The experiment. |
|
inlinestatic |
Determines whether a loading save is an old career save.
mode | The game mode of the save. |
saveMajor | The major version of the save. |
saveMinor | The minor version of the save. |
saveRevision | The revision version of the save. |
|
inlinestatic |
Determines whether a loading save is an old career save.
mode | The game mode of the save. |
versionString | The delimited version in string form. |
|
inlinestatic |
Checks if the save was made prior to an arbitrary version.
major | The major arbitrary version. |
minor | The minor arbitrary version. |
revision | The revision arbitrary version. |
|
inlinestatic |
Checks a loading save for contracts that are missing things that were added recently, and attempts to add them.
node | The main save node. |
< Part Tests now have haul variants.
< Tourism had its tourists condensed to a node list, and extra values added.
< Base Contracts can now be contextual.
< ISRU contracts now have bitwise situations, for now patch up the ones that no longer exist.
< Station Contracts can now be contextual.
< Satellite Contracts now have multiple placement modes. Old saves were only new.
< Surveys are now contextual, and have different grammar applied based on their survey definition.
< VesselSystemsParameter uses IContractObjectiveModule as of 1.2, upgrade 1.1.3 and below. Most names did not change, but power did.
< ProbeSystemsParameter and FacilitySystemsParameter were combined into VesselSystemsParameter, and have new members.
< LocationAndSituation parameters now have bitwise situations, for now patch up the ones that no longer exist.
< ResourceExtractionParameter now keeps track of resources harvested by specific modules, default to ModuleResourceHarvester.
< SpecificOrbitParameter is now a WaypointParameter, and uses TargetBody.
< New SurveyWaypointParameters can bounce, but not old ones.
< StationaryPointParameters keep track of multiple deviations now. Original deviation was 12.5% (45 degrees).
< Part Test parameters received some new save data.
< PartRequestParameter now uses SaveNodeList, which uses the pipe delimiter, which is safer than a comma.
|
inlinestatic |
Upgrades a saved vessel situation through various versions.
situation | The situation as loaded from ConfigNode. |
< Saves made prior to 105 were not bitwise. Saves made on 105 were in bitwise, and saves made after were strings.
|
static |
|
static |
|
static |