public ManagerJob_Livestock( Manager manager )
            : base(manager)
        {
            // init designations
            Designations = new List<Designation>();

            // start history tracker
            _history = new History( Utilities_Livestock.AgeSexArray.Select( ageSex => ageSex.ToString() ).ToArray() );

            // set up the trigger, set all target counts to 5
            Trigger = new Trigger_PawnKind( this.manager );

            // set all training to false
            Training = new TrainingTracker();

            // set areas for restriction and taming to unrestricted
            TameArea = null;
            RestrictToArea = false;
            RestrictArea = Utilities_Livestock.AgeSexArray.Select( k => (Area) null ).ToList();

            // set defaults for boolean options
            TryTameMore = false;
            ButcherExcess = true;
            ButcherTrained = false;
        }
Esempio n. 2
0
        public ManagerJob_Livestock(Manager manager) : base(manager)
        {
            // init designations
            _designations = new List <Designation>();

            // start history tracker
            _history = new History(Utilities_Livestock.AgeSexArray.Select(ageSex => ageSex.ToString()).ToArray());

            // set up the trigger, set all target counts to 5
            Trigger = new Trigger_PawnKind(this.manager);

            // set all training to false
            Training = new TrainingTracker();

            // set areas for restriction and taming to unrestricted
            TameArea       = null;
            RestrictToArea = false;
            RestrictArea   = Utilities_Livestock.AgeSexArray.Select(k => (Area)null).ToList();

            // set up sending animals designated for slaughter to an area (freezer)
            SendToSlaughterArea = false;
            SlaughterArea       = null;

            // set up milking area
            SendToMilkingArea = false;
            MilkArea          = null;

            // set up shearing area
            SendToShearingArea = false;
            ShearArea          = null;

            // set up training area
            SendToTrainingArea = false;
            TrainingArea       = null;

            // taming
            TryTameMore = false;
            TameArea    = null;

            // set defaults for butchering
            ButcherExcess   = true;
            ButcherTrained  = false;
            ButcherPregnant = false;
            ButcherBonded   = false;

            // following
            SetFollow       = true;
            FollowDrafted   = true;
            FollowFieldwork = true;
            FollowTraining  = false;
            Masters         = MasterMode.Default;
            Master          = null;
            Trainers        = MasterMode.Default;
            Trainer         = null;
        }
Esempio n. 3
0
        public ManagerJob_Livestock(Manager manager) : base(manager)
        {
            // init designations
            Designations = new List <Designation>();

            // start history tracker
            _history = new History(Utilities_Livestock.AgeSexArray.Select(ageSex => ageSex.ToString()).ToArray());

            // set up the trigger, set all target counts to 5
            Trigger = new Trigger_PawnKind(this.manager);

            // set all training to false
            Training = new TrainingTracker();

            // set areas for restriction and taming to unrestricted
            TameArea       = null;
            RestrictToArea = false;
            RestrictArea   = Utilities_Livestock.AgeSexArray.Select(k => (Area)null).ToList();

            // set defaults for boolean options
            TryTameMore    = false;
            ButcherExcess  = true;
            ButcherTrained = false;
        }