Exemplo n.º 1
0
 public StandAtJobGoal(IJob job, IPandaJobSettings jobSettings, INpcGoal nextGoal, Vector3Int pos)
 {
     Job         = job;
     Position    = pos;
     NextGoal    = nextGoal;
     JobSettings = jobSettings;
 }
Exemplo n.º 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();
 }
Exemplo n.º 3
0
 public PutItemsInCrateGoal(IJob job, IPandaJobSettings jobSettings, INpcGoal nextGoal, StoredItem[] itemsToStore)
 {
     Job          = job;
     NextGoal     = nextGoal;
     JobSettings  = jobSettings;
     ItemsToStore = itemsToStore;
 }
Exemplo n.º 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);
 }
Exemplo n.º 5
0
 public GetItemsFromCrateGoal(IJob job, IPandaJobSettings jobSettings, INpcGoal nextGoal, StoredItem[] itemsToGet)
 {
     Job         = job;
     NextGoal    = nextGoal;
     ItemsToGet  = itemsToGet;
     JobSettings = jobSettings;
     CurrentItemsNeeded.Add(this);
 }
Exemplo n.º 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());
 }
Exemplo n.º 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)
 {
 }