public Challenge_Zoo(ChallengeDef def) : base(def) { if (allZooableAnimals.Count() == 0) { int cnt = 0; foreach (PawnKindDef pkdef in DefDatabase <PawnKindDef> .AllDefs.Where(x => x.RaceProps.Animal)) { allZooableAnimals.Add(pkdef); cnt++; } Log.Message("Total animal kind count: " + allZooableAnimals.Count()); } }
private static void ClampInCoordinateLimits(ChallengeDef rp) { if (rp.x < 0f) { rp.x = 0f; } if (rp.y < 0f) { rp.y = 0f; } if (rp.y > 6.5f) { rp.y = 6.5f; } }
public Challenge_MineOutResources(ChallengeDef def) : base(def) { }
public Challenge_KillAnimalsAll(ChallengeDef def) : base(def) { }
public Challenge_SurviveRaids(ChallengeDef def) : base(def) { }
public ChallengeWorker(ChallengeDef def) { this.def = def; }
public ChallengeWorkerNone(ChallengeDef def) : base(def) { }
public Challenge_NColonists(ChallengeDef def) : base(def) { }
public Challenge_MineOutAll(ChallengeDef def) : base(def) { }
public Challenge_SkillLevel(ChallengeDef def) : base(def) { }
public Challenge_Masterpiece(ChallengeDef def) : base(def) { }