Class AdditiveDefinition
Represents an additive item definition. Extends StorableItemDefinition with additive-specific properties.
[Obsolete("Use S1API.Items.Additive.AdditiveDefinition instead")]
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
QualityChange
Quality modifier applied by this additive.
public float QualityChange { get; }
Property Value
YieldMultiplier
Yield multiplier applied by this additive.
public float YieldMultiplier { get; }