Ejemplo n.º 1
0
        public AgentLivingIndigo()
            : base()
        {
            AgentsRangeOfView = 20;

            #region Adding skills

            SkillsList.Add(Skills.Woodcutting);
            SkillsList.Add(Skills.Gathering);
            SkillsList.Add(Skills.Communicationing);
            SkillsList.Add(Skills.CampConstructing);

            #endregion

            #region Adding needs

            NeedFromCharacteristic.Add(CurrentState.Peacefulness, Needs.NeedAttack);
            NeedFromCharacteristic.Add(CurrentState.Health, Needs.NeedRest);
            NeedFromCharacteristic.Add(CurrentState.FoodSatiety, Needs.NeedEat);
            NeedFromCharacteristic.Add(CurrentState.Stamina, Needs.NeedRest);
            NeedFromCharacteristic.Add(CurrentState.Strenght, Needs.NeedRest);
            NeedFromCharacteristic.Add(CurrentState.WaterSatiety, Needs.NeedDrink);

            #endregion
        }
Ejemplo n.º 2
0
        public AgentTree()
            : base()
        {
            CurrentState = new StateTree();

            Inventory.StorageSize = 5;
            //Inventory.AddAgentToStorage(new AgentItemLog());
            //Inventory.AddAgentToStorage(new AgentItemLog());

            NeedFromCharacteristic.Add(CurrentState.Health, Needs.NeedNothing);
            NeedFromCharacteristic.Add(CurrentState.Prolificacy, Needs.NeedGrowFruit);

            logger.Info("Created new {0}", this.GetType());
            logger.Trace("Created new {0}", this);
        }
Ejemplo n.º 3
0
 public AgentManMadeShelterCamp()
     : base()
 {
     NeedFromCharacteristic.Add(CurrentState.Health, Needs.NeedNothing);
 }
Ejemplo n.º 4
0
 public AgentPuddle()
     : base()
 {
     NeedFromCharacteristic.Add(CurrentState.Health, Needs.NeedNothing);
 }
Ejemplo n.º 5
0
 public AgentItemFoodFruit()
     : base()
 {
     NeedFromCharacteristic.Add(CurrentState.Health, Needs.NeedNothing);
 }