Table of Contents

Class SkinnablePartVariant

Namespace
Vintagestory.GameContent
Assembly
VSSurvivalMod.dll

A variant of skin part Open in GitHub

[DocumentAsJson]
public class SkinnablePartVariant
Inheritance
SkinnablePartVariant

Fields

Code (Required)

Unique code of the skin part. Used in translation together with color- prefix for Texture and skinpart- for Shape skin part types respectively, e.g. color-skin1

[DocumentAsJson("Required", "", false)]
public string Code

Field Value

string

Category (Optional) (Default: standard)

Currently unused

[DocumentAsJson("Optional", "standard", false)]
public string Category

Field Value

string

Shape (Optional) (Default: None)

The part shape applied to entity shape. When not set, ShapeTemplate is used instead. Only works with Type set to Shape

[DocumentAsJson("Optional", "None", false)]
public CompositeShape Shape

Field Value

CompositeShape

Sound (Optional) (Default: None)

The sound used for player's voice. Only works with Type set to Voice

[DocumentAsJson("Optional", "None", false)]
public AssetLocation Sound

Field Value

AssetLocation

Texture (Optional) (Default: None)

The part texture applied to the main texture. Only works with Type set to Texture

[DocumentAsJson("Optional", "None", false)]
public AssetLocation Texture

Field Value

AssetLocation