public Trigger_Threshold(ManagerJob_Mining job) : base(job.manager) { Op = Ops.LowerThan; MaxUpperThreshold = DefaultMaxUpperThreshold; TargetCount = DefaultCount; ThresholdFilter = new ThingFilter(job.Notify_ThresholdFilterChanged); ThresholdFilter.SetDisallowAll(); // limit selection to stone, chunks, minerals and components only. ParentFilter = new ThingFilter(); ParentFilter.SetDisallowAll(); ParentFilter.SetAllow(ThingCategoryDefOf.Chunks, true); ParentFilter.SetAllow(ThingCategoryDefOf.ResourcesRaw, true); ParentFilter.SetAllow(ThingCategoryDefOf.PlantMatter, false); ParentFilter.SetAllow(ThingDefOf.ComponentIndustrial, true); }
public Dialog_MiningDebugOptions(ManagerJob_Mining job) { this.job = job; }
public ManagerTab_Mining(Manager manager) : base(manager) { _selected = new ManagerJob_Mining(manager); }