Class PlantInstance
Represents an instance of a growing plant in the world.
public class PlantInstance
- Inheritance
-
PlantInstance
- Inherited Members
- Extension Methods
Properties
IsFullyGrown
Whether the plant is fully grown.
public bool IsFullyGrown { get; }
Property Value
NormalizedGrowth
The current growth stage as a float from 0.0 to 1.0.
public float NormalizedGrowth { get; }
Property Value
Quality
The quality level of this plant.
public float Quality { get; }
Property Value
SeedDefinition
The SeedDefinition that this plant originated from.
public SeedDefinition SeedDefinition { get; }
Property Value
YieldMultiplier
The yield multiplier of this plant.
public float YieldMultiplier { get; }
Property Value
Methods
Destroy(bool)
Destroys this plant in-game.
public void Destroy(bool dropScraps = false)
Parameters
dropScrapsboolWhether to drop plant scraps (trash) at the plant's location.