Beispiel #1
0
 public StandAtJobGoal(IJob job, IPandaJobSettings jobSettings, INpcGoal nextGoal, Vector3Int pos)
 {
     Job         = job;
     Position    = pos;
     NextGoal    = nextGoal;
     JobSettings = jobSettings;
 }
Beispiel #2
0
 public PutItemsInCrateGoal(IJob job, IPandaJobSettings jobSettings, INpcGoal nextGoal, List <InventoryItem> itemsToStore)
 {
     Job          = job;
     NextGoal     = nextGoal;
     JobSettings  = jobSettings;
     ItemsToStore = itemsToStore.Select(i => new StoredItem(i)).ToArray();
 }
Beispiel #3
0
 public PutItemsInCrateGoal(IJob job, IPandaJobSettings jobSettings, INpcGoal nextGoal, StoredItem[] itemsToStore)
 {
     Job          = job;
     NextGoal     = nextGoal;
     JobSettings  = jobSettings;
     ItemsToStore = itemsToStore;
 }
Beispiel #4
0
 public GetItemsFromCrateGoal(IJob job, IPandaJobSettings jobSettings, INpcGoal nextGoal, List <InventoryItem> itemsToGet)
 {
     Job         = job;
     NextGoal    = nextGoal;
     ItemsToGet  = itemsToGet.Select(i => new StoredItem(i)).ToArray();
     JobSettings = jobSettings;
     CurrentItemsNeeded.Add(this);
 }
Beispiel #5
0
 public GetItemsFromCrateGoal(IJob job, IPandaJobSettings jobSettings, INpcGoal nextGoal, StoredItem[] itemsToGet)
 {
     Job         = job;
     NextGoal    = nextGoal;
     ItemsToGet  = itemsToGet;
     JobSettings = jobSettings;
     CurrentItemsNeeded.Add(this);
 }
Beispiel #6
0
 public CraftingGoal(IJob job, IPandaJobSettings jobSettings, CraftingJobSettings settings)
 {
     CraftingJobInstance = job as CraftingJobInstance;
     JobSettings         = jobSettings;
     CurrentlyCrafing.Add(this);
     Job = job;
     CraftingJobSettings = settings;
     ClosestCrate        = CraftingJobInstance.Position.GetClosestPosition(StorageFactory.CrateLocations[Job.Owner].Keys.ToList());
 }
Beispiel #7
0
 public StockpikeToCrateGoal(IJob job, IPandaJobSettings jobSettings)
 {
     Job         = job;
     JobSettings = jobSettings;
     PorterJob   = job as PorterJob;
 }
 public CraftingRotatedGoal(IJob job, IPandaJobSettings jobSettings, CraftingJobSettings settings) : base(job, jobSettings, settings)
 {
 }