Update main.lua
This commit is contained in:
1 parent
7c9865e126
commit
235d3ca5f1
1 file changed
-5
@@ -28,7 +28,6 @@ EID.sacrificeCounter = {}
|
|||||||
EID.itemConfig = Isaac.GetItemConfig()
|
EID.itemConfig = Isaac.GetItemConfig()
|
||||||
EID.itemUnlockStates = {}
|
EID.itemUnlockStates = {}
|
||||||
EID.CraneItemType = {}
|
EID.CraneItemType = {}
|
||||||
EID.collectiblesOwned = {}
|
|
||||||
EID.absorbedItems = {}
|
EID.absorbedItems = {}
|
||||||
EID.CollectedItems = {}
|
EID.CollectedItems = {}
|
||||||
local pathsChecked = {}
|
local pathsChecked = {}
|
||||||
@@ -1257,7 +1256,6 @@ if EID.MCMLoaded or REPENTANCE then
|
|||||||
["BagFloorContent"] = true,
|
["BagFloorContent"] = true,
|
||||||
["CraneItemType"] = true,
|
["CraneItemType"] = true,
|
||||||
["FlipItemPositions"] = true,
|
["FlipItemPositions"] = true,
|
||||||
["CollectiblesOwned"] = true,
|
|
||||||
["AbsorbedItems"] = true,
|
["AbsorbedItems"] = true,
|
||||||
["CollectedItems"] = true,
|
["CollectedItems"] = true,
|
||||||
}
|
}
|
||||||
@@ -1282,14 +1280,12 @@ if EID.MCMLoaded or REPENTANCE then
|
|||||||
EID.BagItems = {}
|
EID.BagItems = {}
|
||||||
EID.CraneItemType = {}
|
EID.CraneItemType = {}
|
||||||
EID.flipItemPositions = {}
|
EID.flipItemPositions = {}
|
||||||
EID.collectiblesOwned = {}
|
|
||||||
EID.absorbedItems = {}
|
EID.absorbedItems = {}
|
||||||
|
|
||||||
if isSave then
|
if isSave then
|
||||||
EID.BagItems = savedEIDConfig["BagContent"] or {}
|
EID.BagItems = savedEIDConfig["BagContent"] or {}
|
||||||
EID.bagOfCraftingRoomQueries = savedEIDConfig["BagFloorContent"] or {}
|
EID.bagOfCraftingRoomQueries = savedEIDConfig["BagFloorContent"] or {}
|
||||||
EID.CraneItemType = savedEIDConfig["CraneItemType"] or {}
|
EID.CraneItemType = savedEIDConfig["CraneItemType"] or {}
|
||||||
EID.collectiblesOwned = savedEIDConfig["AbsorbedItems"] or {}
|
|
||||||
EID.absorbedItems = savedEIDConfig["AbsorbedItems"] or {}
|
EID.absorbedItems = savedEIDConfig["AbsorbedItems"] or {}
|
||||||
|
|
||||||
-- turn list back into dict because json cant save dict indices.
|
-- turn list back into dict because json cant save dict indices.
|
||||||
@@ -1351,7 +1347,6 @@ if EID.MCMLoaded or REPENTANCE then
|
|||||||
EID.Config["BagContent"] = EID.BagItems or {}
|
EID.Config["BagContent"] = EID.BagItems or {}
|
||||||
EID.Config["BagFloorContent"] = EID.bagOfCraftingRoomQueries or {}
|
EID.Config["BagFloorContent"] = EID.bagOfCraftingRoomQueries or {}
|
||||||
EID.Config["CraneItemType"] = EID.CraneItemType or {}
|
EID.Config["CraneItemType"] = EID.CraneItemType or {}
|
||||||
EID.Config["CollectiblesOwned"] = EID.collectiblesOwned or {}
|
|
||||||
EID.Config["AbsorbedItems"] = EID.absorbedItems or {}
|
EID.Config["AbsorbedItems"] = EID.absorbedItems or {}
|
||||||
|
|
||||||
-- turn dictionary into list because json cant save dict indices.
|
-- turn dictionary into list because json cant save dict indices.
|
||||||
|
|||||||
Reference in new issue
Block a user