Exemple #1
0
        public AiTaskSeekFoodAndEat(EntityAgent entity) : base(entity)
        {
            api         = entity.Api;
            porregistry = api.ModLoader.GetModSystem <POIRegistry>();

            entity.WatchedAttributes.SetBool("doesEat", true);
        }
Exemple #2
0
 public AiTaskSeekFoodAndEat(EntityAgent entity) : base(entity)
 {
     porregistry = entity.Api.ModLoader.GetModSystem <POIRegistry>();
 }
Exemple #3
0
        public AiTaskSeekBlockAndLay(EntityAgent entity) : base(entity)
        {
            porregistry = entity.Api.ModLoader.GetModSystem <POIRegistry>();

            entity.WatchedAttributes.SetBool("doesSit", true);
        }