Sandbox.ModAPI.Ingame
IMyFarmPlotLogic
Assembly: Sandbox.Common.dll
public interface IMyFarmPlotLogic
Describes the exposed farm plot logic (PB scripting interface).
Properties
| Member | Description |
|---|---|
| AmountOfSeedsRequired | The amount of seeds that are needed to start growing a plant at this farm plot. |
| IsAlive | Whether the plant is alive. |
| IsHarvestable | Whether the plant can be harvested. By default, the block is harvestable if it contains a plant that is fully grown or dead. |
| IsPlantFullyGrown | Whether the plant is fully grown. |
| IsPlantPlanted | Whether a plant is planted, dead or alive. |
| OutputItem | The item that the currently planted seed will produce when fully grown. |
| OutputItemAmount | The amount of items that the currently planted seed will produce when fully grown. Returns 0 if the plant is not yet fully grown. |
Methods
| Member | Description |
|---|---|
| GetDetailedInfoWithoutRequiredInput() | Obtains detailed info that does not include the required power input. Used by the plant management screen. |