Class EntityBehaviorExtraSkinnable
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
Used by the player entity to determine its customization options.
Requires EntityBehaviorTexturedClothing.
Uses the "extraskinnable" code Open in GitHub
[DocumentAsJson]
public class EntityBehaviorExtraSkinnable : EntityBehavior
- Inheritance
-
EntityBehaviorExtraSkinnable
Examples
"behaviors": [
{ "code": "extraskinnable" }
]
...
"attributes": {
"disableElements": ["hair-covered", "showshoeR", "showshoeL", "hoodtight"],
"skinnableParts": [
{
"code": "baseskin",
"type": "texture",
"variants": [
{ "code": "skin1", "texture": "entity/humanoid/seraphskinparts/body/skin1" },
{ "code": "skin2", "texture": "entity/humanoid/seraphskinparts/body/skin2" },
{ "code": "skin3", "texture": "entity/humanoid/seraphskinparts/body/skin3" },
{ "code": "skin4", "texture": "entity/humanoid/seraphskinparts/body/skin4" },
{ "code": "skin5", "texture": "entity/humanoid/seraphskinparts/body/skin5" },
{ "code": "skin6", "texture": "entity/humanoid/seraphskinparts/body/skin6" },
{ "code": "skin7", "texture": "entity/humanoid/seraphskinparts/body/skin7" },
{ "code": "skin8", "texture": "entity/humanoid/seraphskinparts/body/skin8" },
{ "code": "skin9", "texture": "entity/humanoid/seraphskinparts/body/skin9" },
{ "code": "skin10", "texture": "entity/humanoid/seraphskinparts/body/skin10" },
{ "code": "skin11", "texture": "entity/humanoid/seraphskinparts/body/skin11" },
{ "code": "skin12", "texture": "entity/humanoid/seraphskinparts/body/skin12" },
{ "code": "skin13", "texture": "entity/humanoid/seraphskinparts/body/skin13" },
{ "code": "skin14", "texture": "entity/humanoid/seraphskinparts/body/skin14" },
{ "code": "skin15", "texture": "entity/humanoid/seraphskinparts/body/skin15" },
{ "code": "skin16", "texture": "entity/humanoid/seraphskinparts/body/skin16" },
{ "code": "skin17", "texture": "entity/humanoid/seraphskinparts/body/skin17" },
{ "code": "skin18", "texture": "entity/humanoid/seraphskinparts/body/skin18" },
{ "code": "skin19", "texture": "entity/humanoid/seraphskinparts/body/skin19" },
{ "code": "skin20", "texture": "entity/humanoid/seraphskinparts/body/skin20" }
]
},
]
}
Properties
mainTextureCode (Required) (Default: seraph)
[DocumentAsJson("Required", "seraph", true)]
public string mainTextureCode
Property Value
skinnableParts (Required)
A list of skin parts to choose from during customization
[DocumentAsJson("Required", "", true)]
public SkinnablePart[] AvailableSkinParts