-
Notifications
You must be signed in to change notification settings - Fork 67
Kerbal Type
Jeremie Rossignol edited this page Jul 6, 2015
·
13 revisions
The Kerbal class (ProtoCrewMember in actualituality) represents a Kerbal in the game. This includes ship crew, Kerbals at the astronaut complex and applicants.
Methods
Method Signature | Description |
---|---|
float Experience() |
Gets the Kerbal's experience. |
int ExperienceLevel() |
Gets the Kerbal's experience level. |
ExperienceTrait ExperienceTrait() |
Gets the Kerbal's experience trait. Valid values in stock KSP are Pilot, Engineer and Scientist. |
RosterStatus RosterStatus() |
Get's the Kerbal's status on the roster. Valid values are Available, Assigned, Dead, and Missing. |
KerbalType Type() |
Gets the Kerbal's type. Valid values are Crew, Applicant, Unowned, Tourist. |
Gender Gender() |
Gets the Kerbal's gender. Valid values are Male and Female. |
Global Functions
Function Signature | Description |
---|---|
List<Kerbal> AllKerbals() |
Returns a list of all Kerbals in the game. |
Kerbal Kerbal(string identifier) |
Returns the Kerbal for the given identifier. |
- General Types
- KSP Types
- Contract Configurator Objects
- Other
- Global Functions
Contract Configurator
Configuration File Syntax
Extending Contract Configurator