Table of Contents

Class CreatureTemplate

Namespace
Global
Assembly
Assembly-CSharp.dll
public class CreatureTemplate
Inheritance
CreatureTemplate
Inherited Members

Constructors

CreatureTemplate(CreatureTemplate)

public CreatureTemplate(CreatureTemplate copy)

Parameters

copy CreatureTemplate

CreatureTemplate(Type, CreatureTemplate, List<TileTypeResistance>, List<TileConnectionResistance>, Relationship)

public CreatureTemplate(CreatureTemplate.Type type, CreatureTemplate ancestor, List<TileTypeResistance> tileResistances, List<TileConnectionResistance> connectionResistances, CreatureTemplate.Relationship defaultRelationship)

Parameters

type CreatureTemplate.Type
ancestor CreatureTemplate
tileResistances List<TileTypeResistance>
connectionResistances List<TileConnectionResistance>
defaultRelationship CreatureTemplate.Relationship

Fields

AI

public bool AI

Field Value

bool

BlizzardAdapted

public bool BlizzardAdapted

Field Value

bool

BlizzardWanderer

public bool BlizzardWanderer

Field Value

bool

NPCTravelAversion

public PathCost NPCTravelAversion

Field Value

PathCost

abstractImmobile

public bool abstractImmobile

Field Value

bool

abstractedLaziness

public int abstractedLaziness

Field Value

int

ancestor

public CreatureTemplate ancestor

Field Value

CreatureTemplate

baseDamageResistance

public float baseDamageResistance

Field Value

float

baseStunResistance

public float baseStunResistance

Field Value

float

bodySize

public float bodySize

Field Value

float

breedParameters

public BreedParameters breedParameters

Field Value

BreedParameters

canFly

public bool canFly

Field Value

bool

canSwim

public bool canSwim

Field Value

bool

communityID

public CreatureCommunities.CommunityID communityID

Field Value

CreatureCommunities.CommunityID

communityInfluence

public float communityInfluence

Field Value

float

countsAsAKill

public int countsAsAKill

Field Value

int

damageRestistances

public float[,] damageRestistances

Field Value

float[,]

dangerousToPlayer

public float dangerousToPlayer

Field Value

float

deliciousness

public float deliciousness

Field Value

float

doPreBakedPathing

public bool doPreBakedPathing

Field Value

bool

doesNotUseDens

public bool doesNotUseDens

Field Value

bool

doubleReachUpConnectionParams

public int[] doubleReachUpConnectionParams

Field Value

int[]

forbidStandardShortcutEntry

public bool forbidStandardShortcutEntry

Field Value

bool

grasps

public int grasps

Field Value

int

hibernateOffScreen

public bool hibernateOffScreen

Field Value

bool

index

public int index

Field Value

int

instantDeathDamageLimit

public float instantDeathDamageLimit

Field Value

float

interestInOtherAncestorsCatches

public float interestInOtherAncestorsCatches

Field Value

float

interestInOtherCreaturesCatches

public float interestInOtherCreaturesCatches

Field Value

float

jumpAction

public string jumpAction

Field Value

string

lungCapacity

public float lungCapacity

Field Value

float

mappedNodeTypes

public bool[] mappedNodeTypes

Field Value

bool[]

maxAccessibleTerrain

public int maxAccessibleTerrain

Field Value

int

meatPoints

public int meatPoints

Field Value

int

movementBasedVision

public float movementBasedVision

Field Value

float

name

public string name

Field Value

string

offScreenSpeed

public float offScreenSpeed

Field Value

float

pathingPreferencesConnections

public PathCost[] pathingPreferencesConnections

Field Value

PathCost[]

pathingPreferencesTiles

public PathCost[] pathingPreferencesTiles

Field Value

PathCost[]

pickupAction

public string pickupAction

Field Value

string

preBakedPathingAncestor

public CreatureTemplate preBakedPathingAncestor

Field Value

CreatureTemplate

prebakedPathingIndex

public int prebakedPathingIndex

Field Value

int

quantified

public bool quantified

Field Value

bool

quantifiedIndex

