Table of Contents

Class AltVariantData

Namespace
TrinketTinker.Models
Assembly
TrinketTinker.dll

Additional variant data, kind of like NPC appearance

public class AltVariantData : IVariantData
Inheritance
AltVariantData
Implements
Inherited Members

Properties

ColorMask

Draw color mask, can use color name from Microsoft.Xna.Framework.Color, hex value, or COLOR_PRISMATIC for animated prismatic effect.

public string? ColorMask { get; set; }

Property Value

string

Condition

Game state query condition

public string? Condition { get; set; }

Property Value

string

Height

Sprite height

public int Height { get; set; }

Property Value

int

NPC

Variant speaker NPC, for chatter ability. Required for Portraiture compatibility, can omit Name if set.

public string? NPC { get; set; }

Property Value

string

Name

Variant speaker name, for chatter ability.

public string? Name { get; set; }

Property Value

string

Portrait

Variant portrait content path, for chatter ability.

public string? Portrait { get; set; }

Property Value

string

Priority

Priority of this alt variant, higher

public int Priority { get; set; }

Property Value

int

ShadowScale

Base scale to draw shadow texture.

public float ShadowScale { get; set; }

Property Value

float

Texture

Variant texture content path.

public string? Texture { get; set; }

Property Value

string

TextureExtra

Additional textures.

public string? TextureExtra { get; set; }

Property Value

string

TextureScale

Base scale to draw texture at.

public float TextureScale { get; set; }

Property Value

float

Width

Sprite width

public int Width { get; set; }

Property Value

int