Added first implementation of Collection page indicator and savegame reader tool

This commit is contained in:
Wofsauge committed 2022-01-30 18:29:35 +01:00
1 parent 16a1d74fd4
commit f4794d569e
11 files changed
+135 -5

No files matched your search

+6
View File
@@ -1258,3 +1258,9 @@ function EID:resumeCoroutines()
if coroutine.resume(v) == false then EID:removeCoroutine(k) end
end
end
-- Returns true if an item needs to be collected for the collection page
function EID:requiredForCollectionPage(itemID)
if not EID.SaveGame or EID.Config["SaveGameNumber"] == 0 then return false end
return not EID.SaveGame[EID.Config["SaveGameNumber"]].ItemCollection[itemID]
end