public override void PostSpawnSetup(bool respawningAfterLoad) { AnimalCollectionClass.AddDraftableAnimalToList(this.parent); if (Props.makeNonFleeingToo) { AnimalCollectionClass.AddNotFleeingAnimalToList(this.parent); } }
public override void CompPostPostAdd(DamageInfo?dinfo) { if (this.parent.pawn.drafter == null) { this.parent.pawn.drafter = new Pawn_DraftController(this.parent.pawn); } if (this.parent.pawn.equipment == null) { this.parent.pawn.equipment = new Pawn_EquipmentTracker(this.parent.pawn); } AnimalCollectionClass.AddDraftableAnimalToList(this.parent.pawn); if (Props.makeNonFleeingToo) { AnimalCollectionClass.AddNotFleeingAnimalToList(this.parent.pawn); } }
public override void PostSpawnSetup(bool respawningAfterLoad) { AnimalCollectionClass.AddNotFleeingAnimalToList(this.parent); }