Class containing information on a specific science result, data stored in the persistent file under the R&D node. More...
Public Member Functions | |
| ScienceSubject (ConfigNode node) | |
| Return a Science Subject from Research and Development node in the persistent file. More... | |
| ScienceSubject (ScienceExperiment exp, ExperimentSituations sit, CelestialBody body, string biome="") | |
| Generate new Science Subject. More... | |
| ScienceSubject (string id, string title, float dataScale, float subjectValue, float scienceCap) | |
| ScienceSubject (ScienceExperiment exp, ExperimentSituations sit, string sourceUid, string sourceTitle, CelestialBody body, string biome="") | |
| void | Load (ConfigNode node) |
| void | Save (ConfigNode node) |
Public Attributes | |
| float | dataScale |
| Multiply science value by this dataScale value to determine data amount in mits. More... | |
| string | id |
| Subject ID in Experimentname format More... | |
| float | science |
| Amount of science already earned from this subject, not updated until after transmission/recovery. More... | |
| float | scienceCap |
| Total science allowable for this subject, based on subjectValue. More... | |
| float | scientificValue |
| Diminishing value multiplier for decreasing the science value returned from repeated experiments. More... | |
| float | subjectValue |
| Multiplier for specific Celestial Body/Experiment Situation combination. More... | |
| string | title |
| Title of science subject, displayed in science archives. More... | |
Class containing information on a specific science result, data stored in the persistent file under the R&D node.
| ScienceSubject.ScienceSubject | ( | ConfigNode | node | ) |
Return a Science Subject from Research and Development node in the persistent file.
| node |
| ScienceSubject.ScienceSubject | ( | ScienceExperiment | exp, |
| ExperimentSituations | sit, | ||
| CelestialBody | body, | ||
| string | biome = "" |
||
| ) |
Generate new Science Subject.
| exp | Science Experiment from ScienceDefs file and ModuleScienceExperiment |
| sit | Current experimantal situation, based on VesselSituation |
| body | Current Celestial Body |
| biome | Current biome if applicable, empty string if not |
| ScienceSubject.ScienceSubject | ( | string | id, |
| string | title, | ||
| float | dataScale, | ||
| float | subjectValue, | ||
| float | scienceCap | ||
| ) |
| ScienceSubject.ScienceSubject | ( | ScienceExperiment | exp, |
| ExperimentSituations | sit, | ||
| string | sourceUid, | ||
| string | sourceTitle, | ||
| CelestialBody | body, | ||
| string | biome = "" |
||
| ) |
| void ScienceSubject.Load | ( | ConfigNode | node | ) |
| void ScienceSubject.Save | ( | ConfigNode | node | ) |
| float ScienceSubject.dataScale |
Multiply science value by this dataScale value to determine data amount in mits.
| string ScienceSubject.id |
Subject ID in Experimentname format
| float ScienceSubject.science |
Amount of science already earned from this subject, not updated until after transmission/recovery.
| float ScienceSubject.scienceCap |
Total science allowable for this subject, based on subjectValue.
| float ScienceSubject.scientificValue |
Diminishing value multiplier for decreasing the science value returned from repeated experiments.
| float ScienceSubject.subjectValue |
Multiplier for specific Celestial Body/Experiment Situation combination.
| string ScienceSubject.title |
Title of science subject, displayed in science archives.
1.8.7