public int quantifiedIndex

Field Value

int

quickDeath

public bool quickDeath

Field Value

bool

relationships

public CreatureTemplate.Relationship[] relationships

Field Value

Relationship[]

requireAImap

public bool requireAImap

Field Value

bool

roamBetweenRoomsChance

public float roamBetweenRoomsChance

Field Value

float

roamInRoomChance

public float roamInRoomChance

Field Value

float

saveCreature

public bool saveCreature

Field Value

bool

scaryness

public float scaryness

Field Value

float

shortcutAversion

public PathCost shortcutAversion

Field Value

PathCost

shortcutColor

public Color shortcutColor

Field Value

Color

shortcutSegments

public int shortcutSegments

Field Value

int

smallCreature

public bool smallCreature

Field Value

bool

socialMemory

public bool socialMemory

Field Value

bool

stowFoodInDen

public bool stowFoodInDen

Field Value

bool

throughSurfaceVision

public float throughSurfaceVision

Field Value

float

throwAction

public string throwAction

Field Value

string

type

public CreatureTemplate.Type type

Field Value

CreatureTemplate.Type

usesCreatureHoles

public bool usesCreatureHoles

Field Value

bool

usesNPCTransportation

public bool usesNPCTransportation

Field Value

bool

usesRegionTransportation

public bool usesRegionTransportation

Field Value

bool

virtualCreature

public bool virtualCreature

Field Value

bool

visualRadius

public float visualRadius

Field Value

float

waterPathingResistance

public float waterPathingResistance

Field Value

float

waterRelationship

public CreatureTemplate.WaterRelationship waterRelationship

Field Value

CreatureTemplate.WaterRelationship

waterVision

public float waterVision

Field Value

float

wormGrassImmune

public bool wormGrassImmune

Field Value

bool

wormgrassTilesIgnored

public bool wormgrassTilesIgnored

Field Value

bool

Properties

IsCicada

public bool IsCicada { get; }

Property Value

bool

IsLizard

public bool IsLizard { get; }

Property Value

bool

IsVulture

public bool IsVulture { get; }

Property Value

bool

PreBakedPathingIndex

public int PreBakedPathingIndex { get; set; }

Property Value

int

UseAnyRoomBorderExit

public bool UseAnyRoomBorderExit { get; }

Property Value

bool

Methods

AbstractSubmersionLegal(bool)

public bool AbstractSubmersionLegal(bool nodeSubmerged)

Parameters

nodeSubmerged bool

Returns

bool

AccessibilityResistance(Accessibility)

public PathCost AccessibilityResistance(AItile.Accessibility v)

Parameters

v AItile.Accessibility

Returns

PathCost

ConnectionResistance(MovementType)

public PathCost ConnectionResistance(MovementConnection.MovementType v)

Parameters

v MovementConnection.MovementType

Returns

PathCost

CreatureRelationship(Creature)

public CreatureTemplate.Relationship CreatureRelationship(Creature crit)

Parameters

crit Creature

Returns

CreatureTemplate.Relationship

CreatureRelationship(CreatureTemplate)

public CreatureTemplate.Relationship CreatureRelationship(CreatureTemplate crit)

Parameters

crit CreatureTemplate

Returns

CreatureTemplate.Relationship

MovementLegalInRelationToWater(bool, bool)

public bool MovementLegalInRelationToWater(bool deepWater, bool waterSurface)

Parameters

deepWater bool
waterSurface bool

Returns

bool

SetDoubleReachUpConnectionParams(Accessibility, Accessibility, Accessibility)

public void SetDoubleReachUpConnectionParams(AItile.Accessibility groundTile, AItile.Accessibility betweenTiles, AItile.Accessibility destinationTile)

Parameters

groundTile AItile.Accessibility
betweenTiles AItile.Accessibility
destinationTile AItile.Accessibility

SetNodeType(Type, bool)

public void SetNodeType(AbstractRoomNode.Type tp, bool b)

Parameters

tp AbstractRoomNode.Type
b bool

TopAncestor()

public CreatureTemplate TopAncestor()

Returns

CreatureTemplate