Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2663deafa0 | ||
|
|
b10a18c2b6 |
No files matched your search
@@ -1118,7 +1118,9 @@ function EID:createItemIconObject(str)
|
||||
if Type == 1 then return EID:getIcon("Player" .. Sub)
|
||||
elseif Type == 5 then
|
||||
local iconName = EID:GetIconNameByVariant(Var)
|
||||
return EID:createItemIconObject(iconName .. Sub)
|
||||
if iconName then
|
||||
return EID:createItemIconObject(iconName .. Sub)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2558,7 +2560,9 @@ function EID:getObjectIcon(descObj)
|
||||
|
||||
if descObj.ObjType == 5 then
|
||||
local iconName = EID:GetIconNameByVariant(descObj.ObjVariant)
|
||||
return EID:createItemIconObject(iconName .. descObj.ObjSubType)
|
||||
if iconName then
|
||||
return EID:createItemIconObject(iconName .. descObj.ObjSubType)
|
||||
end
|
||||
-- Handle Dice Room Floor
|
||||
elseif descObj.ObjType == 1000 and descObj.ObjVariant == 76 then
|
||||
---@diagnostic disable-next-line: return-type-mismatch
|
||||
@@ -2737,7 +2741,9 @@ function EID:GetIconStringByDescriptionObject(descObj)
|
||||
return "{{Player" .. (subType or "") .. "}}"
|
||||
elseif descObj.ObjType == 5 then
|
||||
local iconName = EID:GetIconNameByVariant(descObj.ObjVariant)
|
||||
return "{{" .. iconName .. subType .. "}}"
|
||||
if iconName then
|
||||
return "{{" .. iconName .. subType .. "}}"
|
||||
end
|
||||
elseif descObj.ObjType == 1000 and descObj.ObjVariant == 76 then
|
||||
return "{{DiceFace" .. subType .. "}}"
|
||||
end
|
||||
|
||||
@@ -12,8 +12,8 @@ EID.isRepentance = REPENTANCE or EID.isRepentancePlus -- REPENTANCE variable can
|
||||
require("eid_config")
|
||||
EID.Config = EID.UserConfig
|
||||
EID.Config.Version = "3.2" -- note: changing this will reset everyone's settings to default!
|
||||
EID.ModVersion = 4.90
|
||||
EID.ModVersionCommit = "830d7b7"
|
||||
EID.ModVersion = 4.91
|
||||
EID.ModVersionCommit = "b10a18c"
|
||||
EID.DefaultConfig.Version = EID.Config.Version
|
||||
EID.isHidden = false
|
||||
EID.player = nil -- The primary Player Entity of Player 1
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ There are multiple Versions of the mod, depending on which DLCs you have install
|
||||
[img]https://i.imgur.com/jrdGbna.png[/img]
|
||||
[url=https://github.com/wofsauge/External-Item-Descriptions/blob/master/CREDITS.md]Check out the credits here[/url]
|
||||
</description>
|
||||
<version>4.90</version>
|
||||
<version>4.91</version>
|
||||
<visibility>Public</visibility>
|
||||
<tag id="Lua"/>
|
||||
<tag id="Items"/>
|
||||
|
||||
Reference in new issue
Block a user