Added icons for dice room faces

This commit is contained in:
Wofsauge committed 2024-11-01 21:04:28 +01:00
1 parent 3b45af3a10
commit c647bb03ca
4 files changed
+30 -1

No files matched your search

+3
View File
@@ -2124,6 +2124,9 @@ function EID:getObjectIcon(descObj)
end
return EID:createItemIconObject("Pill" .. descObj.ObjSubType)
end
-- Handle Dice Room Floor
elseif descObj.ObjType == 1000 and descObj.ObjVariant == 76 then
return EID.InlineIcons["DiceFace" .. descObj.ObjSubType]
end
end
+8
View File
@@ -635,6 +635,14 @@ EID.InlineIcons = {
["MiddleWisp"] = {"Wisps", 1, 10, 9, 0, 2},
["OuterWisp"] = {"Wisps", 2, 10, 9, 0, 2},
-- Dice Faces
["DiceFace1"] = {"DiceFaces", 0, 14, 14, 0, -1},
["DiceFace2"] = {"DiceFaces", 1, 14, 14, 0, -1},
["DiceFace3"] = {"DiceFaces", 2, 14, 14, 0, -1},
["DiceFace4"] = {"DiceFaces", 3, 14, 14, 0, -1},
["DiceFace5"] = {"DiceFaces", 4, 14, 14, 0, -1},
["DiceFace6"] = {"DiceFaces", 5, 14, 14, 0, -1},
-- Misc
["HardMode"] = {"Misc", 0, 16, 12, 0, -2},
["GreedMode"] = {"Misc", 1, 16, 12, 0, -2},