Closed Discoded closed 4 months ago
Should be under tarkov-api.
It seems like there was an API Overhaul https://github.com/the-hideout/tarkov-api/pull/29.
Deprecated QuestObjective:
type QuestObjective {
id: String
type: String!
target: [String!]
targetItem: Item
number: Int
location: String
}
TaskObjective available on the api:
interface TaskObjective {
id: ID
type: String!
description: String!
locationNames: [String]!
optional: Boolean!
}
Not available on the api but in progress(?):
type TaskObjectiveItem implements TaskObjective {
id: ID
type: String!
description: String!
locationNames: [String]!
optional: Boolean!
questi: Item!
count: Int!
foundInRaid: Boolean!
dogTagLevel: Int
maxDurability: Int
minDurability: Int
}
I'm currently trying to bring tarkovdata to parity with the tarkov.dev API. How did you guys obtain the objective counts for each task?
As an example I will use the quest Shortage where we require 3 Salewas From https://tarkov.dev/task/shortage:![chrome_BkFQaH8c4y](https://github.com/the-hideout/tarkov-dev/assets/33738298/4ca90c53-4838-47f8-9ba7-7522c9c42e69)
tarkov.dev API result:
Specifically objectives:
There are currently no ways that I have seen from the API to determine the count but I'm new so I may have missed it. If so, please direct me.
For reference this is tarkovdata's objectives for the same quest:
Everything else is on the API so it's just a simple map operation. Thanks in advance