Table of Contents

Class ShroomInstance

Namespace
S1API.Products
Assembly
S1API.dll

Represents an instance of a mushroom (shroom) product.

public sealed class ShroomInstance : ProductInstance
Inheritance
ShroomInstance
Inherited Members
Extension Methods

Remarks

Mushroom products can have psychedelic visual effects when consumed by players. This class extends ProductInstance to provide shroom-specific functionality.

Properties

Definition

Gets the shroom-specific definition for this instance.

public ShroomDefinition Definition { get; }

Property Value

ShroomDefinition

Name

Gets the display name of the shroom instance. Automatically pluralizes "Shroom" to "Shrooms" when quantity is greater than 1.

public string Name { get; }

Property Value

string