mirror of
https://github.com/Blaststar/Questie-Octo-Vanilla.git
synced 2026-10-20 20:30:49 +00:00
Force pushing all my changes
This commit is contained in:
@@ -37,11 +37,19 @@ local function IndexCoords(coords,questID)
|
||||
end
|
||||
end
|
||||
|
||||
local function StarterCreatureCoords(q,creatureID)
|
||||
local marker=q and q.conditionalMapMarker or nil
|
||||
if marker and tonumber(marker.creatureID)==tonumber(creatureID) then
|
||||
return marker.coords
|
||||
end
|
||||
return QuestieOcto.DatabaseAPI:GetCreatureCoords(creatureID)
|
||||
end
|
||||
|
||||
local function IndexQuest(q)
|
||||
if not q then return end
|
||||
|
||||
for _,id in pairs(q.starts.creature or {}) do
|
||||
IndexCoords(QuestieOcto.DatabaseAPI:GetCreatureCoords(id),q.id)
|
||||
IndexCoords(StarterCreatureCoords(q,id),q.id)
|
||||
end
|
||||
|
||||
for _,id in pairs(q.starts.gameObject or {}) do
|
||||
|
||||
Reference in New Issue
Block a user