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);
        }
Ejemplo n.º 2
0
 public Dialog_MiningDebugOptions(ManagerJob_Mining job)
 {
     this.job = job;
 }
Ejemplo n.º 3
0
 public ManagerTab_Mining(Manager manager) : base(manager)
 {
     _selected = new ManagerJob_Mining(manager);
 }