Added ID/Name display options for Spindown Dice list
This commit is contained in:
1 parent
5916f45c7a
commit
58dbbf8615
3 files changed
+29
-1
No files matched your search
@@ -323,6 +323,14 @@ EID.UserConfig = {
|
|||||||
-- REPENTANCE ONLY!!!
|
-- REPENTANCE ONLY!!!
|
||||||
-- Default = 3
|
-- Default = 3
|
||||||
["SpindownDiceResults"] = 3,
|
["SpindownDiceResults"] = 3,
|
||||||
|
-- Display IDs for Spindown Dice results
|
||||||
|
-- REPENTANCE ONLY!!!
|
||||||
|
-- Default = false
|
||||||
|
["SpindownDiceDisplayID"] = false,
|
||||||
|
-- Display names for Spindown Dice results
|
||||||
|
-- REPENTANCE ONLY!!!
|
||||||
|
-- Default = false
|
||||||
|
["SpindownDiceDisplayName"] = false,
|
||||||
-- Spindown Dice preview can skip over locked items, however the method for determining an item's locked status is not perfect
|
-- Spindown Dice preview can skip over locked items, however the method for determining an item's locked status is not perfect
|
||||||
-- REPENTANCE ONLY!!!
|
-- REPENTANCE ONLY!!!
|
||||||
-- Default = false
|
-- Default = false
|
||||||
@@ -429,6 +437,8 @@ EID.DefaultConfig = {
|
|||||||
["CraftingResultKey"] = Keyboard.KEY_F4,
|
["CraftingResultKey"] = Keyboard.KEY_F4,
|
||||||
["CraftingResultButton"] = -1,
|
["CraftingResultButton"] = -1,
|
||||||
["SpindownDiceResults"] = 3,
|
["SpindownDiceResults"] = 3,
|
||||||
|
["SpindownDiceDisplayID"] = false,
|
||||||
|
["SpindownDiceDisplayName"] = false,
|
||||||
["SpindownDiceSkipLocked"] = false,
|
["SpindownDiceSkipLocked"] = false,
|
||||||
["SaveGameNumber"] = 0,
|
["SaveGameNumber"] = 0,
|
||||||
["ItemCollectionColor"] = "ColorFade",
|
["ItemCollectionColor"] = "ColorFade",
|
||||||
|
|||||||
+13
-1
@@ -190,6 +190,18 @@ if REPENTANCE then
|
|||||||
if i == 1 then firstID = refID end
|
if i == 1 then firstID = refID end
|
||||||
EID:appendToDescription(descObj, "{{Collectible"..refID.."}}")
|
EID:appendToDescription(descObj, "{{Collectible"..refID.."}}")
|
||||||
if EID.itemUnlockStates[refID] == false then EID:appendToDescription(descObj, "?") end
|
if EID.itemUnlockStates[refID] == false then EID:appendToDescription(descObj, "?") end
|
||||||
|
if EID.Config["SpindownDiceDisplayID"] then
|
||||||
|
EID:appendToDescription(descObj, "/".. refID)
|
||||||
|
end
|
||||||
|
if EID.Config["SpindownDiceDisplayName"] then
|
||||||
|
EID:appendToDescription(descObj, "/".. EID:getObjectName(5, 100, refID))
|
||||||
|
if refID == 668 then break end
|
||||||
|
if i ~= EID.Config["SpindownDiceResults"] then
|
||||||
|
EID:appendToDescription(descObj, "#{{Blank}}")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if refID == 668 then break end -- Dad's Note is not affected by Spindown Dice
|
||||||
if i ~= EID.Config["SpindownDiceResults"] then
|
if i ~= EID.Config["SpindownDiceResults"] then
|
||||||
EID:appendToDescription(descObj, " ->")
|
EID:appendToDescription(descObj, " ->")
|
||||||
end
|
end
|
||||||
@@ -427,7 +439,7 @@ if REPENTANCE then
|
|||||||
if collectiblesOwned[706] or (EID.absorbedItems[706] and collectiblesOwned[477]) then table.insert(callbacks, AbyssCallback) end
|
if collectiblesOwned[706] or (EID.absorbedItems[706] and collectiblesOwned[477]) then table.insert(callbacks, AbyssCallback) end
|
||||||
|
|
||||||
if collectiblesOwned[711] and EID:getEntityData(descObj.Entity, "EID_FlipItemID") then table.insert(callbacks, FlipCallback) end
|
if collectiblesOwned[711] and EID:getEntityData(descObj.Entity, "EID_FlipItemID") then table.insert(callbacks, FlipCallback) end
|
||||||
if collectiblesOwned[723] or (EID.absorbedItems[723] and collectiblesOwned[477]) then table.insert(callbacks, SpindownDiceCallback) end
|
if (collectiblesOwned[723] or (EID.absorbedItems[723] and collectiblesOwned[477])) and descObj.ObjSubType ~= 668 then table.insert(callbacks, SpindownDiceCallback) end
|
||||||
|
|
||||||
-- Card / Rune Callbacks
|
-- Card / Rune Callbacks
|
||||||
elseif descObj.ObjVariant == PickupVariant.PICKUP_TAROTCARD then
|
elseif descObj.ObjVariant == PickupVariant.PICKUP_TAROTCARD then
|
||||||
|
|||||||
@@ -624,6 +624,12 @@ if MCMLoaded then
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
--
|
--
|
||||||
|
-- Display IDs for Spindown Dice results
|
||||||
|
EID:AddBooleanSetting("Display", "SpindownDiceDisplayID", "Display IDs",
|
||||||
|
{repOnly = true, infoText = "Display IDs for Spindown Dice results"})
|
||||||
|
-- Display names for Spindown Dice results
|
||||||
|
EID:AddBooleanSetting("Display", "SpindownDiceDisplayName", "Display names",
|
||||||
|
{repOnly = true, infoText = "Display names for Spindown Dice results"})
|
||||||
|
|
||||||
-- Spindown Dice skip locked items
|
-- Spindown Dice skip locked items
|
||||||
EID:AddBooleanSetting("Display", "SpindownDiceSkipLocked", "Skip Locked Items",
|
EID:AddBooleanSetting("Display", "SpindownDiceSkipLocked", "Skip Locked Items",
|
||||||
|
|||||||
Reference in new issue
Block a user