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

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

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