PlantStateCurrentMaxFoodChunks Property |
Returns the number of food chunks this plant represents if
it hasn't taken any damage. This along with the PercentInjured
property can be used to compute the total remaining food chunks
for a plant.
Namespace: Terrarium.Sdk.Classes.StateAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic int CurrentMaxFoodChunks { get; }
Public ReadOnly Property CurrentMaxFoodChunks As Integer
Get
public:
property int CurrentMaxFoodChunks {
int get ();
}
member CurrentMaxFoodChunks : int with get
Return Value
Type:
Int32
System.Int32 representing the maximum food chunks the plant can hold.
See Also