Table of Contents

Class AdditiveDefinition

Namespace
S1API.Items.Additive
Assembly
S1API.dll

Represents an additive item definition. Extends StorableItemDefinition with additive-specific properties.

public sealed class AdditiveDefinition : StorableItemDefinition
Inheritance
AdditiveDefinition
Inherited Members
Extension Methods

Remarks

Builder-only: these properties are intentionally read-only to avoid runtime surprises from mutating globally-registered ScriptableObject definitions mid-session. Use AdditiveItemCreator to create additives with configured effects.

Properties

DisplayMaterial

Display material used for the additive (if applicable).

public Material DisplayMaterial { get; }

Property Value

Material

InstantGrowth

Instant growth fraction applied by this additive (0..1).

public float InstantGrowth { get; }

Property Value

float

QualityChange

Quality modifier applied by this additive.

public float QualityChange { get; }

Property Value

float

YieldMultiplier

Yield multiplier applied by this additive.

public float YieldMultiplier { get; }

Property Value

float