|
void | Load (ConfigNode node) |
|
void | Save (ConfigNode node) |
|
| ScienceData (ConfigNode node) |
|
| ScienceData (float amount, float xmitValue, float xmitBonus, string id, string dataName, bool triggered=false, uint container=0) |
|
| ScienceData (float amount, float scienceValueRatio, float xmitValue, float xmitBonus, string id, string dataName, bool triggered=false, uint container=0, string extraResultString="") |
|
ScienceData.ScienceData |
( |
float |
amount, |
|
|
float |
xmitValue, |
|
|
float |
xmitBonus, |
|
|
string |
id, |
|
|
string |
dataName, |
|
|
bool |
triggered = false , |
|
|
uint |
container = 0 |
|
) |
| |
|
inline |
ScienceData.ScienceData |
( |
float |
amount, |
|
|
float |
scienceValueRatio, |
|
|
float |
xmitValue, |
|
|
float |
xmitBonus, |
|
|
string |
id, |
|
|
string |
dataName, |
|
|
bool |
triggered = false , |
|
|
uint |
container = 0 , |
|
|
string |
extraResultString = "" |
|
) |
| |
|
inline |
float ScienceData.baseTransmitValue |
This is the transmission value.
uint ScienceData.container |
float ScienceData.dataAmount |
This is the amount of science data (not science points)
string ScienceData.extraResultString |
float ScienceData.labValue |
This is the Value of the Data if sent to a Science Lab
float ScienceData.scienceValueRatio |
Different parts can generate different amounts of science. We control how much using the science value ratio. It should be a value between 0 and 1 representing a percentage of the overall scienceCap.
string ScienceData.subjectID |
The Subject ID this data is for.
The Title of the experiment this data is for. (this is a localization tag).
float ScienceData.transmitBonus |
The Transmission Bonus. This is a percentage multiplier.
bool ScienceData.triggered |
The documentation for this class was generated from the following file:
- KSP/Assets/Scripts/Scenarios/Career Modules/R&D/Science.cs