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},
+19 -1
View File
@@ -1,5 +1,5 @@
<AnimatedActor>
<Info CreatedBy="Unknown" CreatedOn="18-Aug-24 00:34:46" Version="203" Fps="30"/>
<Info CreatedBy="Unknown" CreatedOn="01.11.2024 20:46:37" Version="204" Fps="30"/>
<Content>
<Spritesheets>
<Spritesheet Path="eid_inline_icons.png" Id="0"/>
@@ -739,5 +739,23 @@
<NullAnimations/>
<Triggers/>
</Animation>
<Animation Name="DiceFaces" FrameNum="6" Loop="false">
<RootAnimation>
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
</RootAnimation>
<LayerAnimations>
<LayerAnimation LayerId="0" Visible="true">
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="0" YCrop="318" Width="14" Height="14" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="14" YCrop="318" Width="14" Height="14" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="28" YCrop="318" Width="14" Height="14" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="42" YCrop="318" Width="14" Height="14" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="56" YCrop="318" Width="14" Height="14" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="70" YCrop="318" Width="14" Height="14" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
</LayerAnimation>
<LayerAnimation LayerId="1" Visible="true"/>
</LayerAnimations>
<NullAnimations/>
<Triggers/>
</Animation>
</Animations>
</AnimatedActor>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 48 KiB