IAnimalSpecies Interface |
Species information properties that are applicable only to animals and that should be made available to developers. Use this to find out general information about a particular animal species' capabilities.
Namespace: Terrarium.Sdk.Interfaces
The IAnimalSpecies type exposes the following members.
Name | Description | |
---|---|---|
![]() | IsSameSpecies | Used to determine if a creature with the given Species information is the same as another creature given their Species information. This is useful for assessing and remembering the strengths/weaknesses of other creatures. |
Name | Description | |
---|---|---|
![]() | EatingSpeedPerUnitRadius | The number of food chunks a creature can eat in one tick per unit Radius. This means larger creatures can eat more than smaller creatures in one tick. |
![]() | EyesightRadius | The distance that a creature can see. This is used to determine the amount of area to be evaluated in a call to the Scan method. |
![]() | GrowthWait | The amount of time in ticks a creature must wait before growing another unit of radius in size. The initial GrowthWait is defined in such a way that a creature will reach full size or MatureRadius after one half of the LifeSpan. Each tick GrowthWait will drop by one. Once the GrowthWait reaches 0 the creature will grow if it meets all growth requirements. Growth will happen automatically as long as the requirements for growth have been met. |
![]() | InvisibleOdds | The odds that a creature is invisible to another creature that uses the Scan method. |
![]() | IsCarnivore | Determines if a creature is a Carnivore. |
![]() | LifeSpan | The amount of time in ticks a creature is capable of living. Once the creature reaches the full lifespan of the species it is killed with the reason PopulationChangeReason.OldAge. |
![]() | MatureRadius | The maximum radius that a creature can achieve once they are fully matured. Once a creature has fully matured they may perform additional actions such as reproduction, while others actions cease such as growth. |
![]() | MaximumAttackDamagePerUnitRadius | The maximum amount of damage that can be inflicted by a creature in a single tick per unit radius. This means larger creatures can attack harder than smaller creatures per tick. |
![]() | MaximumDefendDamagePerUnitRadius | The maximum amount of damage that can be absorbed by a creature in a single tick per unit radius. This means larger creatures can defend better than smaller creatures per tick. |
![]() | MaximumEnergyPerUnitRadius | The maximum amount of energy a creature can store for every unit of Radius it has grown. This allows larger creatures to store more energy than smaller creatures. |
![]() | MaximumSpeed | The maximum speed the creature is capable of moving. |
![]() | ReproductionWait | The amount of time in ticks a creature must wait between reproductions. Creatures can normally reproduce more than once in a lifetime, so the time limit between reproduction and the life span of the creature are used to define the maximum number of reproductions. Each tick ReproductionWait will drop by one. Once the ReproductionWait reaches 0 one of the requirements the CanReproduce property will be met. Once a creature is capable of reproducing a call to BeginReproduction must be made to start incubation. |
![]() | Skin | Returns the Skin the creature will use when being displayed in the Terrarium. |
![]() | SkinFamily | Returns the SkinFamily the creature will use when being displayed in the Terrarium. |