protected override void ModifyPawn(Pawn p) { if (Rand.Value < this.chance && p.needs != null) { Need need = p.needs.TryGetNeed(this.need); if (need != null) { need.ForceSetLevel(this.levelRange.RandomInRange); } } }
protected override void ModifyPawnPostGenerate(Pawn p, bool redressed) { if (p.needs != null) { Need need = p.needs.TryGetNeed(this.need); if (need != null) { need.ForceSetLevel(this.levelRange.RandomInRange); } } }