|
bool | HasPartialIDstring (string pId) |
| test whether the subject id contains the given string More...
|
|
bool | IsFromBody (CelestialBody cb) |
| Test whether the subject is from a given celestial body More...
|
|
bool | IsFromSituation (ExperimentSituations situation) |
| test whether the subject was performed under a given situation More...
|
|
void | Load (ConfigNode node) |
|
void | Save (ConfigNode node) |
|
| ScienceSubject (string id, string title, float dataScale, float subjectValue, float scienceCap) |
|
| ScienceSubject (string id, string title, float dataScale, float subjectValue, float scienceCap, bool applyScienceScale) |
|
| ScienceSubject (ScienceExperiment exp, ExperimentSituations sit, CelestialBody body, string biome="", string displaybiome="") |
|
| ScienceSubject (ScienceExperiment exp, ExperimentSituations sit, string sourceUid, string sourceTitle, CelestialBody body, string biome="", string displaybiome="") |
|
| ScienceSubject (ConfigNode node) |
|
|
bool | applyScienceScale |
| If set to false will not apply the scaling factor on scientificValue for the data. More...
|
|
float | dataScale |
| A fixed scaling factor for the size of the data in relation to science units More...
|
|
string | id |
|
float | science |
| The amount of science gathered by this subject More...
|
|
float | scienceCap |
| the target 'max' value for scaling the scienceValue More...
|
|
float | scientificValue |
| A scaling factor for the data, that decreases as science is earned on the subject. More...
|
|
float | subjectValue |
| A scaling factor for the data, based on celestial body and experiment situation. More...
|
|
string | title |
|
ScienceSubject.ScienceSubject |
( |
string |
id, |
|
|
string |
title, |
|
|
float |
dataScale, |
|
|
float |
subjectValue, |
|
|
float |
scienceCap |
|
) |
| |
|
inline |
ScienceSubject.ScienceSubject |
( |
string |
id, |
|
|
string |
title, |
|
|
float |
dataScale, |
|
|
float |
subjectValue, |
|
|
float |
scienceCap, |
|
|
bool |
applyScienceScale |
|
) |
| |
|
inline |
bool ScienceSubject.HasPartialIDstring |
( |
string |
pId | ) |
|
|
inline |
test whether the subject id contains the given string
Test whether the subject is from a given celestial body
test whether the subject was performed under a given situation
bool ScienceSubject.applyScienceScale |
If set to false will not apply the scaling factor on scientificValue for the data.
float ScienceSubject.dataScale |
A fixed scaling factor for the size of the data in relation to science units
float ScienceSubject.science |
The amount of science gathered by this subject
float ScienceSubject.scienceCap |
the target 'max' value for scaling the scienceValue
float ScienceSubject.scientificValue |
A scaling factor for the data, that decreases as science is earned on the subject.
float ScienceSubject.subjectValue |
A scaling factor for the data, based on celestial body and experiment situation.
string ScienceSubject.title |
The documentation for this class was generated from the following file:
- KSP/Assets/Scripts/Scenarios/Career Modules/R&D/Science.cs