Modding:BodyPart: Difference between revisions
Jump to navigation
Jump to search
m (SkyCorp moved page BodyPart to Modding:BodyPart) |
(add link to body part name list page) |
||
| Line 5: | Line 5: | ||
=== static BodyPart getBodyPart(string bodyPartName) === | === static BodyPart getBodyPart(string bodyPartName) === | ||
Gets body part object from body part name (string). Returns null if no body part with that name can be found. | Gets body part object from body part name (string). Returns null if no body part with that name can be found. | ||
See [[Modding:Body part name list|name list]] for valid body part names | |||
== Public Methods == | == Public Methods == | ||
Latest revision as of 21:32, 9 January 2026
Represents a particular transformation the player can undergo.
Public Static Methods
static BodyPart getBodyPart(string bodyPartName)
Gets body part object from body part name (string). Returns null if no body part with that name can be found.
See name list for valid body part names
Public Methods
int getTransformationSeverity()
How transformed is this body part?
- 0=human
- 1=hideable non-human
- 2=unhideable non-human
void setTransformationSeverity(int severity)
Set how transformed this body part is.
- 0=human
- 1=hideable non-human
- 2=unhideable non-human
Species getSpeciesType()
Gets the species the body part is set as.
void setSpeciesType(Species species)
Sets what species the body part is.