Riwmorld
Verse.PawnKindDef Class Reference
Inheritance diagram for Verse.PawnKindDef:
Verse.Def Verse.Editable

Public Member Functions

override IEnumerable< string > ConfigErrors ()
 
override void ResolveReferences ()
 
- Public Member Functions inherited from Verse.Def
virtual void ClearCachedData ()
 
override int GetHashCode ()
 
virtual IEnumerable< StatDrawEntrySpecialDisplayStats ()
 
override string ToString ()
 
- Public Member Functions inherited from Verse.Editable
virtual void PostLoad ()
 

Static Public Member Functions

static PawnKindDef Named (string defName)
 

Public Attributes

ThingDef race
 
FactionDef defaultFactionType
 
string backstoryCategory
 
string labelPlural
 
float backstoryCryptosleepCommonality
 
bool forceNormalGearQuality
 
int minGenerationAge
 
int maxGenerationAge = 999999
 
FloatRange gearHealthRange = FloatRange.One
 
bool factionLeader
 
List< PawnKindLifeStagelifeStages = new List<PawnKindLifeStage>()
 
bool isFighter = true
 
float combatPower = -1f
 
float baseRecruitDifficulty = 0.5f
 
bool aiAvoidCover
 
FloatRange fleeHealthThresholdRange = new FloatRange(-0.4f, 0.4f)
 
FloatRange apparelMoney = FloatRange.Zero
 
List< ThingDefapparelRequired
 
List< string > apparelTags
 
float apparelAllowHeadwearChance = 1f
 
bool apparelIgnoreSeasons
 
FloatRange weaponMoney = FloatRange.Zero
 
List< string > weaponTags
 
FloatRange techHediffsMoney = FloatRange.Zero
 
List< string > techHediffsTags
 
float techHediffsChance = 0.1f
 
QualityCategory itemQuality = QualityCategory.Normal
 
List< ThingCountClassfixedInventory = new List<ThingCountClass>()
 
PawnInventoryOption inventoryOptions
 
float invNutrition
 
ThingDef invFoodDef
 
float chemicalAddictionChance
 
float combatEnhancingDrugsChance = 0.04f
 
IntRange combatEnhancingDrugsCount = IntRange.zero
 
bool trader
 
string labelMale
 
string labelMalePlural
 
string labelFemale
 
string labelFemalePlural
 
bool wildSpawn_spawnWild
 
float wildSpawn_EcoSystemWeight = 1f
 
IntRange wildSpawn_GroupSizeRange = IntRange.one
 
- Public Attributes inherited from Verse.Def
const string DefaultDefName = "UnnamedDef"
 
string defName = "UnnamedDef"
 
string label
 
string description
 
ushort shortHash
 
ushort index = 65535
 
ushort debugRandomId = (ushort)Rand.RangeInclusive(0, 65535)
 

Properties

RaceProperties RaceProps [get]
 
- Properties inherited from Verse.Def
string LabelCap [get]
 

The documentation for this class was generated from the following file: