Click or drag to resize
AnimalStateRotTicks Property

Provides the number of ticks a particular corpse has been rotting for. This is useful to determine whether a corpse will be around long enough to be used for food.

Under normal circumstances a corpse will remain for 100 ticks. However, this number may be shortened if the machine is under load and many creatures are dying from sickness.

Namespace: Terrarium.Sdk.Classes.State
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public int RotTicks { get; }

Return Value

Type: Int32
System.Int32 representing the number of ticks the creature has been dead.
See Also