|
|
@ -9,6 +9,7 @@ |
|
|
|
package engine.gameManager; |
|
|
|
package engine.gameManager; |
|
|
|
|
|
|
|
|
|
|
|
import engine.InterestManagement.WorldGrid; |
|
|
|
import engine.InterestManagement.WorldGrid; |
|
|
|
|
|
|
|
import engine.loot.WorkOrder; |
|
|
|
import engine.math.Quaternion; |
|
|
|
import engine.math.Quaternion; |
|
|
|
import engine.math.Vector3f; |
|
|
|
import engine.math.Vector3f; |
|
|
|
import engine.math.Vector3fImmutable; |
|
|
|
import engine.math.Vector3fImmutable; |
|
|
@ -516,4 +517,14 @@ public enum NPCManager { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static ArrayList<Item> getAllCookingForVendor(NPC npc) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<Item> itemList = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (WorkOrder workOrder : ForgeManager.vendorWorkOrderLookup.get(npc)) |
|
|
|
|
|
|
|
itemList.addAll(workOrder.cooking); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return itemList; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|